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

Inheritance: IDsa
Show file Open project: mapo80/iTextSharp-Monotouch Class Usage Examples

Public Methods

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

Private Methods

Method Description
calculateE ( BigInteger n, byte message ) : BigInteger

Method Details

GenerateSignature() public method

public GenerateSignature ( byte message ) : Org.BouncyCastle.Math.BigInteger[]
message byte
return Org.BouncyCastle.Math.BigInteger[]

Init() public method

public Init ( bool forSigning, ICipherParameters parameters ) : void
forSigning bool
parameters ICipherParameters
return void

VerifySignature() public method

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