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
hashAlgorithmAlgorithmIdentifierhashValueAsn1OctetString
OtherHashAlgAndValue(AlgorithmIdentifier, byte[])
public OtherHashAlgAndValue(AlgorithmIdentifier hashAlgorithm, byte[] hashValue)
Parameters
hashAlgorithmAlgorithmIdentifierhashValuebyte[]
Properties
HashAlgorithm
public AlgorithmIdentifier HashAlgorithm { get; }
Property Value
Methods
GetHashValue()
public byte[] GetHashValue()
Returns
- byte[]
GetInstance(Asn1TaggedObject, bool)
public static OtherHashAlgAndValue GetInstance(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObjectAsn1TaggedObjectdeclaredExplicitbool
Returns
GetInstance(object)
public static OtherHashAlgAndValue GetInstance(object obj)
Parameters
objobject
Returns
GetOptional(Asn1Encodable)
public static OtherHashAlgAndValue GetOptional(Asn1Encodable element)
Parameters
elementAsn1Encodable
Returns
GetTagged(Asn1TaggedObject, bool)
public static OtherHashAlgAndValue GetTagged(Asn1TaggedObject taggedObject, bool declaredExplicit)
Parameters
taggedObjectAsn1TaggedObjectdeclaredExplicitbool
Returns
ToAsn1Object()
public override Asn1Object ToAsn1Object()