public class OtherHash extends ASN1Encodable implements ASN1Choice
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue
}
BER, DER| Constructor and Description |
|---|
OtherHash(byte[] sha1Hash) |
OtherHash(OtherHashAlgAndValue otherHash) |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmIdentifier |
getHashAlgorithm() |
byte[] |
getHashValue() |
static OtherHash |
getInstance(Object obj) |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic OtherHash(OtherHashAlgAndValue otherHash)
public OtherHash(byte[] sha1Hash)
public AlgorithmIdentifier getHashAlgorithm()
public byte[] getHashValue()
public DERObject toASN1Object()
toASN1Object in class ASN1EncodableCopyright © 2015. All rights reserved.