package org.bouncycastle.cert.crmf; | |
import org.bouncycastle.asn1.ASN1Encodable; | |
import org.bouncycastle.asn1.ASN1ObjectIdentifier; | |
/** | |
* Generic interface for a CertificateRequestMessage control value. | |
*/ | |
public interface Control | |
{ | |
/** | |
* Return the type of this control. | |
* | |
* @return an ASN1ObjectIdentifier representing the type. | |
*/ | |
ASN1ObjectIdentifier getType(); | |
/** | |
* Return the value contained in this control object. | |
* | |
* @return the value of the control. | |
*/ | |
ASN1Encodable getValue(); | |
} |