Class SignatureAlgorithm
Inheritance
SignatureAlgorithm
Assembly: Lacuna.Pki.dll
Syntax
public abstract class SignatureAlgorithm
Fields
MD5WithRSA
Declaration
public static readonly SignatureAlgorithm MD5WithRSA
Field Value
SHA1WithDSA
Declaration
public static readonly SignatureAlgorithm SHA1WithDSA
Field Value
SHA1WithRSA
Declaration
public static readonly SignatureAlgorithm SHA1WithRSA
Field Value
SHA256WithDSA
Declaration
public static readonly SignatureAlgorithm SHA256WithDSA
Field Value
SHA256WithRSA
Declaration
public static readonly SignatureAlgorithm SHA256WithRSA
Field Value
SHA384WithRSA
Declaration
public static readonly SignatureAlgorithm SHA384WithRSA
Field Value
SHA512WithRSA
Declaration
public static readonly SignatureAlgorithm SHA512WithRSA
Field Value
Properties
DigestAlgorithm
Declaration
public abstract DigestAlgorithm DigestAlgorithm { get; }
Property Value
Name
Declaration
public abstract string Name { get; }
Property Value
Oid
Declaration
public abstract string Oid { get; }
Property Value
PKAlgorithm
Declaration
public abstract PKAlgorithm PKAlgorithm { get; }
Property Value
XmlUri
Declaration
public abstract string XmlUri { get; }
Property Value
Methods
Equals(SignatureAlgorithm)
Declaration
public bool Equals(SignatureAlgorithm other)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
GetCsp(PublicKey)
Declaration
public abstract ISignatureCsp GetCsp(PublicKey publicKey)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetInstanceByName(String)
Declaration
public static SignatureAlgorithm GetInstanceByName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
GetInstanceByOid(String)
Declaration
public static SignatureAlgorithm GetInstanceByOid(string oid)
Parameters
Type |
Name |
Description |
String |
oid |
|
Returns
GetInstanceByXmlUri(String)
Declaration
public static SignatureAlgorithm GetInstanceByXmlUri(string xmlUri)
Parameters
Type |
Name |
Description |
String |
xmlUri |
|
Returns
VerifyData(PublicKey, Byte[], Byte[])
Declaration
public bool VerifyData(PublicKey publicKey, byte[] dataSigned, byte[] signature)
Parameters
Returns
VerifyHash(PublicKey, Byte[], Byte[])
Declaration
public bool VerifyHash(PublicKey publicKey, byte[] hashSigned, byte[] signature)
Parameters
Returns
Operators
Equality(SignatureAlgorithm, SignatureAlgorithm)
Declaration
public static bool operator ==(SignatureAlgorithm a, SignatureAlgorithm b)
Parameters
Returns
Inequality(SignatureAlgorithm, SignatureAlgorithm)
Declaration
public static bool operator !=(SignatureAlgorithm a, SignatureAlgorithm b)
Parameters
Returns