Searched refs:PasswordProtection (Results 1 - 12 of 12) sorted by relevance
/openjdk7/jdk/test/sun/security/provider/KeyStore/ |
H A D | WrongPassword.java | 85 entry = ks.getEntry(alias, new PasswordProtection(wrongPW)); 92 entry = ks.getEntry(alias, new PasswordProtection(new char[0])); 98 entry = ks.getEntry(alias, new PasswordProtection(pw)); 126 System.out.println(ks.getEntry(otherAlias, new PasswordProtection(wrongPW)));
|
/openjdk7/jdk/test/java/security/KeyStore/ |
H A D | EntryMethods.java | 114 new KeyStore.PasswordProtection(password)); 138 new KeyStore.PasswordProtection(password)); 160 new KeyStore.PasswordProtection(badPwd)); 179 e = ks.getEntry("privkey", new KeyStore.PasswordProtection(password)); 200 new KeyStore.PasswordProtection(password)); 210 new KeyStore.PasswordProtection(password)); 241 new KeyStore.PasswordProtection(password)); 243 new KeyStore.PasswordProtection(password)); 255 new KeyStore.PasswordProtection(password)); 317 e = ks.getEntry("foo", new KeyStore.PasswordProtection(passwor [all...] |
H A D | KeyStoreBuilder.java | 56 builder = Builder.newInstance("JKS", null, KSFILE, new PasswordProtection(password)); 69 builder = Builder.newInstance("JKS", null, new PasswordProtection(password));
|
/openjdk7/jdk/src/share/classes/java/security/ |
H A D | KeyStoreSpi.java | 391 if (protection instanceof PasswordProtection) { 392 password = ((PasswordProtection)protection).getPassword(); 412 + " be PasswordProtection or CallbackHandlerProtection"); 464 if (protParam instanceof KeyStore.PasswordProtection) { 469 KeyStore.PasswordProtection pp = 470 (KeyStore.PasswordProtection)protParam; 510 !(protParam instanceof KeyStore.PasswordProtection)) { 513 KeyStore.PasswordProtection pProtect = null; 515 pProtect = (KeyStore.PasswordProtection)protParam;
|
H A D | KeyStore.java | 135 * new KeyStore.PasswordProtection(password); 249 public static class PasswordProtection implements class in class:KeyStore 259 * in the new <code>PasswordProtection</code> object. 263 public PasswordProtection(char[] password) { method in class:KeyStore.PasswordProtection 1476 * <code>PasswordProtection</code>, the password is obtained by 1491 * will return a {@link KeyStore.PasswordProtection PasswordProtection} 1507 * of either PasswordProtection or CallbackHandlerProtection; or 1515 if ((protection instanceof PasswordProtection == false) && 1518 ("Protection must be PasswordProtection o [all...] |
/openjdk7/jdk/test/sun/security/pkcs12/ |
H A D | Bug6415637.java | 56 new KeyStore.PasswordProtection(new char[0]));
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | KeyManagerFactoryImpl.java | 96 new PasswordProtection(password));
|
/openjdk7/jdk/test/sun/security/pkcs11/fips/ |
H A D | ImportKeyStore.java | 79 PrivateKeyEntry entry = (PrivateKeyEntry)srcks.getEntry(alias, new PasswordProtection(passwd));
|
/openjdk7/jdk/test/sun/security/pkcs11/Secmod/ |
H A D | AddPrivateKey.java | 73 PrivateKeyEntry entry = (PrivateKeyEntry)jks.getEntry(alias, new PasswordProtection(jkspass));
|
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/ |
H A D | P11KeyStore.java | 466 engineSetEntry(alias, entry, new KeyStore.PasswordProtection(password)); 793 * method is expected to return a <code>KeyStore.PasswordProtection</code> 822 // force it to pass a non-NULL PasswordProtection that returns 839 if (pp instanceof PasswordProtection) { 840 char[] password = ((PasswordProtection)pp).getPassword(); 851 "PasswordProtection or CallbackHandlerProtection"); 915 protParam instanceof KeyStore.PasswordProtection && 916 ((KeyStore.PasswordProtection)protParam).getPassword() != null && 1018 protParam instanceof KeyStore.PasswordProtection && 1019 ((KeyStore.PasswordProtection)protPara [all...] |
H A D | Secmod.java | 592 this(trustType, new PasswordProtection(password));
|
/openjdk7/jdk/src/share/classes/sun/security/tools/ |
H A D | KeyTool.java | 1602 PasswordProtection pp = null; 1612 pp = new PasswordProtection(keyPassNew); 1913 PasswordProtection pp = null; 1920 pp = new PasswordProtection(destKeyPass); 1922 pp = new PasswordProtection(objs.snd); 3140 PasswordProtection pp = null; 3163 pp = new PasswordProtection(pkey); 3171 pp = new PasswordProtection(pstore); 3186 pp = new PasswordProtection(pkey);
|
Completed in 94 milliseconds