1 17 18 package org.apache.geronimo.util.crypto.params; 19 20 import java.math.BigInteger ; 21 22 public class RSAKeyParameters 23 extends AsymmetricKeyParameter 24 { 25 private BigInteger modulus; 26 private BigInteger exponent; 27 28 public RSAKeyParameters( 29 boolean isPrivate, 30 BigInteger modulus, 31 BigInteger exponent) 32 { 33 super(isPrivate); 34 35 this.modulus = modulus; 36 this.exponent = exponent; 37 } 38 39 public BigInteger getModulus() 40 { 41 return modulus; 42 } 43 44 public BigInteger getExponent() 45 { 46 return exponent; 47 } 48 } 49 | Popular Tags |