Home | History | Annotate | Download | only in params
      1 package org.bouncycastle.crypto.params;
      2 
      3 import java.math.BigInteger;
      4 
      5 public class RSAKeyParameters
      6     extends AsymmetricKeyParameter
      7 {
      8     private BigInteger      modulus;
      9     private BigInteger      exponent;
     10 
     11     public RSAKeyParameters(
     12         boolean     isPrivate,
     13         BigInteger  modulus,
     14         BigInteger  exponent)
     15     {
     16         super(isPrivate);
     17 
     18         this.modulus = modulus;
     19         this.exponent = exponent;
     20     }
     21 
     22     public BigInteger getModulus()
     23     {
     24         return modulus;
     25     }
     26 
     27     public BigInteger getExponent()
     28     {
     29         return exponent;
     30     }
     31 }
     32