|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
org.bouncycastle.asn1.cmp.CMPCertificate
Constructor Summary | |
CMPCertificate(AttributeCertificate x509v2AttrCert)
Deprecated. use (type. otherCert) constructor |
|
CMPCertificate(Certificate x509v3PKCert)
|
|
CMPCertificate(int type,
ASN1Object otherCert)
Note: the addition of other certificates is a BC extension. |
Method Summary | |
static CMPCertificate |
getInstance(java.lang.Object o)
|
ASN1Object |
getOtherCert()
|
int |
getOtherCertTag()
|
AttributeCertificate |
getX509v2AttrCert()
Deprecated. use getOtherCert and getOtherTag to make sure message is really what it should be. |
Certificate |
getX509v3PKCert()
|
boolean |
isX509v3PKCert()
|
ASN1Primitive |
toASN1Primitive()
CMPCertificate ::= CHOICE { x509v3PKCert Certificate otherCert [tag] EXPLICIT ANY DEFINED BY tag } Note: the addition of the explicit tagging is a BC extension. |
Methods inherited from class org.bouncycastle.asn1.ASN1Object |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CMPCertificate(AttributeCertificate x509v2AttrCert)
public CMPCertificate(int type, ASN1Object otherCert)
type
- the type of the certificate (used as a tag value).otherCert
- the object representing the certificatepublic CMPCertificate(Certificate x509v3PKCert)
Method Detail |
public static CMPCertificate getInstance(java.lang.Object o)
public boolean isX509v3PKCert()
public Certificate getX509v3PKCert()
public AttributeCertificate getX509v2AttrCert()
public int getOtherCertTag()
public ASN1Object getOtherCert()
public ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
toASN1Primitive
in class ASN1Object
|
Bouncy Castle Cryptography Library 1.64 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |