Class DsaPublicBcpgKey
- Namespace
- Enterprises.Org.BouncyCastle.Bcpg
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class DsaPublicBcpgKey : BcpgObject, IBcpgKey
- Inheritance
-
DsaPublicBcpgKey
- Implements
-
- Inherited Members
-
Constructors
public DsaPublicBcpgKey(BcpgInputStream bcpgIn)
Parameters
bcpgIn
BcpgInputStream
DsaPublicBcpgKey(BigInteger, BigInteger, BigInteger, BigInteger)
public DsaPublicBcpgKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y)
Parameters
p
BigInteger
q
BigInteger
g
BigInteger
y
BigInteger
Properties
public string Format { get; }
Property Value
- string
G
public BigInteger G { get; }
Property Value
- BigInteger
P
public BigInteger P { get; }
Property Value
- BigInteger
Q
public BigInteger Q { 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[]