Top Fields Constructors Methods
org.bouncycastle.crypto.params

public Class RSAKeyParameters

extends AsymmetricKeyParameter
Class Inheritance
Known Direct Subclasses
org.bouncycastle.crypto.params.RSAPrivateCrtKeyParameters
Imports
java.math.BigInteger, org.bouncycastle.crypto.CryptoServicesRegistrar, org.bouncycastle.math.Primes, org.bouncycastle.util.BigIntegers, .Properties

Field Summary

Modifier and TypeField and Description
private BigInteger
private BigInteger
private static final BigInteger
private static final BigInteger
private static final BigIntegers.Cache
Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
privateKey

Constructor Summary

AccessConstructor and Description
public
RSAKeyParameters(boolean isPrivate, BigInteger modulus, BigInteger exponent)

public
RSAKeyParameters(boolean isPrivate, BigInteger modulus, BigInteger exponent, boolean isInternal)

Method Summary

Modifier and TypeMethod and Description
public BigInteger
public BigInteger
private static int
getMRIterations(int bits)

private BigInteger
validate(BigInteger modulus, boolean isInternal)

Inherited from org.bouncycastle.crypto.params.AsymmetricKeyParameter:
isPrivate

Field Detail

exponentback to summary
private BigInteger exponent
modulusback to summary
private BigInteger modulus
ONEback to summary
private static final BigInteger ONE
SMALL_PRIMES_PRODUCTback to summary
private static final BigInteger SMALL_PRIMES_PRODUCT
validatedback to summary
private static final BigIntegers.Cache validated

Constructor Detail

RSAKeyParametersback to summary
public RSAKeyParameters(boolean isPrivate, BigInteger modulus, BigInteger exponent)
RSAKeyParametersback to summary
public RSAKeyParameters(boolean isPrivate, BigInteger modulus, BigInteger exponent, boolean isInternal)

Method Detail

getExponentback to summary
public BigInteger getExponent()
getModulusback to summary
public BigInteger getModulus()
getMRIterationsback to summary
private static int getMRIterations(int bits)
validateback to summary
private BigInteger validate(BigInteger modulus, boolean isInternal)