C# Class Goedel.Cryptography.CryptoProviderSignature

Crypto provider for digital signature algorithms. The chief reason this is necessary is the excrable nature of the .NET APIs in which the base class does not expose methods such as sign.
Inheritance: CryptoProviderAsymmetric
Exibir arquivo Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Public Methods

Method Description
GetDigestProvider ( ) : CryptoProviderDigest

Return a provider for the current digest algorithm.

Sign ( CryptoData Data ) : CryptoData

Sign a previously computed digest (requires private key).

Sign ( byte Data ) : CryptoData

Sign data using the default digest (requires private key).

Verify ( CryptoData Data, CryptoData Signature ) : bool

Verify signature.

Verify ( CryptoData Data, byte Signature ) : bool

Verify signature.

Verify ( byte Data, byte Signature ) : bool

Verify signature.

Method Details

GetDigestProvider() public method

Return a provider for the current digest algorithm.
public GetDigestProvider ( ) : CryptoProviderDigest
return CryptoProviderDigest

Sign() public abstract method

Sign a previously computed digest (requires private key).
public abstract Sign ( CryptoData Data ) : CryptoData
Data CryptoData Computed digest
return CryptoData

Sign() public method

Sign data using the default digest (requires private key).
public Sign ( byte Data ) : CryptoData
Data byte Data to be signed.
return CryptoData

Verify() public method

Verify signature.
public Verify ( CryptoData Data, CryptoData Signature ) : bool
Data CryptoData Computed digest
Signature CryptoData Signature
return bool

Verify() public abstract method

Verify signature.
public abstract Verify ( CryptoData Data, byte Signature ) : bool
Data CryptoData Computed digest
Signature byte Signature
return bool

Verify() public method

Verify signature.
public Verify ( byte Data, byte Signature ) : bool
Data byte Computed digest
Signature byte Signature
return bool