| Modifier and Type | Field and Description |
|---|---|
| private ASN1Object | |
| private int | |
| private Certificate |
| Access | Constructor and Description |
|---|---|
| public | CMPCertificate(AttributeCertificate x509v2AttrCert)
Deprecated
use (type, otherCert) constructor
Note the addition of attribute certificates is a BC extension. |
| public | CMPCertificate(int
the type of the certificate (used as a tag value). type, ASN1Object the object representing the certificate otherCert)Note the addition of other certificates is a BC extension. |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CMPCertificate | |
| public static CMPCertificate | |
| public ASN1Object | |
| public int | |
| public AttributeCertificate | Returns: an AttributeCertificate
Deprecated
use getOtherCert and getOtherTag to make sure message is really what it should be.
Return an AttributeCertificate interpretation of otherCert. |
| public Certificate | |
| public boolean | |
| public ASN1Primitive | Returns: a basic ASN.1 object representation.Implements abstract org. Implements org.
CMPCertificate ::= CHOICE {
x509v3PKCert Certificate
otherCert [tag] EXPLICIT ANY DEFINED BY tag
}
|
| otherCert | back to summary |
|---|---|
| private ASN1Object otherCert | |
| otherTagValue | back to summary |
|---|---|
| private int otherTagValue | |
| x509v3PKCert | back to summary |
|---|---|
| private Certificate x509v3PKCert | |
| CMPCertificate | back to summary |
|---|---|
| public CMPCertificate(AttributeCertificate x509v2AttrCert)
Deprecated use (type, otherCert) constructor Note the addition of attribute certificates is a BC extension. If you use this constructor they will be added with a tag value of 1. | |
| CMPCertificate | back to summary |
|---|---|
| public CMPCertificate(int type, ASN1Object otherCert) Note the addition of other certificates is a BC extension. If you use this constructor they will be added with an explicit tag value of type.
| |
| CMPCertificate | back to summary |
|---|---|
| public CMPCertificate(Certificate x509v3PKCert) | |
| getInstance | back to summary |
|---|---|
| public static CMPCertificate getInstance(ASN1TaggedObject ato, boolean isExplicit) | |
| getInstance | back to summary |
|---|---|
| public static CMPCertificate getInstance(Object o) | |
| getOtherCert | back to summary |
|---|---|
| public ASN1Object getOtherCert() | |
| getOtherCertTag | back to summary |
|---|---|
| public int getOtherCertTag() | |
| getX509v2AttrCert | back to summary |
|---|---|
| public AttributeCertificate getX509v2AttrCert()
Deprecated use getOtherCert and getOtherTag to make sure message is really what it should be. Return an AttributeCertificate interpretation of otherCert.
| |
| getX509v3PKCert | back to summary |
|---|---|
| public Certificate getX509v3PKCert() | |
| isX509v3PKCert | back to summary |
|---|---|
| public boolean isX509v3PKCert() | |
| toASN1Primitive | back to summary |
|---|---|
| public ASN1Primitive toASN1Primitive() Implements abstract org. Implements org.
CMPCertificate ::= CHOICE {
x509v3PKCert Certificate
otherCert [tag] EXPLICIT ANY DEFINED BY tag
}
Note: the addition of the explicit tagging is a BC extension. We apologise for the warped syntax, but hopefully you get the idea.
| |