public class CertHash extends ASN1Encodable
CertHash ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
certificateHash OCTET STRING
}
BER, DER| Constructor and Description |
|---|
CertHash(AlgorithmIdentifier hashAlgorithm,
byte[] certificateHash)
Constructor from a given details.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCertificateHash() |
AlgorithmIdentifier |
getHashAlgorithm() |
static CertHash |
getInstance(Object obj) |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic CertHash(AlgorithmIdentifier hashAlgorithm, byte[] certificateHash)
hashAlgorithm - The hash algorithm identifier.certificateHash - The hash of the whole DER encoding of the certificate.public AlgorithmIdentifier getHashAlgorithm()
public byte[] getCertificateHash()
public DERObject toASN1Object()
CertHash ::= SEQUENCE {
hashAlgorithm AlgorithmIdentifier,
certificateHash OCTET STRING
}
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.