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

Org.BouncyCastle.Bcpg.OpenPgp.PgpSecretKeyRing

public class PgpSecretKeyRing : PgpKeyRing
public PgpSecretKeyRing(byte[] encoding)

public PgpSecretKeyRing(Stream inputStream)

public static PgpSecretKeyRing CopyWithNewPassword(PgpSecretKeyRing ring, char[] oldPassPhrase, char[] newPassPhrase, SymmetricKeyAlgorithmTag newEncAlgorithm, SecureRandom rand)

public void Encode(Stream outStr)

public byte[] GetEncoded()

public PgpPublicKey GetPublicKey(long keyID)

public PgpPublicKey GetPublicKey(byte[] fingerprint)

public PgpSecretKey GetSecretKey(long keyId)

public PgpSecretKey GetSecretKey(byte[] fingerprint)