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

Signer using a provided pre-computed signature, used by DSS
Inheritance: ISigner
Show file Open project: nonorganic/dssnet Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method Description
BlockUpdate ( byte input, int inOff, int length ) : void
CurrentSignature ( ) : byte[]
GenerateSignature ( ) : byte[]
Init ( bool forSigning, ICipherParameters parameters ) : void
PreComputedSigner ( ) : Org.BouncyCastle.Crypto

The default constructor for PreComputedSigner.

The default constructor for PreComputedSigner.

PreComputedSigner ( byte preComputedSignature ) : Org.BouncyCastle.Crypto
Reset ( ) : void
Update ( byte input ) : void
VerifySignature ( byte signature ) : bool

Method Details

BlockUpdate() public method

public BlockUpdate ( byte input, int inOff, int length ) : void
input byte
inOff int
length int
return void

CurrentSignature() public method

public CurrentSignature ( ) : byte[]
return byte[]

GenerateSignature() public method

public GenerateSignature ( ) : byte[]
return byte[]

Init() public method

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

PreComputedSigner() public method

The default constructor for PreComputedSigner.
The default constructor for PreComputedSigner.
public PreComputedSigner ( ) : Org.BouncyCastle.Crypto
return Org.BouncyCastle.Crypto

PreComputedSigner() public method

public PreComputedSigner ( byte preComputedSignature ) : Org.BouncyCastle.Crypto
preComputedSignature byte the preComputedSignature to set
return Org.BouncyCastle.Crypto

Reset() public method

public Reset ( ) : void
return void

Update() public method

public Update ( byte input ) : void
input byte
return void

VerifySignature() public method

public VerifySignature ( byte signature ) : bool
signature byte
return bool