Bouncy Castle Cryptography 1.46

org.bouncycastle.asn1.esf
Class OtherHashAlgAndValue

java.lang.Object
  extended by org.bouncycastle.asn1.ASN1Encodable
      extended by org.bouncycastle.asn1.esf.OtherHashAlgAndValue
All Implemented Interfaces:
DEREncodable

public class OtherHashAlgAndValue
extends ASN1Encodable


Field Summary
 
Fields inherited from class org.bouncycastle.asn1.ASN1Encodable
BER, DER
 
Constructor Summary
OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, ASN1OctetString hashValue)
           
 
Method Summary
 AlgorithmIdentifier getHashAlgorithm()
           
 ASN1OctetString getHashValue()
           
static OtherHashAlgAndValue getInstance(java.lang.Object obj)
           
 DERObject toASN1Object()
           OtherHashAlgAndValue ::= SEQUENCE { hashAlgorithm AlgorithmIdentifier, hashValue OtherHashValue } OtherHashValue ::= OCTET STRING
 
Methods inherited from class org.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OtherHashAlgAndValue

public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm,
                            ASN1OctetString hashValue)
Method Detail

getInstance

public static OtherHashAlgAndValue getInstance(java.lang.Object obj)

getHashAlgorithm

public AlgorithmIdentifier getHashAlgorithm()

getHashValue

public ASN1OctetString getHashValue()

toASN1Object

public DERObject toASN1Object()
 OtherHashAlgAndValue ::= SEQUENCE {
     hashAlgorithm AlgorithmIdentifier,
     hashValue OtherHashValue }

 OtherHashValue ::= OCTET STRING
 

Specified by:
toASN1Object in class ASN1Encodable

Bouncy Castle Cryptography 1.46