Class RsaPublicBcpgKey
- Namespace
- Enterprises.Org.BouncyCastle.Bcpg
- Assembly
- Enterprises.BouncyCastle.Crypto.dll
public class RsaPublicBcpgKey : BcpgObject, IBcpgKey
- Inheritance
-
RsaPublicBcpgKey
- Implements
-
- Inherited Members
-
Constructors
public RsaPublicBcpgKey(BcpgInputStream bcpgIn)
Parameters
bcpgIn
BcpgInputStream
RsaPublicBcpgKey(BigInteger, BigInteger)
public RsaPublicBcpgKey(BigInteger n, BigInteger e)
Parameters
n
BigInteger
e
BigInteger
Properties
public string Format { get; }
Property Value
- string
Modulus
public BigInteger Modulus { get; }
Property Value
- BigInteger
PublicExponent
public BigInteger PublicExponent { get; }
Property Value
- BigInteger
Methods
Encode(BcpgOutputStream)
public override void Encode(BcpgOutputStream bcpgOut)
Parameters
bcpgOut
BcpgOutputStream
GetEncoded()
public override byte[] GetEncoded()
Returns
- byte[]