<PackageReference Include="BouncyCastle.Cryptography" Version="2.5.0" />

PgpV3SignatureGenerator

Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.

Return a V3 signature object containing the current signature state.

Return the one pass header associated with the current signature.

public void InitSign(int sigType, PgpPrivateKey privKey)

Initialise the generator for signing.

public void InitSign(int sigType, PgpPrivateKey privKey, SecureRandom random)

Initialise the generator for signing.

public void Update(byte b)

public void Update(byte[] b)

public void Update(byte[] b, int off, int len)