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
isPrivateboolmodulusBigIntegerexponentBigInteger
Properties
Exponent
public BigInteger Exponent { get; }
Property Value
Modulus
public BigInteger Modulus { get; }
Property Value
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
objobjectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.