Home
last modified time | relevance | path

Searched refs:PASSWORD (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/security/KeyStore/
DProbeKeystores.java43 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/
DSecretKeyFactoryTest.java32 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/
DX509KeyManagerTest.java27 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()
DSSLServerSocketTest.java389 private String PASSWORD = "android"; field in SSLServerSocketTest
401 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers()
406 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
DHandshakeCompletedEventTest.java206 private String PASSWORD = "android"; field in HandshakeCompletedEventTest
541 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers()
546 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
DSSLSocketTest.java432 private String PASSWORD = "android"; field in SSLSocketTest
606 keyStore.load(inputStream, PASSWORD.toCharArray()); in getKeyManagers()
611 keyManagerFactory.init(keyStore, PASSWORD.toCharArray()); in getKeyManagers()
DSSLSessionTest.java445 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/
DKeyStorePkcs7FormatTest.java55 private static final char[] PASSWORD = "password".toCharArray(); field in KeyStorePkcs7FormatTest
125 keystore.load(inputStream, PASSWORD); in keystoreIsReadableAndConsistent()
167 keystore.load(inputStream, PASSWORD); in unknownHashThrowsCorrectException()