org.bouncycastle.asn1.isismtt.ocsp
public class CertHash extends ASN1Encodable
CertHash ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
certificateHash OCTET STRING
}
| Constructor Summary | |
|---|---|
| CertHash(AlgorithmIdentifier hashAlgorithm, byte[] certificateHash)
Constructor from a given details.
| |
| Method Summary | |
|---|---|
| byte[] | getCertificateHash() |
| AlgorithmIdentifier | getHashAlgorithm() |
| static CertHash | getInstance(Object obj) |
| DERObject | toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
Parameters: hashAlgorithm The hash algorithm identifier. certificateHash The hash of the whole DER encoding of the certificate.
CertHash ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
certificateHash OCTET STRING
}
Returns: a DERObject