org.bouncycastle.asn1.esf

Class OtherHashAlgAndValue

Implemented Interfaces:
DEREncodable

public class OtherHashAlgAndValue
extends ASN1Encodable

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

OtherHashAlgAndValue(ASN1Sequence seq)
OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, ASN1OctetString hashValue)

Method Summary

AlgorithmIdentifier
getHashAlgorithm()
ASN1OctetString
getHashValue()
static OtherHashAlgAndValue
getInstance(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, toASN1Object

Constructor Details

OtherHashAlgAndValue

public OtherHashAlgAndValue(ASN1Sequence seq)

OtherHashAlgAndValue

public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm,
                            ASN1OctetString hashValue)

Method Details

getHashAlgorithm

public AlgorithmIdentifier getHashAlgorithm()

getHashValue

public ASN1OctetString getHashValue()

getInstance

public static OtherHashAlgAndValue getInstance(Object obj)

toASN1Object

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

 OtherHashValue ::= OCTET STRING
 
Overrides:
toASN1Object in interface ASN1Encodable