Table of Contents

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

bcpgIn BcpgInputStream

DsaSecretBcpgKey(BigInteger)

public DsaSecretBcpgKey(BigInteger x)

Parameters

x BigInteger

Properties

Format

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

public string Format { get; }

Property Value

string

X

public 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[]