org.bouncycastle.asn1.esf
Class OtherHash
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.esf.OtherHash
- All Implemented Interfaces:
- ASN1Choice, DEREncodable
public class OtherHash
- extends ASN1Encodable
- implements ASN1Choice
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue
}
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
OtherHash
public OtherHash(OtherHashAlgAndValue otherHash)
OtherHash
public OtherHash(byte[] sha1Hash)
getInstance
public static OtherHash getInstance(java.lang.Object obj)
getHashAlgorithm
public AlgorithmIdentifier getHashAlgorithm()
getHashValue
public byte[] getHashValue()
toASN1Object
public DERObject toASN1Object()
- Specified by:
toASN1Object
in class ASN1Encodable