public class CertConfirmContent extends java.lang.Object implements ASN1Type
CertConfirmContent ::= SEQUENCE OF CertStatus
CertStatus ::= SEQUENCE {
certHash OCTET STRING,
certReqId INTEGER,
statusInfo PKIStatusInfo OPTIONAL
}
| Constructor and Description |
|---|
CertConfirmContent(ASN1Object obj)
Constructor for the CertConfirmContent object.
|
CertConfirmContent(CertStatus[] certstatus)
Constructor for the CertConfirmContent object.
|
CertConfirmContent(X509Certificate cert,
java.math.BigInteger certRequestId,
PKIStatusInfo statusInfo)
Constructor for the CertConfirmContent object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
decode(ASN1Object obj)
Decodes this CertConfirmContent Object
|
CertStatus[] |
getCertConfirmContent() |
ASN1Object |
toASN1Object()
Encodes this
CertConfirmContent object as an
ASN1Object. |
public CertConfirmContent(X509Certificate cert, java.math.BigInteger certRequestId, PKIStatusInfo statusInfo) throws java.security.NoSuchAlgorithmException
CertStatus ::= SEQUENCE {
certHash OCTET STRING,
-- the hash of the certificate, using the same hash algorithm
-- as is used to create and verify the certificate signature
cert - The X509Certificate used to compute the hashcertRequestId - The certificate request IdstatusInfo - The optional PKIStatusInfojava.security.NoSuchAlgorithmExceptionpublic CertConfirmContent(CertStatus[] certstatus)
certstatus - An array of Certificate status objectspublic CertConfirmContent(ASN1Object obj) throws CodingException
obj - the ASN1 objectCodingExceptionpublic CertStatus[] getCertConfirmContent()
public ASN1Object toASN1Object()
CertConfirmContent object as an
ASN1Object.toASN1Object in interface ASN1Typepublic void decode(ASN1Object obj) throws CodingException
decode in interface ASN1Typeobj - the ASN.1 type as ASN1ObjectCodingException - if the ASN1Object could not be parsed