Searched refs:getPrivate (Results 1 - 25 of 54) sorted by relevance

123

/openjdk7/jdk/src/share/classes/java/security/
H A DKeyPair.java78 public PrivateKey getPrivate() { method in class:KeyPair
H A DSigner.java136 PrivateKey priv = pair.getPrivate();
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/
H A DRSAKeyPair.java48 public RSAPrivateKey getPrivate() { method in class:RSAKeyPair
H A DRSAKeyPairGenerator.java115 return new KeyPair(keys.getPublic(), keys.getPrivate());
/openjdk7/jdk/test/sun/security/pkcs11/KeyAgreement/
H A DTestDH.java53 ka1.init(kp1.getPrivate());
58 ka1.init(kp2.getPrivate());
68 ka2.init(kp1.getPrivate());
77 ka2.init(kp2.getPrivate());
97 ka1.init(kp1.getPrivate());
102 ka2.init(kp1.getPrivate());
/openjdk7/jdk/test/java/security/KeyRep/
H A DSerialDSAPubKey.java66 !dsaKp2.getPrivate().equals(dsaKp.getPrivate())) {
H A DSerial.java65 !dsaKp2.getPrivate().equals(dsaKp.getPrivate())) {
87 !rsaKp2.getPrivate().equals(rsaKp.getPrivate())) {
111 !dhKp2.getPrivate().equals(dhKp.getPrivate())) {
/openjdk7/jdk/test/java/security/Signature/
H A DSignWithOutputBuffer.java44 sig.initSign(kp.getPrivate());
59 sig.initSign(kp.getPrivate());
H A DNONEwithRSA.java50 sig.initSign(kp.getPrivate());
69 sig.initSign(kp.getPrivate());
71 sig.initSign(kp.getPrivate());
H A DTestInitSignWithMyOwnRandom.java43 sig.initSign(kp.getPrivate(), rand);
/openjdk7/jdk/test/sun/security/pkcs11/Secmod/
H A DCrypto.java51 System.out.println(kp.getPrivate());
58 sig.initSign(kp.getPrivate());
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DSealtest.java54 SealedObject sealed = new SealedObject(kp.getPrivate(), c);
72 if (!priv.equals(kp.getPrivate()))
/openjdk7/jdk/test/sun/security/pkcs11/Cipher/
H A DTestRawRSACipher.java62 c2.init(Cipher.DECRYPT_MODE, kp.getPrivate());
71 c1.init(Cipher.DECRYPT_MODE, kp.getPrivate());
/openjdk7/jdk/test/sun/security/pkcs11/ec/
H A DTestCurves.java77 ka1.init(kp1.getPrivate());
82 ka2.init(kp2.getPrivate());
98 s.initSign(kp1.getPrivate());
H A DTestECGenSpec.java75 System.out.println(kp.getPrivate());
/openjdk7/jdk/test/com/sun/crypto/provider/KeyAgreement/
H A DDHGenSecretKey.java54 bobAlice.init(keyB.getPrivate());
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/rsa/
H A DBrokenRSAPrivateCrtKey.java47 RSAPrivateCrtKey privatekey = (RSAPrivateCrtKey) pair.getPrivate();
/openjdk7/jdk/test/sun/security/pkcs11/Signature/
H A DTestRSAKeyLength.java45 PrivateKey privKey = kp.getPrivate();
H A DReinitSignature.java46 PrivateKey privateKey = kp.getPrivate();
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DECDHCrypt.java64 privateKey = kp.getPrivate();
77 privateKey = kp.getPrivate();
/openjdk7/jdk/test/sun/security/pkcs11/rsa/
H A DKeyWrap.java62 PrivateKey priv = (PrivateKey)kf.translateKey(kp.getPrivate());
83 c.init(Cipher.UNWRAP_MODE, kp.getPrivate());
/openjdk7/jdk/test/sun/security/provider/KeyStore/
H A DCaseSensitiveAliases.java95 PrivateKey p1 = kpg.generateKeyPair().getPrivate();
96 PrivateKey p2 = kpg.generateKeyPair().getPrivate();
/openjdk7/jdk/test/java/security/SignedObject/
H A DCorrectness.java48 SignedObject so1 = new SignedObject("Hello", kp.getPrivate(),
/openjdk7/jdk/test/sun/security/mscapi/
H A DRSAEncryptDecrypt.java45 Key privateKey = keyPair.getPrivate();
/openjdk7/jdk/test/sun/security/rsa/
H A DTestKeyPairGenerator.java76 sig.initSign(kp1.getPrivate());
120 RSAPrivateCrtKey privateKey = (RSAPrivateCrtKey)kp.getPrivate();

Completed in 6615 milliseconds

123