Table of Contents

Class ElGamalPublicBcpgKey

Namespace
Enterprises.Org.BouncyCastle.Bcpg
Assembly
Enterprises.BouncyCastle.Crypto.dll
public class ElGamalPublicBcpgKey : BcpgObject, IBcpgKey
Inheritance
ElGamalPublicBcpgKey
Implements
Inherited Members

Constructors

ElGamalPublicBcpgKey(BcpgInputStream)

public ElGamalPublicBcpgKey(BcpgInputStream bcpgIn)

Parameters

bcpgIn BcpgInputStream

ElGamalPublicBcpgKey(BigInteger, BigInteger, BigInteger)

public ElGamalPublicBcpgKey(BigInteger p, BigInteger g, BigInteger y)

Parameters

p BigInteger
g BigInteger
y BigInteger

Properties

Format

public string Format { get; }

Property Value

string

G

public BigInteger G { get; }

Property Value

BigInteger

P

public BigInteger P { get; }

Property Value

BigInteger

Y

public BigInteger Y { get; }

Property Value

BigInteger

Methods

Encode(BcpgOutputStream)

public override void Encode(BcpgOutputStream bcpgOut)

Parameters

bcpgOut BcpgOutputStream

GetEncoded()

public override byte[] GetEncoded()

Returns

byte[]