Searched refs:PasswordProtection (Results 1 – 11 of 11) sorted by relevance
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()
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()
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()
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()
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()
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()
281 public static class PasswordProtection implements class in KeyStore297 public PasswordProtection(char[] password) { in PasswordProtection() method in KeyStore.PasswordProtection325 public PasswordProtection(char[] password, String protectionAlgorithm, in PasswordProtection() method in KeyStore.PasswordProtection1786 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()
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()
26 import java.security.KeyStore.PasswordProtection;127 new PasswordProtection("the key password".toCharArray())); in testKeyStoreCreate()140 "aPrivateKey", new PasswordProtection("the key password" in testKeyStoreCreate()
333 public static class PasswordProtection class in KeyStore336 public PasswordProtection(char[] password) { in PasswordProtection() method in KeyStore.PasswordProtection340 public PasswordProtection( in PasswordProtection() method in KeyStore.PasswordProtection
28 import java.security.KeyStore.PasswordProtection;832 PasswordProtection password = new PasswordProtection(keyPassword); in privateKey()