01: package org.bouncycastle.crypto.params;
02:
03: import java.math.BigInteger;
04:
05: public class RSAKeyParameters extends AsymmetricKeyParameter {
06: private BigInteger modulus;
07: private BigInteger exponent;
08:
09: public RSAKeyParameters(boolean isPrivate, BigInteger modulus,
10: BigInteger exponent) {
11: super (isPrivate);
12:
13: this .modulus = modulus;
14: this .exponent = exponent;
15: }
16:
17: public BigInteger getModulus() {
18: return modulus;
19: }
20:
21: public BigInteger getExponent() {
22: return exponent;
23: }
24: }
|