C# Class Org.BouncyCastle.Bcpg.OpenPgp.PgpOnePassSignature

A one pass signature object.
Afficher le fichier Open project: nonorganic/dssnet Class Usage Examples

Méthodes publiques

Méthode Description
Encode ( Stream outStr ) : void
GetEncoded ( ) : byte[]
InitVerify ( PgpPublicKey pubKey ) : void

Initialise the signature object for verification.

Update ( byte b ) : void
Update ( byte bytes, int off, int length ) : void
Verify ( PgpSignature pgpSig ) : bool

Verify the calculated signature against the passed in PgpSignature.

Private Methods

Méthode Description
PgpOnePassSignature ( BcpgInputStream bcpgInput ) : System
PgpOnePassSignature ( OnePassSignaturePacket sigPack ) : System
doCanonicalUpdateByte ( byte b ) : void
doUpdateCRLF ( ) : void

Method Details

Encode() public méthode

public Encode ( Stream outStr ) : void
outStr Stream
Résultat void

GetEncoded() public méthode

public GetEncoded ( ) : byte[]
Résultat byte[]

InitVerify() public méthode

Initialise the signature object for verification.
public InitVerify ( PgpPublicKey pubKey ) : void
pubKey PgpPublicKey
Résultat void

Update() public méthode

public Update ( byte b ) : void
b byte
Résultat void

Update() public méthode

public Update ( byte bytes, int off, int length ) : void
bytes byte
off int
length int
Résultat void

Verify() public méthode

Verify the calculated signature against the passed in PgpSignature.
public Verify ( PgpSignature pgpSig ) : bool
pgpSig PgpSignature
Résultat bool