Class ElGamalSecretBcpgKey
- Namespace
- Org.BouncyCastle.Bcpg
- Assembly
- BouncyCastle.Cryptography.dll
public class ElGamalSecretBcpgKey : BcpgObject, IBcpgKey
- Inheritance
-
ElGamalSecretBcpgKey
- Implements
- Inherited Members
Remarks
Base class for an ElGamal secret key.
Constructors
ElGamalSecretBcpgKey(BcpgInputStream)
public ElGamalSecretBcpgKey(BcpgInputStream bcpgIn)
Parameters
bcpgInBcpgInputStream
ElGamalSecretBcpgKey(BigInteger)
public ElGamalSecretBcpgKey(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[]