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

Org.BouncyCastle.Bcpg.OpenPgp.PgpOnePassSignature

public class PgpOnePassSignature
namespace Org.BouncyCastle.Bcpg.OpenPgp { public class PgpOnePassSignature { public long KeyId { get; } public int SignatureType { get; } public HashAlgorithmTag HashAlgorithm { get; } public PublicKeyAlgorithmTag KeyAlgorithm { get; } public void InitVerify(PgpPublicKey pubKey); public void Update(byte b); public void Update(params byte[] bytes); public void Update(byte[] bytes, int off, int length); public bool Verify(PgpSignature pgpSig); public byte[] GetEncoded(); public void Encode(Stream outStr); } }