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, hashCode
public OtherHash(OtherHashAlgAndValue otherHash)
public OtherHash(byte[] sha1Hash)
public AlgorithmIdentifier getHashAlgorithm()
public byte[] getHashValue()
public DERObject toASN1Object()
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.