Table of Contents

Class RsaKeyParameters

Namespace
Org.BouncyCastle.Crypto.Parameters
Assembly
BouncyCastle.Cryptography.dll
public class RsaKeyParameters : AsymmetricKeyParameter, ICipherParameters
Inheritance
RsaKeyParameters
Implements
Derived
Inherited Members

Constructors

RsaKeyParameters(bool, BigInteger, BigInteger)

public RsaKeyParameters(bool isPrivate, BigInteger modulus, BigInteger exponent)

Parameters

isPrivate bool
modulus BigInteger
exponent BigInteger

Properties

Exponent

public BigInteger Exponent { get; }

Property Value

BigInteger

Modulus

public BigInteger Modulus { get; }

Property Value

BigInteger

Methods

Equals(object)

Determines whether the specified object is equal to the current object.

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.