C# Class Org.BouncyCastle.Asn1.Esf.OtherHash

OtherHash ::= CHOICE { sha1Hash OtherHashValue, -- This contains a SHA-1 hash otherHash OtherHashAlgAndValue } OtherHashValue ::= OCTET STRING
Inheritance: Asn1Encodable, IAsn1Choice
Mostra file Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
GetHashValue ( ) : byte[]
GetInstance ( object obj ) : OtherHash
OtherHash ( Asn1OctetString sha1Hash ) : System
OtherHash ( OtherHashAlgAndValue otherHash ) : System
OtherHash ( byte sha1Hash ) : System
ToAsn1Object ( ) : Asn1Object

Method Details

GetHashValue() public method

public GetHashValue ( ) : byte[]
return byte[]

GetInstance() public static method

public static GetInstance ( object obj ) : OtherHash
obj object
return OtherHash

OtherHash() public method

public OtherHash ( Asn1OctetString sha1Hash ) : System
sha1Hash Asn1OctetString
return System

OtherHash() public method

public OtherHash ( OtherHashAlgAndValue otherHash ) : System
otherHash OtherHashAlgAndValue
return System

OtherHash() public method

public OtherHash ( byte sha1Hash ) : System
sha1Hash byte
return System

ToAsn1Object() public method

public ToAsn1Object ( ) : Asn1Object
return Asn1Object