/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/ |
PBEParametersGenerator.java | 4 * super class for all Password Based Encryption (PBE) parameter generator classes. 8 protected byte[] password; field in class:PBEParametersGenerator 22 * @param password the password converted into bytes (see below). 23 * @param salt the salt to be mixed with the password. 28 byte[] password, 32 this.password = password; 38 * return the password byte array. 40 * @return the password byte array [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
PasswordAuthentication.java | 22 * 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) { 43 this.password = password.clone(); 47 * Gets a clone of the password stored by this instance. The user i [all...] |
/dalvik/libcore/crypto/src/main/java/javax/crypto/spec/ |
PBEKeySpec.java | 26 * The key specification for a <i>password based encryption</i> key. 28 * Password based encryption is described in <a 33 private char[] password; field in class:PBEKeySpec 39 * Creates a new <code>PBEKeySpec</code> with the specified password. 41 * @param password 42 * the password. 44 public PBEKeySpec(char[] password) { 45 if (password == null) { 46 this.password = new char[0]; 48 this.password = new char[password.length] [all...] |
/frameworks/base/obex/javax/obex/ |
PasswordAuthentication.java | 36 * This class holds user name and password combinations. 47 * password provided. 49 * @param password the password to include in the response 50 * @throws NullPointerException if <code>password</code> is 53 public PasswordAuthentication(final byte[] userName, final byte[] password) { 59 mPassword = new byte[password.length]; 60 System.arraycopy(password, 0, mPassword, 0, password.length); 73 * Retrieves the password [all...] |
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
PasswordProtectedInputStream.java | 25 * This class implements a password-protected input stream. The algorithm used 31 private byte[] password; // Password to use to decrypt the input bytes field in class:PasswordProtectedInputStream 33 private int pwdIndex; // Index into the password array. 39 * @param password The password bytes to use to decrypt the input bytes 41 public PasswordProtectedInputStream(InputStream in, byte[] password) { 43 this.password = password.clone(); 50 read ^= password[pwdIndex] [all...] |
/external/webkit/WebKitTools/BuildSlaveSupport/build.webkit.org-config/webkit/ |
auth.py | 4 def createBuildSlave((name, password)): 5 return BuildSlave(name, password, max_builds=1) 9 return [("slave-name", "password")]
|
/dalvik/libcore/crypto/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
PBEKeySpecTest.java | 45 * PBEKeySpec(char[] password) method testing. Tests the behavior of 64 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 65 PBEKeySpec pbeks = new PBEKeySpec(password); 66 password[0] ++; 67 assertFalse("The change of password specified in the constructor " 69 password[0] == pbeks.getPassword()[0]); 73 * PBEKeySpec(char[] password, byte[] salt, int iterationCount, int 85 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 102 new PBEKeySpec(password, null, iterationCount, keyLength); 111 new PBEKeySpec(password, new byte [0], iterationCount, keyLength) 170 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 237 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 260 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 287 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 318 char[] password = new char[] {'1', '2', '3', '4', '5'}; local 341 char[] password = new char[] {'1', '2', '3', '4', '5'}; local [all...] |
/external/webkit/WebKit/chromium/src/ |
WebPasswordFormData.cpp | 52 // Helper to determine which password is the main one, and which is 53 // an old password (e.g on a "make new password" form), if any. 55 HTMLInputElement** password, 59 ASSERT(password); 63 // Single password, easy. 64 *password = fields->passwords[0]; 68 // Treat two identical passwords as a single password. 69 *password = fields->passwords[0]; 71 // Assume first is old password, second is new (no choice but to guess) [all...] |
/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
PasswordAuthenticationTest.java | 57 char[] password = new char[] { 'd', 'r', 'o', 'w', 's', 's', 'a', 'p' }; local 59 PasswordAuthentication pa = new PasswordAuthentication(name, password); 62 assertTrue("Password was not cloned", returnedPassword != password); 64 returnedPassword.length == password.length); 65 for (int counter = password.length - 1; counter >= 0; counter--) 67 returnedPassword[counter] == password[counter]); 76 pa = new PasswordAuthentication(null, password); 78 assertEquals(password.length, pa.getPassword().length);
|
/external/wpa_supplicant/examples/ |
ieee8021x.conf | 11 password="password"
|
/external/wpa_supplicant_6/wpa_supplicant/examples/ |
ieee8021x.conf | 11 password="password"
|
/packages/apps/IM/src/com/android/im/engine/ |
LoginInfo.java | 27 public LoginInfo(String userName, String password) { 29 mPassword = password;
|
/external/dropbear/ |
svr-authpasswd.c | 25 /* Validates a user password */ 35 /* Process a password auth request, sending success or failure messages as 43 char * testcrypt = NULL; /* crypt generated from the user's password sent */ 44 unsigned char * password; local 51 /* get the shadow password if possible */ 63 /* check for empty password - need to do this again here 64 * since the shadow password may differ to that tested 67 dropbear_log(LOG_WARNING, "user '%s' has blank password, rejected", 73 /* check if client wants to change password */ 81 password = buf_getstring(ses.payload, &passwordlen) [all...] |
cli-authpasswd.c | 44 /* returns a statically allocated password from a helper app, or NULL 118 char* password = NULL; local 124 snprintf(prompt, sizeof(prompt), "%s@%s's password: ", 128 password = gui_getpass(prompt); 131 password = getpass_or_cancel(prompt); 146 buf_putstring(ses.writepayload, password, strlen(password)); 149 m_burn(password, strlen(password));
|
/external/apache-http/src/org/apache/http/auth/ |
UsernamePasswordCredentials.java | 38 * Username and password {@link Credentials} 51 private final String password; field in class:UsernamePasswordCredentials 54 * The constructor with the username and password combined string argument. 56 * @param usernamePassword the username:password formed string 62 throw new IllegalArgumentException("Username:password string may not be null"); 67 this.password = usernamePassword.substring(atColon + 1); 70 this.password = null; 76 * The constructor with the username and password arguments. 79 * @param password the password [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/ |
eap_otp.c | 39 const u8 *pos, *password; local 51 password = eap_get_config_otp(sm, &password_len); 52 if (password) 55 password = eap_get_config_password(sm, &password_len); 59 if (password == NULL) { 60 wpa_printf(MSG_INFO, "EAP-OTP: Password not configured"); 76 wpabuf_put_data(resp, password, password_len); 78 password, password_len); 81 wpa_printf(MSG_DEBUG, "EAP-OTP: Forgetting used password");
|
mschapv2.c | 43 const u8 *password, size_t password_len, 70 wpa_hexdump_key(MSG_DEBUG, "MSCHAPV2: password hash", 71 password, password_len); 74 password, nt_response); 76 password, peer_challenge, auth_challenge, 79 wpa_hexdump_ascii_key(MSG_DEBUG, "MSCHAPV2: password", 80 password, password_len); 83 password, password_len, nt_response); 84 generate_authenticator_response(password, password_len, 96 hash_nt_password_hash(password, password_hash_hash) [all...] |
/frameworks/base/keystore/java/android/security/ |
KeyStore.java | 118 public boolean password(byte[] oldPassword, byte[] newPassword) { method in class:KeyStore 123 public boolean password(String oldPassword, String newPassword) { method in class:KeyStore 124 return password(getBytes(oldPassword), getBytes(newPassword)); 127 public boolean password(byte[] password) { method in class:KeyStore 128 return password(password, password); 131 public boolean password(String password) { method in class:KeyStore [all...] |
/frameworks/base/packages/VpnServices/src/com/android/server/vpn/ |
L2tpService.java | 28 protected void connect(String serverIp, String username, String password) 33 username, password);
|
PptpService.java | 28 protected void connect(String serverIp, String username, String password) 31 getDaemons().startPptp(serverIp, username, password,
|
/external/grub/util/ |
grub-md5-crypt | 3 # Encrypt a password in MD5 format 35 Encrypt a password in MD5 format. 67 # Prompt to enter a password. 68 echo -n "Password: " 69 read -r password 73 echo -n "Retype password: " 80 if test "x$password" = x; then 81 echo "Empty password is not permitted." 85 if test "x$password" != "x$password2"; then 94 $password [all...] |
grub-md5-crypt.in | 3 # Encrypt a password in MD5 format 35 Encrypt a password in MD5 format. 67 # Prompt to enter a password. 68 echo -n "Password: " 69 read -r password 73 echo -n "Retype password: " 80 if test "x$password" = x; then 81 echo "Empty password is not permitted." 85 if test "x$password" != "x$password2"; then 94 $password [all...] |
/external/webkit/WebCore/platform/network/ |
Credential.cpp | 44 Credential::Credential(const String& user, const String& password, CredentialPersistence persistence) 46 , m_password(password.length() ? password : "") 56 , m_password(original.password()) 81 const String& Credential::password() const function in class:WebCore::Credential 155 if (a.password() != b.password())
|
/external/wpa_supplicant/ |
eap_otp.c | 42 const u8 *pos, *password; local 57 password = eap_get_config_otp(sm, &password_len); 58 if (password) 61 password = eap_get_config_password(sm, &password_len); 65 if (password == NULL) { 66 wpa_printf(MSG_INFO, "EAP-OTP: Password not configured"); 83 os_memcpy(rpos, password, password_len); 85 password, password_len); 88 wpa_printf(MSG_DEBUG, "EAP-OTP: Forgetting used password");
|
/development/samples/SampleSyncAdapter/samplesyncadapter_server/ |
main.py | 41 request to include username and password fields. It returns authtoken 47 self.password = self.request.get('password') 48 password = datastore.UserCredentials.get(self.username) 49 if password == self.password: 51 # return the password as AuthToken 52 self.response.out.write(password) 68 self.password = self.request.get('password') [all...] |