C# Class EU.Europa.EC.Markt.Dss.DigestAlgorithm

Supported Algorithms
Show file Open project: nonorganic/dssnet Class Usage Examples

Public Properties

Property Type Description
SHA1 EU.Europa.EC.Markt.Dss.DigestAlgorithm
SHA256 EU.Europa.EC.Markt.Dss.DigestAlgorithm
SHA512 EU.Europa.EC.Markt.Dss.DigestAlgorithm

Public Methods

Method Description
Equals ( object obj ) : bool
GetAlgorithmIdentifier ( ) : AlgorithmIdentifier

Gets the ASN.1 algorithm identifier structure corresponding to this digest algorithm

GetByName ( string algoName ) : EU.Europa.EC.Markt.Dss.DigestAlgorithm

Return the algorithm corresponding to the name

GetHashCode ( ) : int
GetName ( ) : string
GetOid ( ) : string
GetXmlId ( ) : string

Private Methods

Method Description
DigestAlgorithm ( string name, string oid, string xmlId ) : Org.BouncyCastle.Asn1

Method Details

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetAlgorithmIdentifier() public method

Gets the ASN.1 algorithm identifier structure corresponding to this digest algorithm
public GetAlgorithmIdentifier ( ) : AlgorithmIdentifier
return Org.BouncyCastle.Asn1.X509.AlgorithmIdentifier

GetByName() public static method

Return the algorithm corresponding to the name
Sharpen.NoSuchAlgorithmException ///
public static GetByName ( string algoName ) : EU.Europa.EC.Markt.Dss.DigestAlgorithm
algoName string
return EU.Europa.EC.Markt.Dss.DigestAlgorithm

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetName() public method

public GetName ( ) : string
return string

GetOid() public method

public GetOid ( ) : string
return string

GetXmlId() public method

public GetXmlId ( ) : string
return string

Property Details

SHA1 public static property

public static EU.Europa.EC.Markt.Dss.DigestAlgorithm SHA1
return EU.Europa.EC.Markt.Dss.DigestAlgorithm

SHA256 public static property

public static EU.Europa.EC.Markt.Dss.DigestAlgorithm SHA256
return EU.Europa.EC.Markt.Dss.DigestAlgorithm

SHA512 public static property

public static EU.Europa.EC.Markt.Dss.DigestAlgorithm SHA512
return EU.Europa.EC.Markt.Dss.DigestAlgorithm