Class DsaSecretBcpgKey
- Namespace
- Org.BouncyCastle.Bcpg
- Assembly
- BouncyCastle.Cryptography.dll
public class DsaSecretBcpgKey : BcpgObject, IBcpgKey
- Inheritance
-
DsaSecretBcpgKey
- Implements
- Inherited Members
Remarks
Base class for a DSA secret key.
Constructors
DsaSecretBcpgKey(BcpgInputStream)
public DsaSecretBcpgKey(BcpgInputStream bcpgIn)
Parameters
bcpgInBcpgInputStream
DsaSecretBcpgKey(BigInteger)
public DsaSecretBcpgKey(BigInteger x)
Parameters
Properties
Format
The format, as a string, always "PGP".
public string Format { get; }
Property Value
X
public BigInteger X { get; }
Property Value
Methods
Encode(BcpgOutputStream)
public override void Encode(BcpgOutputStream bcpgOut)
Parameters
bcpgOutBcpgOutputStream
GetEncoded()
Return the standard PGP encoding of the key.
public override byte[] GetEncoded()
Returns
- byte[]