/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/ |
H A D | ConstructKeys.java | 30 import java.security.PrivateKey; 113 private static final PrivateKey constructPrivateKey(byte[] encodedKey, 117 PrivateKey key = null;
|
H A D | CipherWithWrappingSpi.java | 30 import java.security.PrivateKey; 210 private final PrivateKey constructPrivateKey(byte[] encodedKey, 214 PrivateKey key = null;
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/www/protocol/https/HttpsClient/ |
H A D | MyKeyManager.java | 139 public PrivateKey getPrivateKey(String alias) { 143 if (!(key instanceof PrivateKey)) 145 return (PrivateKey)key;
|
/openjdk7/jdk/test/java/security/Provider/ |
H A D | SupportsParameter.java | 44 PrivateKey dsaPrivateKey = kp.getPrivate(); 47 PrivateKey myPrivateKey = new MyPrivateKey(); 62 // DSAPublic/PrivateKey specified as classes 78 // MyPublic/PrivateKey + DSAPublicKey specified as classes 86 // MyPublic/PrivateKey + DSAPublicKey specified as classes 139 private static class MyPrivateKey extends MyKey implements PrivateKey { }
|
/openjdk7/jdk/test/sun/security/mscapi/ |
H A D | PublicKeyInterop.java | 41 PrivateKey privKey = null; 50 PrivateKey myPrKey = (PrivateKey) ks.getKey("6888925", null);
|
H A D | SignUsingSHA2withRSA.java | 62 PrivateKey privateKey = null; 69 privateKey = (PrivateKey) ks.getKey(alias, null); 92 PrivateKey privateKey) throws Exception {
|
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/rsa/ |
H A D | BrokenRSAPrivateCrtKey.java | 60 PrivateKey privatekey2 = factory.generatePrivate(spec);
|
/openjdk7/jdk/test/sun/security/pkcs11/Signature/ |
H A D | TestRSAKeyLength.java | 45 PrivateKey privKey = kp.getPrivate();
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | SignedObject.java | 146 public SignedObject(Serializable object, PrivateKey signingKey, 238 private void sign(PrivateKey signingKey, Signature signingEngine)
|
H A D | SignatureSpi.java | 82 protected abstract void engineInitSign(PrivateKey privateKey) 99 protected void engineInitSign(PrivateKey privateKey,
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | ECDHCrypt.java | 46 private PrivateKey privateKey; 52 ECDHCrypt(PrivateKey privateKey, PublicKey publicKey) {
|
H A D | SunX509KeyManagerImpl.java | 42 * All key entries containing a PrivateKey and a non-empty chain of 93 PrivateKey privateKey; 97 X509Credentials(PrivateKey privateKey, X509Certificate[] certificates) { 132 if (key instanceof PrivateKey == false) { 146 X509Credentials cred = new X509Credentials((PrivateKey)key, 182 public PrivateKey getPrivateKey(String alias) {
|
H A D | RSASignature.java | 116 protected void engineInitSign(PrivateKey privateKey) 121 protected void engineInitSign(PrivateKey privateKey, SecureRandom random)
|
/openjdk7/jdk/test/sun/security/pkcs11/rsa/ |
H A D | KeyWrap.java | 62 PrivateKey priv = (PrivateKey)kf.translateKey(kp.getPrivate());
|
H A D | GenKeyStore.java | 46 private static X509Certificate getCertificate(String suffix, PublicKey publicKey, PrivateKey privateKey) throws Exception { 70 PrivateKey privKey = kp.getPrivate();
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs/ |
H A D | PKCS8Key.java | 33 import java.security.PrivateKey; 52 public class PKCS8Key implements PrivateKey { 92 PrivateKey key; 115 public static PrivateKey parseKey (DerValue in) throws IOException 118 PrivateKey privKey; 168 static PrivateKey buildPKCS8Key (AlgorithmId algid, byte[] key) 205 classname = sunProvider.getProperty("PrivateKey.PKCS#8." +
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11DHKeyFactory.java | 80 PrivateKey implTranslatePrivateKey(PrivateKey key) 95 key = (PrivateKey)factory.translateKey(key); 101 throw new InvalidKeyException("PrivateKey must be instance " 141 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 147 PrivateKey key = factory.generatePrivate(keySpec); 193 private PrivateKey generatePrivate(BigInteger x, BigInteger p,
|
H A D | P11DSAKeyFactory.java | 75 PrivateKey implTranslatePrivateKey(PrivateKey key) 93 throw new InvalidKeyException("PrivateKey must be instance " 134 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 140 PrivateKey key = new sun.security.provider.DSAPrivateKey(encoded); 188 private PrivateKey generatePrivate(BigInteger x, BigInteger p,
|
H A D | P11RSAKeyFactory.java | 74 PrivateKey implTranslatePrivateKey(PrivateKey key) 143 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 149 PrivateKey key = 211 private PrivateKey generatePrivate(BigInteger n, BigInteger d) 233 private PrivateKey generatePrivate(BigInteger n, BigInteger e,
|
/openjdk7/jdk/src/share/classes/sun/security/rsa/ |
H A D | RSAKeyFactory.java | 37 * KeyFactory for RSA keys. Keys must be instances of PublicKey or PrivateKey 48 * . PrivateKey with a PKCS#8 encoding 190 } else if (key instanceof PrivateKey) { 191 return translatePrivateKey((PrivateKey)key); 210 protected PrivateKey engineGeneratePrivate(KeySpec keySpec) 248 private PrivateKey translatePrivateKey(PrivateKey key) 312 private PrivateKey generatePrivate(KeySpec keySpec)
|
/openjdk7/jdk/src/share/classes/com/sun/org/apache/xml/internal/security/algorithms/implementations/ |
H A D | SignatureDSA.java | 27 import java.security.PrivateKey; 183 if (!(privateKey instanceof PrivateKey)) { 185 String needed = PrivateKey.class.getName(); 193 this._signatureAlgorithm.initSign((PrivateKey) privateKey, 205 if (!(privateKey instanceof PrivateKey)) { 207 String needed = PrivateKey.class.getName(); 215 this._signatureAlgorithm.initSign((PrivateKey) privateKey);
|
H A D | SignatureECDSA.java | 30 import java.security.PrivateKey; 270 if (!(privateKey instanceof PrivateKey)) { 272 String needed = PrivateKey.class.getName(); 280 this._signatureAlgorithm.initSign((PrivateKey) privateKey, 290 if (!(privateKey instanceof PrivateKey)) { 292 String needed = PrivateKey.class.getName(); 300 this._signatureAlgorithm.initSign((PrivateKey) privateKey);
|
/openjdk7/jdk/test/sun/security/provider/KeyStore/ |
H A D | CaseSensitiveAliases.java | 95 PrivateKey p1 = kpg.generateKeyPair().getPrivate(); 96 PrivateKey p2 = kpg.generateKeyPair().getPrivate();
|
/openjdk7/jdk/test/sun/security/rsa/ |
H A D | GenKeyStore.java | 46 private static X509Certificate getCertificate(String suffix, PublicKey publicKey, PrivateKey privateKey) throws Exception { 70 PrivateKey privKey = kp.getPrivate();
|
/openjdk7/jdk/test/sun/security/pkcs11/KeyAgreement/ |
H A D | TestInterop.java | 90 PrivateKey privA = kf.generatePrivate(privSpecA); 95 PrivateKey privB = kf.generatePrivate(privSpecB);
|