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

Inheritance: ISigner
Show file Open project: gkardava/WinPass Class Usage Examples

Public Methods

Method Description
BlockUpdate ( byte input, int off, int len ) : void
GenerateSignature ( ) : byte[]
Init ( bool forSigning, ICipherParameters parameters ) : void
Reset ( ) : void
Update ( byte b ) : void
VerifySignature ( byte signature ) : bool
X931Signer ( IAsymmetricBlockCipher cipher, IDigest digest ) : System
X931Signer ( IAsymmetricBlockCipher cipher, IDigest digest, bool isImplicit ) : System

Private Methods

Method Description
ClearBlock ( byte block ) : void

clear possible sensitive data

CreateSignatureBlock ( ) : void

Method Details

BlockUpdate() public method

public BlockUpdate ( byte input, int off, int len ) : void
input byte
off int
len int
return void

GenerateSignature() public method

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

Init() public method

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

Reset() public method

public Reset ( ) : void
return void

Update() public method

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

VerifySignature() public method

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

X931Signer() public method

public X931Signer ( IAsymmetricBlockCipher cipher, IDigest digest ) : System
cipher IAsymmetricBlockCipher
digest IDigest
return System

X931Signer() public method

public X931Signer ( IAsymmetricBlockCipher cipher, IDigest digest, bool isImplicit ) : System
cipher IAsymmetricBlockCipher
digest IDigest
isImplicit bool
return System