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
Afficher le fichier Open project: hallambaker/Mathematical-Mesh Class Usage Examples

Méthodes publiques

Méthode 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 méthode

Return a provider for the current digest algorithm.
public GetDigestProvider ( ) : CryptoProviderDigest
Résultat CryptoProviderDigest

Sign() public abstract méthode

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

Sign() public méthode

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

Verify() public méthode

Verify signature.
public Verify ( CryptoData Data, CryptoData Signature ) : bool
Data CryptoData Computed digest
Signature CryptoData Signature
Résultat bool

Verify() public abstract méthode

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

Verify() public méthode

Verify signature.
public Verify ( byte Data, byte Signature ) : bool
Data byte Computed digest
Signature byte Signature
Résultat bool