equal
deleted
inserted
replaced
55 */ |
55 */ |
56 public static final BigInteger F4 = BigInteger.valueOf(65537); |
56 public static final BigInteger F4 = BigInteger.valueOf(65537); |
57 |
57 |
58 /** |
58 /** |
59 * Constructs a new {@code RSAKeyGenParameterSpec} object from the |
59 * Constructs a new {@code RSAKeyGenParameterSpec} object from the |
60 * given keysize, public-exponent value, and no key parameters. |
60 * given keysize, public-exponent value, and null key parameters. |
61 * |
61 * |
62 * @param keysize the modulus size (specified in number of bits) |
62 * @param keysize the modulus size (specified in number of bits) |
63 * @param publicExponent the public exponent |
63 * @param publicExponent the public exponent |
64 */ |
64 */ |
65 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { |
65 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { |
70 * Constructs a new {@code RSAKeyGenParameterSpec} object from the |
70 * Constructs a new {@code RSAKeyGenParameterSpec} object from the |
71 * given keysize, public-exponent value, and key parameters. |
71 * given keysize, public-exponent value, and key parameters. |
72 * |
72 * |
73 * @param keysize the modulus size (specified in number of bits) |
73 * @param keysize the modulus size (specified in number of bits) |
74 * @param publicExponent the public exponent |
74 * @param publicExponent the public exponent |
75 * @param keyParams the key parameters |
75 * @param keyParams the key parameters, may be null |
76 * @since 11 |
76 * @since 11 |
77 */ |
77 */ |
78 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent, |
78 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent, |
79 AlgorithmParameterSpec keyParams) { |
79 AlgorithmParameterSpec keyParams) { |
80 this.keysize = keysize; |
80 this.keysize = keysize; |