1 7 8 package java.security.spec; 9 10 import java.math.BigInteger ; 11 12 26 27 public class RSAPublicKeySpec implements KeySpec { 28 29 private BigInteger modulus; 30 private BigInteger publicExponent; 31 32 38 public RSAPublicKeySpec(BigInteger modulus, BigInteger publicExponent) { 39 this.modulus = modulus; 40 this.publicExponent = publicExponent; 41 } 42 43 48 public BigInteger getModulus() { 49 return this.modulus; 50 } 51 52 57 public BigInteger getPublicExponent() { 58 return this.publicExponent; 59 } 60 } 61 | Popular Tags |