/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | KSPasswordProtectionTest.java | 51 KeyStore.PasswordProtection ksPWP = new KeyStore.PasswordProtection(pass); in testGetPassword() 68 ksPWP = new KeyStore.PasswordProtection(null); in testGetPassword() 86 KeyStore.PasswordProtection ksPWP; in testGetProtectionAlgorithm() 88 ksPWP = new KeyStore.PasswordProtection( in testGetProtectionAlgorithm() 93 ksPWP = new KeyStore.PasswordProtection( in testGetProtectionAlgorithm() 110 KeyStore.PasswordProtection ksPWP = in testGetProtectionParameters() 111 new KeyStore.PasswordProtection( in testGetProtectionParameters() 114 ksPWP = new KeyStore.PasswordProtection( in testGetProtectionParameters()
|
D | KeyStoreBuilderTest.java | 47 private KeyStore.PasswordProtection protPass = new KeyStore.PasswordProtection( 118 KeyStore.PasswordProtection protPass1 = new KeyStore.PasswordProtection( in testNewInstanceKeyStoreProtectionParameter() 172 assertTrue(pPar instanceof KeyStore.PasswordProtection); in testNewInstanceKeyStoreProtectionParameter() 175 assertTrue(pPar instanceof KeyStore.PasswordProtection); in testNewInstanceKeyStoreProtectionParameter()
|
D | KeyStore4Test.java | 359 return new KeyStore.PasswordProtection("PASSWORD".toCharArray()); in testStoreLoadStoreParameter() 407 return new KeyStore.PasswordProtection("".toCharArray()); in testStoreLoadStoreParameter() 423 return new KeyStore.PasswordProtection(null); in testStoreLoadStoreParameter() 515 return new KeyStore.PasswordProtection("PASSWORD".toCharArray()); in testLoadLoadStoreParameter() 589 … Entry entry = keyStore.getEntry("keyalias", new KeyStore.PasswordProtection(new char[] {} )); in testGetEntry() 601 keyStore.getEntry("unknownalias", new KeyStore.PasswordProtection(new char[] {})); in testGetEntry()
|
D | KeyStoreTest.java | 132 new KeyStore.PasswordProtection(new char[0])); in testLoadStore02() 234 assertNull(new KeyStore.PasswordProtection(null).getPassword()); in testKeyStorePPGetPassword() 236 KeyStore.PasswordProtection pp = new KeyStore.PasswordProtection(password); in testKeyStorePPGetPassword()
|
D | KeyStore2Test.java | 631 KeyStore.PasswordProtection pp = new KeyStore.PasswordProtection(pssWord); in test_deleteEntry() 670 KeyStore.PasswordProtection pp = new KeyStore.PasswordProtection( in test_getCreationDate() 731 keyTest.getEntry("anAlias", new KeyStore.PasswordProtection(new char[] {})); in test_getEntry() 739 keyTest.getEntry(null, new KeyStore.PasswordProtection(new char[] {})); in test_getEntry() 765 KeyStore.PasswordProtection pp = new KeyStore.PasswordProtection(pssWord); in test_getEntry() 815 KeyStore.PasswordProtection pp = new KeyStore.PasswordProtection(pssWord); in test_setEntry()
|
/libcore/ojluni/src/main/java/java/security/ |
D | KeyStoreSpi.java | 392 if (protection instanceof PasswordProtection) { in engineLoad() 393 password = ((PasswordProtection)protection).getPassword(); in engineLoad() 467 if ((protParam == null) || protParam instanceof KeyStore.PasswordProtection) { in engineGetEntry() 478 KeyStore.PasswordProtection pp = in engineGetEntry() 479 (KeyStore.PasswordProtection)protParam; in engineGetEntry() 519 !(protParam instanceof KeyStore.PasswordProtection)) { in engineSetEntry() 522 KeyStore.PasswordProtection pProtect = null; in engineSetEntry() 524 pProtect = (KeyStore.PasswordProtection)protParam; in engineSetEntry()
|
D | KeyStore.java | 281 public static class PasswordProtection implements class in KeyStore 297 public PasswordProtection(char[] password) { in PasswordProtection() method in KeyStore.PasswordProtection 325 public PasswordProtection(char[] password, String protectionAlgorithm, in PasswordProtection() method in KeyStore.PasswordProtection 1786 if ((protection instanceof PasswordProtection == false) && in newInstance() 1867 if (protection instanceof PasswordProtection) { in getKeyStore() 1869 ((PasswordProtection)protection).getPassword(); in getKeyStore() 1885 keyProtection = new PasswordProtection(password); in getKeyStore()
|
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
D | TestKeyStoreSpi.java | 15 import java.security.KeyStore.PasswordProtection; 174 if (pParam instanceof PasswordProtection) { in engineLoad() 175 char[] password = ((PasswordProtection) pParam).getPassword(); in engineLoad() 248 if (pParam instanceof PasswordProtection) { in engineStore() 249 char[] password = ((PasswordProtection) pParam).getPassword(); in engineStore()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStoreTest.java | 26 import java.security.KeyStore.PasswordProtection; 127 new PasswordProtection("the key password".toCharArray())); in testKeyStoreCreate() 140 "aPrivateKey", new PasswordProtection("the key password" in testKeyStoreCreate()
|
/libcore/ojluni/annotations/hiddenapi/java/security/ |
D | KeyStore.java | 333 public static class PasswordProtection class in KeyStore 336 public PasswordProtection(char[] password) { in PasswordProtection() method in KeyStore.PasswordProtection 340 public PasswordProtection( in PasswordProtection() method in KeyStore.PasswordProtection
|
/libcore/support/src/test/java/libcore/java/security/ |
D | TestKeyStore.java | 28 import java.security.KeyStore.PasswordProtection; 832 PasswordProtection password = new PasswordProtection(keyPassword); in privateKey()
|
/libcore/api/ |
D | current.txt | 7539 …public static class KeyStore.PasswordProtection implements javax.security.auth.Destroyable java.se… 7540 ctor public KeyStore.PasswordProtection(char[]); 7541 …ctor public KeyStore.PasswordProtection(char[], String, java.security.spec.AlgorithmParameterSpec);
|