org.bouncycastle.asn1.cmp
Class CMPCertificate
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.cmp.CMPCertificate
- All Implemented Interfaces:
- ASN1Choice, DEREncodable
public class CMPCertificate
- extends ASN1Encodable
- implements ASN1Choice
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
CMPCertificate
public CMPCertificate(AttributeCertificate x509v2AttrCert)
- Note: the addition of attribute certificates is a BC extension.
CMPCertificate
public CMPCertificate(X509CertificateStructure x509v3PKCert)
getInstance
public static CMPCertificate getInstance(java.lang.Object o)
isX509v3PKCert
public boolean isX509v3PKCert()
getX509v3PKCert
public X509CertificateStructure getX509v3PKCert()
getX509v2AttrCert
public AttributeCertificate getX509v2AttrCert()
toASN1Object
public DERObject toASN1Object()
CMPCertificate ::= CHOICE {
x509v3PKCert Certificate
x509v2AttrCert [1] AttributeCertificate
}
Note: the addition of attribute certificates is a BC extension.
- Specified by:
toASN1Object
in class ASN1Encodable
- Returns:
- a basic ASN.1 object representation.