Table of Contents

Class RsaPublicBcpgKey

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

Constructors

RsaPublicBcpgKey(BcpgInputStream)

public RsaPublicBcpgKey(BcpgInputStream bcpgIn)

Parameters

bcpgIn BcpgInputStream

RsaPublicBcpgKey(BigInteger, BigInteger)

public RsaPublicBcpgKey(BigInteger n, BigInteger e)

Parameters

n BigInteger
e BigInteger

Properties

Format

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