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

Org.BouncyCastle.Bcpg.OpenPgp.PgpV3SignatureGenerator

namespace Org.BouncyCastle.Bcpg.OpenPgp { public class PgpV3SignatureGenerator { public PgpV3SignatureGenerator(PublicKeyAlgorithmTag keyAlgorithm, HashAlgorithmTag hashAlgorithm); public void InitSign(int sigType, PgpPrivateKey privKey); public void InitSign(int sigType, PgpPrivateKey privKey, SecureRandom random); public void Update(byte b); public void Update(params byte[] b); public void Update(byte[] b, int off, int len); public PgpOnePassSignature GenerateOnePassVersion(bool isNested); public PgpSignature Generate(); } }