Searched refs:RSAKeyGenParameterSpec (Results 1 - 8 of 8) sorted by relevance

/openjdk7/jdk/test/java/security/KeyPairGenerator/
H A DGenerateRSAKeyPair.java28 * java.security.spec.RSAKeyGenParameterSpec passes
33 import java.security.spec.RSAKeyGenParameterSpec;
39 RSAKeyGenParameterSpec rsaSpec =
40 new RSAKeyGenParameterSpec (1024, RSAKeyGenParameterSpec.F4);
/openjdk7/jdk/src/share/classes/java/security/spec/
H A DRSAKeyGenParameterSpec.java42 public class RSAKeyGenParameterSpec implements AlgorithmParameterSpec { class in inherits:AlgorithmParameterSpec
64 public RSAKeyGenParameterSpec(int keysize, BigInteger publicExponent) { method in class:RSAKeyGenParameterSpec
/openjdk7/jdk/src/share/classes/sun/security/rsa/
H A DRSAKeyPairGenerator.java32 import java.security.spec.RSAKeyGenParameterSpec;
67 RSAKeyFactory.checkKeyLengths(keySize, RSAKeyGenParameterSpec.F4,
75 this.publicExponent = RSAKeyGenParameterSpec.F4;
82 if (params instanceof RSAKeyGenParameterSpec == false) {
84 ("Params must be instance of RSAKeyGenParameterSpec");
87 RSAKeyGenParameterSpec rsaSpec = (RSAKeyGenParameterSpec)params;
92 tmpPublicExponent = RSAKeyGenParameterSpec.F4;
94 if (tmpPublicExponent.compareTo(RSAKeyGenParameterSpec.F0) < 0) {
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSAKeyPairGenerator.java31 import java.security.spec.RSAKeyGenParameterSpec;
81 } else if (params instanceof RSAKeyGenParameterSpec) {
83 if (((RSAKeyGenParameterSpec) params).getPublicExponent() != null) {
87 tmpSize = ((RSAKeyGenParameterSpec) params).getKeysize();
91 ("Params must be an instance of RSAKeyGenParameterSpec");
/openjdk7/jdk/test/java/math/BigInteger/
H A DModPow65537.java42 kpg.initialize(new RSAKeyGenParameterSpec(512, BigInteger.valueOf(65537)));
46 kpg.initialize(new RSAKeyGenParameterSpec(512, BigInteger.valueOf(65539)));
50 kpg.initialize(new RSAKeyGenParameterSpec(512, BigInteger.valueOf(3)));
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DP11KeyPairGenerator.java71 private BigInteger rsaPublicExponent = RSAKeyGenParameterSpec.F4;
126 if (params instanceof RSAKeyGenParameterSpec == false) {
128 ("RSAKeyGenParameterSpec required for RSA");
130 RSAKeyGenParameterSpec rsaParams = (RSAKeyGenParameterSpec)params;
194 // Already tested for instanceof RSAKeyGenParameterSpec above
196 ((RSAKeyGenParameterSpec)params).getPublicExponent();
/openjdk7/jdk/test/sun/security/rsa/
H A DTestKeyPairGenerator.java114 kpg.initialize(new RSAKeyGenParameterSpec(len, exp));
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DTestKeyPairGenerator.java115 kpg.initialize(new RSAKeyGenParameterSpec(len, exp));

Completed in 83 milliseconds