Show / Hide Table of Contents
Editar no GitHub

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

| Improve this Doc View Source

MD5WithRSA

Declaration
public static readonly SignatureAlgorithm MD5WithRSA
Field Value
Type Description
SignatureAlgorithm
| Improve this Doc View Source

SHA1WithDSA

Declaration
public static readonly SignatureAlgorithm SHA1WithDSA
Field Value
Type Description
SignatureAlgorithm
| Improve this Doc View Source

SHA1WithRSA

Declaration
public static readonly SignatureAlgorithm SHA1WithRSA
Field Value
Type Description
SignatureAlgorithm
| Improve this Doc View Source

SHA256WithDSA

Declaration
public static readonly SignatureAlgorithm SHA256WithDSA
Field Value
Type Description
SignatureAlgorithm
| Improve this Doc View Source

SHA256WithRSA

Declaration
public static readonly SignatureAlgorithm SHA256WithRSA
Field Value
Type Description
SignatureAlgorithm
| Improve this Doc View Source

SHA384WithRSA

Declaration
public static readonly SignatureAlgorithm SHA384WithRSA
Field Value
Type Description
SignatureAlgorithm
| Improve this Doc View Source

SHA512WithRSA

Declaration
public static readonly SignatureAlgorithm SHA512WithRSA
Field Value
Type Description
SignatureAlgorithm

Properties

| Improve this Doc View Source

DigestAlgorithm

Declaration
public abstract DigestAlgorithm DigestAlgorithm { get; }
Property Value
Type Description
DigestAlgorithm
| Improve this Doc View Source

Name

Declaration
public abstract string Name { get; }
Property Value
Type Description
String
| Improve this Doc View Source

Oid

Declaration
public abstract string Oid { get; }
Property Value
Type Description
String
| Improve this Doc View Source

PKAlgorithm

Declaration
public abstract PKAlgorithm PKAlgorithm { get; }
Property Value
Type Description
PKAlgorithm
| Improve this Doc View Source

XmlUri

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

Methods

| Improve this Doc View Source

Equals(SignatureAlgorithm)

Declaration
public bool Equals(SignatureAlgorithm other)
Parameters
Type Name Description
SignatureAlgorithm other
Returns
Type Description
Boolean
| Improve this Doc View Source

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
Object obj
Returns
Type Description
Boolean
Overrides
Object.Equals(Object)
| Improve this Doc View Source

GetCsp(PublicKey)

Declaration
public abstract ISignatureCsp GetCsp(PublicKey publicKey)
Parameters
Type Name Description
PublicKey publicKey
Returns
Type Description
ISignatureCsp
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
Int32
Overrides
Object.GetHashCode()
| Improve this Doc View Source

GetInstanceByName(String)

Declaration
public static SignatureAlgorithm GetInstanceByName(string name)
Parameters
Type Name Description
String name
Returns
Type Description
SignatureAlgorithm
| Improve this Doc View Source

GetInstanceByOid(String)

Declaration
public static SignatureAlgorithm GetInstanceByOid(string oid)
Parameters
Type Name Description
String oid
Returns
Type Description
SignatureAlgorithm
| Improve this Doc View Source

GetInstanceByXmlUri(String)

Declaration
public static SignatureAlgorithm GetInstanceByXmlUri(string xmlUri)
Parameters
Type Name Description
String xmlUri
Returns
Type Description
SignatureAlgorithm
| Improve this Doc View Source

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
| Improve this Doc View Source

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

| Improve this Doc View Source

Equality(SignatureAlgorithm, SignatureAlgorithm)

Declaration
public static bool operator ==(SignatureAlgorithm a, SignatureAlgorithm b)
Parameters
Type Name Description
SignatureAlgorithm a
SignatureAlgorithm b
Returns
Type Description
Boolean
| Improve this Doc View Source

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