Top Fields Constructors Methods
org.bouncycastle.asn1.esf

public Class OtherHashAlgAndValue

extends ASN1Object
Class Inheritance
Imports
org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Object, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .DERSequence, org.bouncycastle.asn1.x509.AlgorithmIdentifier

Field Summary

Modifier and TypeField and Description
private AlgorithmIdentifier
private ASN1OctetString

Constructor Summary

AccessConstructor and Description
private
public

Method Summary

Modifier and TypeMethod and Description
public AlgorithmIdentifier
public ASN1OctetString
public static OtherHashAlgAndValue
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

OtherHashAlgAndValue ::= SEQUENCE {
    hashAlgorithm AlgorithmIdentifier,
    hashValue OtherHashValue }

OtherHashValue ::= OCTET STRING
Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

hashAlgorithmback to summary
private AlgorithmIdentifier hashAlgorithm
hashValueback to summary
private ASN1OctetString hashValue

Constructor Detail

OtherHashAlgAndValueback to summary
private OtherHashAlgAndValue(ASN1Sequence seq)
OtherHashAlgAndValueback to summary
public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, ASN1OctetString hashValue)

Method Detail

getHashAlgorithmback to summary
public AlgorithmIdentifier getHashAlgorithm()
getHashValueback to summary
public ASN1OctetString getHashValue()
getInstanceback to summary
public static OtherHashAlgAndValue getInstance(Object obj)
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

OtherHashAlgAndValue ::= SEQUENCE {
    hashAlgorithm AlgorithmIdentifier,
    hashValue OtherHashValue }

OtherHashValue ::= OCTET STRING
Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.