C# Class Org.BouncyCastle.Crypto.Signers.DsaSigner

Inheritance: IDsa
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
GenerateSignature ( byte message ) : Org.BouncyCastle.Math.BigInteger[]
Init ( bool forSigning, ICipherParameters parameters ) : void
VerifySignature ( byte message, BigInteger r, BigInteger s ) : bool

Private Methods

Méthode Description
calculateE ( BigInteger n, byte message ) : BigInteger

Method Details

GenerateSignature() public méthode

public GenerateSignature ( byte message ) : Org.BouncyCastle.Math.BigInteger[]
message byte
Résultat Org.BouncyCastle.Math.BigInteger[]

Init() public méthode

public Init ( bool forSigning, ICipherParameters parameters ) : void
forSigning bool
parameters ICipherParameters
Résultat void

VerifySignature() public méthode

public VerifySignature ( byte message, BigInteger r, BigInteger s ) : bool
message byte
r Org.BouncyCastle.Math.BigInteger
s Org.BouncyCastle.Math.BigInteger
Résultat bool