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

Org.BouncyCastle.Bcpg.OnePassSignaturePacket

public const int Version3 = 3

public const int Version6 = 6

The hash algorithm tag.

The encryption algorithm tag.

public long KeyId { get; }

public int SignatureType { get; }

public OnePassSignaturePacket(int sigType, HashAlgorithmTag hashAlgorithm, PublicKeyAlgorithmTag keyAlgorithm, long keyId, bool isNested)