/openjdk7/jdk/src/share/classes/java/security/ |
H A D | PrivateKey.java | 49 public interface PrivateKey extends Key { interface in inherits:Key
|
H A D | KeyPair.java | 33 * should be treated like a PrivateKey. 36 * @see PrivateKey 45 private PrivateKey privateKey; 59 public KeyPair(PublicKey publicKey, PrivateKey privateKey) { 78 public PrivateKey getPrivate() {
|
H A D | KeyFactorySpi.java | 62 * @see PrivateKey 97 protected abstract PrivateKey engineGeneratePrivate(KeySpec keySpec)
|
H A D | Signer.java | 57 private PrivateKey privateKey; 108 public PrivateKey getPrivateKey() { 136 PrivateKey priv = pair.getPrivate();
|
/openjdk7/jdk/src/share/classes/java/security/interfaces/ |
H A D | ECPrivateKey.java | 28 import java.security.PrivateKey; 36 * @see PrivateKey 41 public interface ECPrivateKey extends PrivateKey, ECKey {
|
H A D | DSAPrivateKey.java | 41 public interface DSAPrivateKey extends DSAKey, java.security.PrivateKey {
|
H A D | RSAPrivateKey.java | 39 public interface RSAPrivateKey extends java.security.PrivateKey, RSAKey
|
/openjdk7/jdk/src/share/classes/javax/crypto/interfaces/ |
H A D | DHPrivateKey.java | 39 public interface DHPrivateKey extends DHKey, java.security.PrivateKey {
|
/openjdk7/jdk/src/windows/classes/sun/security/mscapi/ |
H A D | RSAPrivateKey.java | 28 import java.security.PrivateKey; 36 class RSAPrivateKey extends Key implements PrivateKey
|
/openjdk7/jdk/src/share/classes/javax/security/auth/x500/ |
H A D | X500PrivateCredential.java | 28 import java.security.PrivateKey; 42 private PrivateKey key; 50 * @param key PrivateKey for the certificate 56 public X500PrivateCredential(X509Certificate cert, PrivateKey key) { 69 * @param key PrivateKey for the certificate 75 public X500PrivateCredential(X509Certificate cert, PrivateKey key, 95 * Returns the PrivateKey. 97 * @return the PrivateKey 99 public PrivateKey getPrivateKey() { 128 * @return true if X509Certificate and the PrivateKey ar [all...] |
/openjdk7/jdk/src/share/classes/com/sun/net/ssl/ |
H A D | X509KeyManager.java | 33 import java.security.PrivateKey; 108 public PrivateKey getPrivateKey(String alias);
|
/openjdk7/jdk/test/sun/security/rsa/ |
H A D | TestKeyFactory.java | 64 } else if (key1 instanceof PrivateKey) { 93 private static void testPrivate(KeyFactory kf, PrivateKey key) throws Exception { 95 PrivateKey key2 = (PrivateKey)kf.translateKey(key); 97 PrivateKey key3 = kf.generatePrivate(rsaSpec); 99 PrivateKey key4 = kf.generatePrivate(pkcs8Spec); 101 PrivateKey key5 = kf.generatePrivate(pkcs8Spec2); 109 PrivateKey key6 = kf.generatePrivate(rsaSpec2); 112 PrivateKey key7 = kf.generatePrivate(rsaSpec3); 123 } else if (key instanceof PrivateKey) { [all...] |
H A D | TestSignatures.java | 55 private static void testSignature(String algorithm, PrivateKey privateKey, PublicKey publicKey) throws Exception { 79 private static void test(PrivateKey privateKey, PublicKey publicKey) throws Exception { 103 PrivateKey privateKey = (PrivateKey)ks.getKey(alias, password); 105 privateKey = (PrivateKey)kf.translateKey(privateKey);
|
/openjdk7/jdk/test/sun/security/pkcs11/ec/ |
H A D | TestKeyFactory.java | 53 } else if (key1 instanceof PrivateKey) { 86 private static void testPrivate(KeyFactory kf, PrivateKey key) throws Exception { 88 PrivateKey key2 = (PrivateKey)kf.translateKey(key); 90 PrivateKey key3 = kf.generatePrivate(keySpec); 92 PrivateKey key4 = kf.generatePrivate(pkcs8Spec); 94 PrivateKey key5 = kf.generatePrivate(pkcs8Spec2); 108 } else if (key instanceof PrivateKey) { 109 testPrivate(kf, (PrivateKey)key);
|
/openjdk7/jdk/test/sun/security/pkcs11/rsa/ |
H A D | TestKeyFactory.java | 65 } else if (key1 instanceof PrivateKey) { 94 private static void testPrivate(KeyFactory kf, PrivateKey key) throws Exception { 96 PrivateKey key2 = (PrivateKey)kf.translateKey(key); 98 PrivateKey key3 = kf.generatePrivate(rsaSpec); 100 PrivateKey key4 = kf.generatePrivate(pkcs8Spec); 102 PrivateKey key5 = kf.generatePrivate(pkcs8Spec2); 111 // PrivateKey key6 = kf.generatePrivate(rsaSpec2); 114 // PrivateKey key7 = kf.generatePrivate(rsaSpec3); 125 } else if (key instanceof PrivateKey) { [all...] |
H A D | TestSignatures.java | 56 private static void testSignature(String algorithm, PrivateKey privateKey, PublicKey publicKey) throws Exception { 80 private static void test(PrivateKey privateKey, PublicKey publicKey) throws Exception { 108 PrivateKey privateKey = (PrivateKey)ks.getKey(alias, password); 110 privateKey = (PrivateKey)kf.translateKey(privateKey);
|
/openjdk7/jdk/src/share/classes/javax/net/ssl/ |
H A D | X509KeyManager.java | 29 import java.security.PrivateKey; 134 public PrivateKey getPrivateKey(String alias);
|
/openjdk7/jdk/test/sun/security/pkcs11/Secmod/ |
H A D | JksSetPrivateKey.java | 57 PrivateKey privateKey = (PrivateKey)ks.getKey(keyAlias, password); 67 throw new Exception("No, an NSS PrivateKey shouldn't be extractable and put inside a JKS keystore"); 90 class DummyPrivateKey implements PrivateKey { 104 class DummyPrivateKey2 implements PrivateKey {
|
H A D | AddPrivateKey.java | 99 PrivateKey key = entry.getPrivateKey(); 122 PrivateKey key2 = (PrivateKey)ks.getKey(ALIAS1, null); 141 PrivateKey key3 = (PrivateKey)kf.translateKey(key); 154 PrivateKey key4 = (PrivateKey)ks.getKey(ALIAS2, null); 172 PrivateKey key5 = (PrivateKey)ks.getKey(ALIAS3, null); 195 private static void sign(Provider p, PrivateKey privateKe [all...] |
H A D | GetPrivateKey.java | 57 PrivateKey privateKey = (PrivateKey)ks.getKey(keyAlias, password);
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11KeyFactory.java | 131 } else if (key instanceof PrivateKey) { 132 PrivateKey privateKey = implTranslatePrivateKey((PrivateKey)key); 137 ("Key must be instance of PublicKey or PrivateKey"); 150 abstract PrivateKey implTranslatePrivateKey(PrivateKey key)
|
/openjdk7/jdk/src/share/classes/sun/security/ec/ |
H A D | ECKeyFactory.java | 33 * KeyFactory for EC keys. Keys must be instances of PublicKey or PrivateKey 44 * . PrivateKey with a PKCS#8 encoding 147 } else if (key instanceof PrivateKey) { 148 return implTranslatePrivateKey((PrivateKey)key); 167 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 200 private PrivateKey implTranslatePrivateKey(PrivateKey key) 238 private PrivateKey implGeneratePrivate(KeySpec keySpec)
|
/openjdk7/jdk/test/sun/security/provider/X509Factory/ |
H A D | BigCRL.java | 35 import java.security.PrivateKey; 63 PrivateKey privateKey = (PrivateKey)
|
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/ |
H A D | Sealtest.java | 71 PrivateKey priv = (PrivateKey)sealed.getObject(skey);
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/ |
H A D | SignatureBaseRSA.java | 27 import java.security.PrivateKey; 153 if (!(privateKey instanceof PrivateKey)) { 155 String needed = PrivateKey.class.getName(); 164 ((PrivateKey) privateKey, secureRandom); 173 if (!(privateKey instanceof PrivateKey)) { 175 String needed = PrivateKey.class.getName(); 183 this._signatureAlgorithm.initSign((PrivateKey) privateKey);
|