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

Inheritance: ISigner
ファイルを表示 Open project: nonorganic/dssnet Class Usage Examples

Public Methods

Method Description
BlockUpdate ( byte input, int inOff, int length ) : void
CurrentSignature ( ) : byte[]
GenerateSignature ( ) : byte[]
Init ( bool forSigning, ICipherParameters parameters ) : void
Reset ( ) : void
RsaDigestSigner ( IDigest digest ) : System
Update ( byte input ) : void
VerifySignature ( byte signature ) : bool

Private Methods

Method Description
DerEncode ( byte hash ) : byte[]
RsaDigestSigner ( ) : System

Load oid table.

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

Reset() public method

public Reset ( ) : void
return void

RsaDigestSigner() public method

public RsaDigestSigner ( IDigest digest ) : System
digest IDigest
return System

Update() public method

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

VerifySignature() public method

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