Table of Contents

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

bcpgIn BcpgInputStream

ECSecretBcpgKey(BigInteger)

public ECSecretBcpgKey(BigInteger x)

Parameters

x BigInteger

Properties

Format

The format, as a string, always "PGP".

public string Format { get; }

Property Value

string

X

public virtual BigInteger X { get; }

Property Value

BigInteger

Methods

Encode(BcpgOutputStream)

public override void Encode(BcpgOutputStream bcpgOut)

Parameters

bcpgOut BcpgOutputStream

GetEncoded()

Return the standard PGP encoding of the key.

public override byte[] GetEncoded()

Returns

byte[]