Searched refs:kp2 (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/test/sun/security/pkcs11/KeyAgreement/
H A DTestDH.java49 KeyPair kp2 = kpg.generateKeyPair();
54 ka1.doPhase(kp2.getPublic(), true);
58 ka1.init(kp2.getPrivate());
69 ka2.doPhase(kp2.getPublic(), true);
77 ka2.init(kp2.getPrivate());
86 testAlgorithm(ka2, kp2, ka1, kp1, "DES");
87 testAlgorithm(ka2, kp2, ka1, kp1, "DESede");
88 // testAlgorithm(ka2, kp2, ka1, kp1, "AES");
89 // testAlgorithm(ka2, kp2, ka1, kp1, "RC4");
90 testAlgorithm(ka2, kp2, ka
94 testAlgorithm(KeyAgreement ka1, KeyPair kp1, KeyAgreement ka2, KeyPair kp2, String algorithm) argument
[all...]
/openjdk7/jdk/test/sun/security/pkcs11/ec/
H A DTestCurves.java66 KeyPair kp1, kp2;
68 kp2 = kpg.generateKeyPair();
70 testSigning(p, "SHA1withECDSA", data, kp1, kp2);
71 testSigning(p, "SHA256withECDSA", data, kp1, kp2);
72 testSigning(p, "SHA384withECDSA", data, kp1, kp2);
73 testSigning(p, "SHA512withECDSA", data, kp1, kp2);
78 ka1.doPhase(kp2.getPublic(), true);
82 ka2.init(kp2.getPrivate());
95 byte[] data, KeyPair kp1, KeyPair kp2) throws Exception {
110 s.initVerify(kp2
94 testSigning(Provider p, String algorithm, byte[] data, KeyPair kp1, KeyPair kp2) argument
[all...]
/openjdk7/jdk/test/sun/security/rsa/
H A DTestKeyPairGenerator.java73 private static void testInvalidSignature(KeyPair kp1, KeyPair kp2) throws Exception { argument
85 sig.initVerify(kp2.getPublic());
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DTestKeyPairGenerator.java74 private static void testInvalidSignature(KeyPair kp1, KeyPair kp2) throws Exception { argument
86 sig.initVerify(kp2.getPublic());

Completed in 30 milliseconds