Class ECSecretBcpgKey
- Namespace
- Org.BouncyCastle.Bcpg
- Assembly
- BouncyCastle.Cryptography.dll
public class ECSecretBcpgKey : BcpgObject, IBcpgKey
- Inheritance
-
ECSecretBcpgKey
- Implements
- Inherited Members
Remarks
Base class for an EC Secret Key.
Constructors
ECSecretBcpgKey(BcpgInputStream)
public ECSecretBcpgKey(BcpgInputStream bcpgIn)
Parameters
bcpgInBcpgInputStream
ECSecretBcpgKey(BigInteger)
public ECSecretBcpgKey(BigInteger x)
Parameters
Properties
Format
The format, as a string, always "PGP".
public string Format { get; }
Property Value
X
public virtual 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[]