Table of Contents

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

rsaPrivateKey RsaPrivateKeyStructure

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

modulus BigInteger
publicExponent BigInteger
privateExponent BigInteger
p BigInteger
q BigInteger
dP BigInteger
dQ BigInteger
qInv BigInteger

Properties

DP

public BigInteger DP { get; }

Property Value

BigInteger

DQ

public BigInteger DQ { get; }

Property Value

BigInteger

P

public BigInteger P { get; }

Property Value

BigInteger

PublicExponent

public BigInteger PublicExponent { get; }

Property Value

BigInteger

Q

public BigInteger Q { get; }

Property Value

BigInteger

QInv

public BigInteger QInv { 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.