Class PgpV3SignatureGenerator
- Namespace
- Enterprises.Org.BouncyCastle.Bcpg.OpenPgp
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class PgpV3SignatureGenerator
- Inheritance
-
PgpV3SignatureGenerator
- Inherited Members
-
Constructors
PgpV3SignatureGenerator(PublicKeyAlgorithmTag, HashAlgorithmTag)
public PgpV3SignatureGenerator(PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm)
Parameters
keyAlgorithm
PublicKeyAlgorithmTag
hashAlgorithm
HashAlgorithmTag
Methods
Generate()
public PgpSignature Generate()
Returns
- PgpSignature
GenerateOnePassVersion(bool)
public PgpOnePassSignature GenerateOnePassVersion(bool isNested)
Parameters
isNested
bool
Returns
- PgpOnePassSignature
InitSign(int, PgpPrivateKey)
public void InitSign(int sigType, PgpPrivateKey key)
Parameters
sigType
int
key
PgpPrivateKey
InitSign(int, PgpPrivateKey, SecureRandom)
public void InitSign(int sigType, PgpPrivateKey key, SecureRandom random)
Parameters
sigType
int
key
PgpPrivateKey
random
SecureRandom
Update(byte)
public void Update(byte b)
Parameters
b
byte
Update(byte[])
public void Update(byte[] b)
Parameters
b
byte[]
Update(byte[], int, int)
public void Update(byte[] b, int off, int len)
Parameters
b
byte[]
off
int
len
int