OtherHash Class

Definition

Namespace: Org.BouncyCastle.Asn1.Esf
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
Inheritance
Object    Asn1Encodable    OtherHash
Implements
IAsn1Choice

Remarks

C#
OtherHash ::= CHOICE {
    sha1Hash    OtherHashValue, -- This contains a SHA-1 hash
    otherHash    OtherHashAlgAndValue
}

OtherHashValue ::= OCTET STRING

Constructors

OtherHash(Asn1OctetString)Initializes a new instance of the OtherHash class
OtherHash(Byte)Initializes a new instance of the OtherHash class
OtherHash(OtherHashAlgAndValue)Initializes a new instance of the OtherHash class

Properties

Methods

EncodeTo(Stream)
(Inherited from Asn1Encodable)
EncodeTo(Stream, String)
(Inherited from Asn1Encodable)
Equals
(Inherited from Asn1Encodable)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetDerEncoded
(Inherited from Asn1Encodable)
GetEncoded
(Inherited from Asn1Encodable)
GetEncoded(String)
(Inherited from Asn1Encodable)
GetHashCode
(Inherited from Asn1Encodable)
GetHashValue 
GetInstance 
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToAsn1Object
(Overrides Asn1EncodableToAsn1Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also