public class OtherHash
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
OtherHash ::= CHOICE {
sha1Hash OtherHashValue, -- This contains a SHA-1 hash
otherHash OtherHashAlgAndValue
}
| Constructor and Description |
|---|
OtherHash(byte[] sha1Hash) |
OtherHash(OtherHashAlgAndValue otherHash) |
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getHashAlgorithm() |
byte[] |
getHashValue() |
static OtherHash |
getInstance(java.lang.Object obj) |
org.bouncycastle.asn1.ASN1Primitive |
toASN1Primitive() |
public OtherHash(OtherHashAlgAndValue otherHash)
public OtherHash(byte[] sha1Hash)
public static OtherHash getInstance(java.lang.Object obj)
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getHashAlgorithm()
public byte[] getHashValue()
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()
toASN1Primitive in interface org.bouncycastle.asn1.ASN1EncodabletoASN1Primitive in class org.bouncycastle.asn1.ASN1Object