A Simple PKI Response is defined in RFC 5272 as a CMS SignedData object with no EncapsulatedContentInfo and no SignerInfos attached.
| Modifier and Type | Field and Description |
|---|---|
| private final CMSSignedData |
| Access | Constructor and Description |
|---|---|
| public | SimplePKIResponse(byte[]
BER/DER encoding of the certificate. responseEncoding)Create a SimplePKIResponse from the passed in bytes. |
| public | SimplePKIResponse(ContentInfo
a ContentInfo containing a SignedData. signedData)Create a SimplePKIResponse from the passed in ASN.1 structure. |
| Modifier and Type | Method and Description |
|---|---|
| public Store | Returns: a Store of X509CertificateHolder objects.Return any X.509 certificate objects in this SimplePKIResponse structure as a Store of X509CertificateHolder objects. |
| public Store | Returns: a Store of X509CRLHolder objects.Return any X.509 CRL objects in this SimplePKIResponse structure as a Store of X509CRLHolder objects. |
| public byte[] | getEncoded()
Implements org. return the ASN.1 encoded representation of this object. |
| private static ContentInfo |
| certificateResponse | back to summary |
|---|---|
| private final CMSSignedData certificateResponse | |
| SimplePKIResponse | back to summary |
|---|---|
| public SimplePKIResponse(byte[] responseEncoding) throws CMCException Create a SimplePKIResponse from the passed in bytes.
| |
| SimplePKIResponse | back to summary |
|---|---|
| public SimplePKIResponse(ContentInfo signedData) throws CMCException Create a SimplePKIResponse from the passed in ASN.1 structure.
| |
| getCertificates | back to summary |
|---|---|
| public Store Return any X.509 certificate objects in this SimplePKIResponse structure as a Store of X509CertificateHolder objects.
| |
| getCRLs | back to summary |
|---|---|
| public Store Return any X.509 CRL objects in this SimplePKIResponse structure as a Store of X509CRLHolder objects.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. return the ASN.1 encoded representation of this object.
| |
| parseBytes | back to summary |
|---|---|
| private static ContentInfo parseBytes(byte[] responseEncoding) throws CMCException | |