public class

OtherHash

extends ASN1Encodable
implements ASN1Choice
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.esf.OtherHash

Class Overview

 OtherHash ::= CHOICE {
    sha1Hash  OtherHashValue, -- This contains a SHA-1 hash
   otherHash  OtherHashAlgAndValue
  }
 

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
OtherHash(OtherHashAlgAndValue otherHash)
OtherHash(byte[] sha1Hash)
Public Methods
AlgorithmIdentifier getHashAlgorithm()
byte[] getHashValue()
static OtherHash getInstance(Object obj)
DERObject toASN1Object()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public OtherHash (OtherHashAlgAndValue otherHash)

public OtherHash (byte[] sha1Hash)

Public Methods

public AlgorithmIdentifier getHashAlgorithm ()

public byte[] getHashValue ()

public static OtherHash getInstance (Object obj)

public DERObject toASN1Object ()