Class RsaPrivateCrtKeyParameters
- Namespace
- Org.BouncyCastle.Crypto.Parameters
- Assembly
- BouncyCastle.Cryptography.dll
public class RsaPrivateCrtKeyParameters : RsaKeyParameters, ICipherParameters
- Inheritance
-
RsaPrivateCrtKeyParameters
- Implements
- Inherited Members
Constructors
RsaPrivateCrtKeyParameters(RsaPrivateKeyStructure)
public RsaPrivateCrtKeyParameters(RsaPrivateKeyStructure rsaPrivateKey)
Parameters
rsaPrivateKeyRsaPrivateKeyStructure
RsaPrivateCrtKeyParameters(BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger, BigInteger)
public RsaPrivateCrtKeyParameters(BigInteger modulus, BigInteger publicExponent, BigInteger privateExponent, BigInteger p, BigInteger q, BigInteger dP, BigInteger dQ, BigInteger qInv)
Parameters
modulusBigIntegerpublicExponentBigIntegerprivateExponentBigIntegerpBigIntegerqBigIntegerdPBigIntegerdQBigIntegerqInvBigInteger
Properties
DP
public BigInteger DP { get; }
Property Value
DQ
public BigInteger DQ { get; }
Property Value
P
public BigInteger P { get; }
Property Value
PublicExponent
public BigInteger PublicExponent { get; }
Property Value
Q
public BigInteger Q { get; }
Property Value
QInv
public BigInteger QInv { 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.