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

Org.BouncyCastle.Bcpg.OpenPgp.PgpSignatureGenerator

public class PgpSignatureGenerator
public PgpSignatureGenerator(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(byte[] b)

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

public void Update(ReadOnlySpan<byte> input)