org.bouncycastle.crypto.params
Class RSAKeyParameters

java.lang.Object
  extended by org.bouncycastle.crypto.params.AsymmetricKeyParameter
      extended by org.bouncycastle.crypto.params.RSAKeyParameters
All Implemented Interfaces:
CipherParameters
Direct Known Subclasses:
RSAPrivateCrtKeyParameters

public class RSAKeyParameters
extends AsymmetricKeyParameter


Field Summary
private  java.math.BigInteger exponent
           
private  java.math.BigInteger modulus
           
 
Fields inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
privateKey
 
Constructor Summary
RSAKeyParameters(boolean isPrivate, java.math.BigInteger modulus, java.math.BigInteger exponent)
           
 
Method Summary
 java.math.BigInteger getExponent()
           
 java.math.BigInteger getModulus()
           
 
Methods inherited from class org.bouncycastle.crypto.params.AsymmetricKeyParameter
isPrivate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

modulus

private java.math.BigInteger modulus

exponent

private java.math.BigInteger exponent
Constructor Detail

RSAKeyParameters

public RSAKeyParameters(boolean isPrivate,
                        java.math.BigInteger modulus,
                        java.math.BigInteger exponent)
Method Detail

getModulus

public java.math.BigInteger getModulus()

getExponent

public java.math.BigInteger getExponent()