RSAKeyParameters.java revision e6bf3e8dfa2804891a82075cb469b736321b4827
1package org.bouncycastle.crypto.params; 2 3import java.math.BigInteger; 4 5public 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