/libcore/ojluni/src/test/java/security/KeyStore/ |
D | ProbeKeystores.java | 43 private static final char[] PASSWORD = "changeit".toCharArray(); field in ProbeKeystores 46 new MyLoadStoreParameter(new PasswordProtection(PASSWORD)); 102 ks.store(stream, PASSWORD); in init() 112 new PasswordProtection(PASSWORD)); in init() 114 ks.store(stream, PASSWORD); in init() 122 ks = KeyStore.getInstance(file, PASSWORD); in probe() 149 ks = KeyStore.getInstance(file, PASSWORD); in probeFails() 161 new PasswordProtection(PASSWORD)); in build() 178 ks.load(stream, PASSWORD); in load() 210 pcb.setPassword(PASSWORD); in handle()
|
/libcore/luni/src/test/java/libcore/javax/crypto/ |
D | SecretKeyFactoryTest.java | 32 private static final char[] PASSWORD = "google".toCharArray(); field in SecretKeyFactoryTest 67 KeySpec ks = new PBEKeySpec(PASSWORD); in test_PBKDF2_required_parameters() 88 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS); in test_PBKDF2_required_parameters() 108 KeySpec ks = new PBEKeySpec(PASSWORD, SALT, ITERATIONS, KEY_LENGTH); in test_PBKDF2_required_parameters() 119 test_PBKDF2_UTF8(PASSWORD, SALT, ITERATIONS, KEY_LENGTH, expected); in test_PBKDF2_b3059950() 120 test_PBKDF2_8BIT(PASSWORD, SALT, ITERATIONS, KEY_LENGTH, expected); in test_PBKDF2_b3059950()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/ |
D | X509KeyManagerTest.java | 27 private static final char[] PASSWORD = "1234".toCharArray(); field in X509KeyManagerTest 639 … keyTest.setKeyEntry("clientKey_01", keys[0], PASSWORD, new X509Certificate[] {cert[0]}); in init() 640 … keyTest.setKeyEntry("clientKey_02", keys[1], PASSWORD, new X509Certificate[] {cert[0], cert[1]}); in init() 641 … keyTest.setKeyEntry("clientKey_03", keys[2], PASSWORD, new X509Certificate[] {cert[0], cert[2]}); in init() 650 … keyTest.setKeyEntry("serverKey_00", keys[0], PASSWORD, new X509Certificate[] {cert[0]}); in init()
|
D | SSLServerSocketTest.java | 389 private String PASSWORD = "android"; field in SSLServerSocketTest 401 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 406 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
|
D | HandshakeCompletedEventTest.java | 206 private String PASSWORD = "android"; field in HandshakeCompletedEventTest 541 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 546 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
|
D | SSLSocketTest.java | 432 private String PASSWORD = "android"; field in SSLSocketTest 606 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers() 611 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
|
D | SSLSessionTest.java | 445 private String PASSWORD = "android"; field in SSLSessionTest 613 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyStore() 625 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
|
/libcore/luni/src/test/java/tests/targets/security/ |
D | KeyStorePkcs7FormatTest.java | 55 private static final char[] PASSWORD = "password".toCharArray(); field in KeyStorePkcs7FormatTest 125 keystore.load(inputStream, PASSWORD); in keystoreIsReadableAndConsistent() 167 keystore.load(inputStream, PASSWORD); in unknownHashThrowsCorrectException()
|