Show / Hide Table of Contents

Class SignatureAlgorithm

Inheritance
Object
SignatureAlgorithm
Inherited Members
Object.ToString()
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetType()
Object.MemberwiseClone()
Namespace: Lacuna.Pki
Assembly: Lacuna.Pki.dll
Syntax
public abstract class SignatureAlgorithm

Fields

MD5WithRSA

Declaration
public static readonly SignatureAlgorithm MD5WithRSA
Field Value
Type Description
SignatureAlgorithm

SHA1WithDSA

Declaration
public static readonly SignatureAlgorithm SHA1WithDSA
Field Value
Type Description
SignatureAlgorithm

SHA1WithRSA

Declaration
public static readonly SignatureAlgorithm SHA1WithRSA
Field Value
Type Description
SignatureAlgorithm

SHA256WithDSA

Declaration
public static readonly SignatureAlgorithm SHA256WithDSA
Field Value
Type Description
SignatureAlgorithm

SHA256WithRSA

Declaration
public static readonly SignatureAlgorithm SHA256WithRSA
Field Value
Type Description
SignatureAlgorithm

SHA384WithRSA

Declaration
public static readonly SignatureAlgorithm SHA384WithRSA
Field Value
Type Description
SignatureAlgorithm

SHA512WithRSA

Declaration
public static readonly SignatureAlgorithm SHA512WithRSA
Field Value
Type Description
SignatureAlgorithm

Properties

DigestAlgorithm

Declaration
public abstract DigestAlgorithm DigestAlgorithm { get; }
Property Value
Type Description
DigestAlgorithm

Name

Declaration
public abstract string Name { get; }
Property Value
Type Description
String

Oid

Declaration
public abstract string Oid { get; }
Property Value
Type Description
String

PKAlgorithm

Declaration
public abstract PKAlgorithm PKAlgorithm { get; }
Property Value
Type Description
PKAlgorithm

XmlUri

Declaration
public abstract string XmlUri { get; }
Property Value
Type Description
String

Methods

Equals(SignatureAlgorithm)

Declaration
public bool Equals(SignatureAlgorithm other)
Parameters
Type Name Description
SignatureAlgorithm other
Returns
Type Description
Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)

GetCsp(PublicKey)

Declaration
public abstract ISignatureCsp GetCsp(PublicKey publicKey)
Parameters
Type Name Description
PublicKey publicKey
Returns
Type Description
ISignatureCsp

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()

GetInstanceByName(String)

Declaration
public static SignatureAlgorithm GetInstanceByName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
SignatureAlgorithm

GetInstanceByOid(String)

Declaration
public static SignatureAlgorithm GetInstanceByOid(string oid)
Parameters
Type Name Description
String oid
Returns
Type Description
SignatureAlgorithm

GetInstanceByXmlUri(String)

Declaration
public static SignatureAlgorithm GetInstanceByXmlUri(string xmlUri)
Parameters
Type Name Description
String xmlUri
Returns
Type Description
SignatureAlgorithm

VerifyData(PublicKey, Byte[], Byte[])

Declaration
public bool VerifyData(PublicKey publicKey, byte[] dataSigned, byte[] signature)
Parameters
Type Name Description
PublicKey publicKey
Byte[] dataSigned
Byte[] signature
Returns
Type Description
Boolean

VerifyHash(PublicKey, Byte[], Byte[])

Declaration
public bool VerifyHash(PublicKey publicKey, byte[] hashSigned, byte[] signature)
Parameters
Type Name Description
PublicKey publicKey
Byte[] hashSigned
Byte[] signature
Returns
Type Description
Boolean

Operators

Equality(SignatureAlgorithm, SignatureAlgorithm)

Declaration
public static bool operator ==(SignatureAlgorithm a, SignatureAlgorithm b)
Parameters
Type Name Description
SignatureAlgorithm a
SignatureAlgorithm b
Returns
Type Description
Boolean

Inequality(SignatureAlgorithm, SignatureAlgorithm)

Declaration
public static bool operator !=(SignatureAlgorithm a, SignatureAlgorithm b)
Parameters
Type Name Description
SignatureAlgorithm a
SignatureAlgorithm b
Returns
Type Description
Boolean
Back to top Copyright © 2015-2020 Lacuna Software