Table of Contents

Class RsaKeyGenerationParameters

Namespace
Org.BouncyCastle.Crypto.Parameters
Assembly
BouncyCastle.Cryptography.dll
public class RsaKeyGenerationParameters : KeyGenerationParameters
Inheritance
RsaKeyGenerationParameters
Inherited Members

Constructors

RsaKeyGenerationParameters(BigInteger, SecureRandom, int, int)

public RsaKeyGenerationParameters(BigInteger publicExponent, SecureRandom random, int strength, int certainty)

Parameters

publicExponent BigInteger
random SecureRandom
strength int
certainty int

Properties

Certainty

public int Certainty { get; }

Property Value

int

PublicExponent

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