Class RsaSecretBcpgKey
- Namespace
- Enterprises.Org.BouncyCastle.Bcpg
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class RsaSecretBcpgKey : BcpgObject, IBcpgKey
- Inheritance
-
RsaSecretBcpgKey
- Implements
-
- Inherited Members
-
Constructors
public RsaSecretBcpgKey(BcpgInputStream bcpgIn)
Parameters
bcpgIn
BcpgInputStream
RsaSecretBcpgKey(BigInteger, BigInteger, BigInteger)
public RsaSecretBcpgKey(BigInteger d, BigInteger p, BigInteger q)
Parameters
d
BigInteger
p
BigInteger
q
BigInteger
Properties
CrtCoefficient
public BigInteger CrtCoefficient { get; }
Property Value
- BigInteger
public string Format { get; }
Property Value
- string
Modulus
public BigInteger Modulus { get; }
Property Value
- BigInteger
PrimeExponentP
public BigInteger PrimeExponentP { get; }
Property Value
- BigInteger
PrimeExponentQ
public BigInteger PrimeExponentQ { get; }
Property Value
- BigInteger
PrimeP
public BigInteger PrimeP { get; }
Property Value
- BigInteger
PrimeQ
public BigInteger PrimeQ { get; }
Property Value
- BigInteger
PrivateExponent
public BigInteger PrivateExponent { get; }
Property Value
- BigInteger
Methods
Encode(BcpgOutputStream)
public override void Encode(BcpgOutputStream bcpgOut)
Parameters
bcpgOut
BcpgOutputStream
GetEncoded()
public override byte[] GetEncoded()
Returns
- byte[]