Table of Contents

Class OtherHashAlgAndValue

Namespace
Org.BouncyCastle.Asn1.Esf
Assembly
BouncyCastle.Cryptography.dll

Summary description for OtherHashAlgAndValue.

public class OtherHashAlgAndValue : Asn1Encodable, IAsn1Convertible
Inheritance
OtherHashAlgAndValue
Implements
Inherited Members

Remarks

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

OtherHashValue ::= OCTET STRING

Constructors

OtherHashAlgAndValue(AlgorithmIdentifier, Asn1OctetString)

public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, Asn1OctetString hashValue)

Parameters

hashAlgorithm AlgorithmIdentifier
hashValue Asn1OctetString

OtherHashAlgAndValue(AlgorithmIdentifier, byte[])

public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, byte[] hashValue)

Parameters

hashAlgorithm AlgorithmIdentifier
hashValue byte[]

Properties

HashAlgorithm

public AlgorithmIdentifier HashAlgorithm { get; }

Property Value

AlgorithmIdentifier

Methods

GetHashValue()

public byte[] GetHashValue()

Returns

byte[]

GetInstance(Asn1TaggedObject, bool)

public static OtherHashAlgAndValue GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

OtherHashAlgAndValue

GetInstance(object)

public static OtherHashAlgAndValue GetInstance(object obj)

Parameters

obj object

Returns

OtherHashAlgAndValue

GetOptional(Asn1Encodable)

public static OtherHashAlgAndValue GetOptional(Asn1Encodable element)

Parameters

element Asn1Encodable

Returns

OtherHashAlgAndValue

GetTagged(Asn1TaggedObject, bool)

public static OtherHashAlgAndValue GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)

Parameters

taggedObject Asn1TaggedObject
declaredExplicit bool

Returns

OtherHashAlgAndValue

ToAsn1Object()

public override Asn1Object ToAsn1Object()

Returns

Asn1Object