org.bouncycastle.asn1.cmp

Class OOBCertHash

Implemented Interfaces:
DEREncodable

public class OOBCertHash
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Method Summary

CertId
getCertId()
AlgorithmIdentifier
getHashAlg()
static OOBCertHash
getInstance(Object o)
DERObject
toASN1Object()
 OOBCertHash ::= SEQUENCE {
                      hashAlg     [0] AlgorithmIdentifier     OPTIONAL,
                      certId      [1] CertId                  OPTIONAL,
                      hashVal         BIT STRING
                      -- hashVal is calculated over the DER encoding of the
                      -- self-signed certificate with the identifier certID.

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Method Details

getCertId

public CertId getCertId()

getHashAlg

public AlgorithmIdentifier getHashAlg()

getInstance

public static OOBCertHash getInstance(Object o)

toASN1Object

public DERObject toASN1Object()
 OOBCertHash ::= SEQUENCE {
                      hashAlg     [0] AlgorithmIdentifier     OPTIONAL,
                      certId      [1] CertId                  OPTIONAL,
                      hashVal         BIT STRING
                      -- hashVal is calculated over the DER encoding of the
                      -- self-signed certificate with the identifier certID.
       }
 
Overrides:
toASN1Object in interface ASN1Encodable
Returns:
a basic ASN.1 object representation.