Searched defs:password (Results 1 - 19 of 19) sorted by relevance

/libcore/luni/src/main/java/java/net/
H A DPasswordAuthentication.java22 * password which is used by the {@code Authenticator} class.
30 private char[] password; field in class:PasswordAuthentication
33 * Creates an instance of a password authentication with a specified
34 * username and password.
38 * @param password
39 * the associated password to store.
41 public PasswordAuthentication(String userName, char[] password) { argument
43 this.password = password.clone();
47 * Gets a clone of the password store
[all...]
/libcore/luni/src/main/java/javax/net/ssl/
H A DKeyManagerFactorySpi.java39 * Initializes this instance with the specified key store and password.
43 * @param password
44 * the key store password.
52 protected abstract void engineInit(KeyStore ks, char[] password) throws KeyStoreException, argument
H A DKeyManagerFactory.java185 * Initializes this instance with the specified key store and password.
189 * @param password
190 * the password for the specified key store or {@code null} if no
199 public final void init(KeyStore ks, char[] password) throws KeyStoreException, argument
201 spiImpl.engineInit(ks, password);
/libcore/luni/src/main/java/javax/crypto/spec/
H A DPBEKeySpec.java25 * The key specification for a <i>password based encryption</i> key.
32 private char[] password; field in class:PBEKeySpec
38 * Creates a new <code>PBEKeySpec</code> with the specified password.
40 * @param password
41 * the password.
43 public PBEKeySpec(char[] password) { argument
44 if (password == null) {
45 this.password = EmptyArray.CHAR;
47 this.password = new char[password
73 PBEKeySpec(char[] password, byte[] salt, int iterationCount, int keyLength) argument
115 PBEKeySpec(char[] password, byte[] salt, int iterationCount) argument
[all...]
/libcore/luni/src/main/java/javax/security/auth/callback/
H A DPasswordCallback.java24 * Used in conjunction with a {@link CallbackHandler} to retrieve a password
78 * Sets the password. The {@link CallbackHandler} that performs the actual
79 * provisioning or input of the password needs to call this method to hand
80 * back the password to the security service that requested it.
82 * @param password
83 * the password. A copy of this is stored, so subsequent changes
86 public void setPassword(char[] password) { argument
87 if (password == null) {
88 this.inputPassword = password;
90 inputPassword = new char[password
[all...]
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
H A DKeyManagerFactorySpiImpl.java16 public void engineInit(KeyStore ks, char[] password) argument
20 if (ks == null && password == null) {
28 if (password == null) {
H A DMyKeyManagerFactorySpi.java38 protected void engineInit(KeyStore ks, char[] password) argument
41 if (password == null) {
42 throw new KeyStoreException("Incorrect password");
/libcore/luni/src/test/java/libcore/javax/crypto/
H A DSecretKeyFactoryTest.java51 // PBEKeySpecs password only constructor
127 char[] password = "password".toCharArray();
138 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected);
139 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected);
148 char[] password = ("All n-entities must communicate with other "
162 test_PBKDF2_UTF8(password, salt, iterations, keyLength, expected);
163 test_PBKDF2_8BIT(password, salt, iterations, keyLength, expected);
173 char[] password = "\u0141\u0142".toCharArray();
189 test_PBKDF2_UTF8(password, sal
193 test_PBKDF2_8BIT(char[] password, byte[] salt, int iterations, int keyLength, byte[] expected) argument
204 test_PBKDF2_UTF8(char[] password, byte[] salt, int iterations, int keyLength, byte[] expected) argument
[all...]
/libcore/luni/src/test/java/tests/support/
H A DSupport_SQL.java86 String password) throws SQLException {
88 return DriverManager.getConnection(url, login, password);
85 getConnection(String url, String login, String password) argument
/libcore/luni/src/main/java/java/security/
H A DKeyStoreSpi.java40 * Returns the key with the given alias, using the password to recover the
45 * @param password
46 * the password used to recover the key.
54 public abstract Key engineGetKey(String alias, char[] password) argument
88 * Associates the given alias with the key, password and certificate chain.
96 * @param password
97 * the password.
108 char[] password, Certificate[] chain) throws KeyStoreException;
219 * specified password.
223 * @param password
107 engineSetKeyEntry(String alias, Key key, char[] password, Certificate[] chain) argument
233 engineStore(OutputStream stream, char[] password) argument
276 engineLoad(InputStream stream, char[] password) argument
[all...]
H A DKeyStore.java231 * Returns the key with the given alias, using the password to recover the
236 * @param password
237 * the password used to recover the key.
247 public final Key getKey(String alias, char[] password) argument
253 return implSpi.engineGetKey(alias, password);
308 * Associates the given alias with the key, password and certificate chain.
316 * @param password
317 * the password.
328 public final void setKeyEntry(String alias, Key key, char[] password, argument
338 implSpi.engineSetKeyEntry(alias, key, password, chai
531 store(OutputStream stream, char[] password) argument
588 load(InputStream stream, char[] password) argument
1108 private char[] password; field in class:KeyStore.PasswordProtection
1120 PasswordProtection(char[] password) argument
[all...]
/libcore/luni/src/main/java/java/sql/
H A DDriverManager.java156 * "password"} should be passed, with appropriate settings for
157 * the user ID and its corresponding password to get access to
196 * @param password
197 * a password for the user ID to login to the database.
204 public static Connection getConnection(String url, String user, String password) argument
210 if (password != null) {
211 theProperties.setProperty("password", password);
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/
H A DMyKeyStore.java63 public Key engineGetKey(String alias, char[] password) argument
92 public void engineSetKeyEntry(String alias, Key key, char[] password, argument
178 public void engineStore(OutputStream stream, char[] password) argument
201 public void engineLoad(InputStream stream, char[] password) argument
H A DMyKeyStoreSpi.java48 public Key engineGetKey(String alias, char[] password) argument
68 public void engineSetKeyEntry(String alias, Key key, char[] password, argument
129 public void engineStore(OutputStream stream, char[] password) argument
142 public void engineLoad(InputStream stream, char[] password) argument
H A DTestKeyStoreSpi.java108 public Key engineGetKey(String alias, char[] password) argument
112 if (password == null) {
146 public void engineLoad(InputStream stream, char[] password) argument
154 if (password == null) {
156 } else if (password.length == 0) {
175 char[] password = ((PasswordProtection) pParam).getPassword();
176 if (password == null) {
197 public void engineSetKeyEntry(String alias, Key key, char[] password, argument
227 public void engineStore(OutputStream stream, char[] password) argument
233 if (password
[all...]
/libcore/luni/src/main/java/libcore/net/url/
H A DFtpURLConnection.java89 private String password = ""; field in class:FtpURLConnection
114 password = parse.substring(split + 1);
386 write("PASS " + password + "\r\n");
/libcore/luni/src/test/java/libcore/javax/net/ssl/
H A DSSLContextTest.java378 protected void engineInit(KeyStore ks, char[] password) throws KeyStoreException, argument
/libcore/luni/src/main/java/javax/sql/
H A DRowSet.java100 * properties to be set: URL, database name, user name, password,
174 * Gets the value of the password property for this {@code RowSet}. This
178 * @return the value of the password property.
1425 * @param password
1426 * a {@code String} holding the password.
1430 public void setPassword(String password) throws SQLException; argument
/libcore/benchmarks/src/benchmarks/regression/
H A DR.java1966 public static final int password = 0; field in class:R

Completed in 473 milliseconds