public class CMPCertificate extends ASN1Object implements ASN1Choice
Constructor and Description |
---|
CMPCertificate(AttributeCertificate x509v2AttrCert)
Note: the addition of attribute certificates is a BC extension.
|
CMPCertificate(Certificate x509v3PKCert) |
Modifier and Type | Method and Description |
---|---|
static CMPCertificate |
getInstance(java.lang.Object o) |
AttributeCertificate |
getX509v2AttrCert() |
Certificate |
getX509v3PKCert() |
boolean |
isX509v3PKCert() |
ASN1Primitive |
toASN1Primitive()
CMPCertificate ::= CHOICE {
x509v3PKCert Certificate
x509v2AttrCert [1] AttributeCertificate
}
Note: the addition of attribute certificates is a BC extension.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object
public CMPCertificate(AttributeCertificate x509v2AttrCert)
public CMPCertificate(Certificate x509v3PKCert)
public static CMPCertificate getInstance(java.lang.Object o)
public boolean isX509v3PKCert()
public Certificate getX509v3PKCert()
public AttributeCertificate getX509v2AttrCert()
public ASN1Primitive toASN1Primitive()
CMPCertificate ::= CHOICE { x509v3PKCert Certificate x509v2AttrCert [1] AttributeCertificate }Note: the addition of attribute certificates is a BC extension.
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object