/external/apache-harmony/crypto/src/test/api/java/org/apache/harmony/crypto/tests/javax/crypto/spec/ |
D | PBEKeySpecTest.java | 51 char[] password = new char[] { '1', '2', '3', '4', '5' }; in testPBEKeySpec1() local 52 PBEKeySpec pbeks = new PBEKeySpec(password); in testPBEKeySpec1() 53 password[0]++; in testPBEKeySpec1() 56 password[0] == pbeks.getPassword()[0]); in testPBEKeySpec1() 66 char[] password = new char[] { '1', '2', '3', '4', '5' }; in testPBEKeySpec2() local 83 new PBEKeySpec(password, null, iterationCount, keyLength); in testPBEKeySpec2() 92 new PBEKeySpec(password, new byte[0], iterationCount, keyLength); in testPBEKeySpec2() 99 new PBEKeySpec(password, salt, -1, keyLength); in testPBEKeySpec2() 106 new PBEKeySpec(password, salt, iterationCount, -1); in testPBEKeySpec2() 113 new PBEKeySpec(password, salt, 0, keyLength); in testPBEKeySpec2() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/ |
D | PBEParametersGenerator.java | 10 protected byte[] password; field in PBEParametersGenerator 30 byte[] password, in init() argument 34 this.password = password; in init() 46 return password; in getPassword() 104 char[] password) in PKCS5PasswordToBytes() argument 106 if (password != null) in PKCS5PasswordToBytes() 108 byte[] bytes = new byte[password.length]; in PKCS5PasswordToBytes() 112 bytes[i] = (byte)password[i]; in PKCS5PasswordToBytes() 131 char[] password) in PKCS5PasswordToUTF8Bytes() argument 133 if (password != null) in PKCS5PasswordToUTF8Bytes() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/address/ |
D | UserInfo.java | 53 protected String password; field in UserInfo 89 if (this.password != null && other.password == null) in equals() 92 if (other.password != null && this.password == null) in equals() 95 if (this.password == other.password) in equals() 98 return (this.password.equals(other.password)); in equals() 110 if (password != null) in encode() 111 buffer.append(user).append(COLON).append(password); in encode() 121 this.password = null; in clearPassword() 143 return password; in getPassword() 169 password = p; in setPassword()
|
/external/mockftpserver/tags/2.x_Before_IDEA/src/main/groovy/org/mockftpserver/fake/user/ |
D | UserAccount.groovy | 19 * Represents a single user account on the server, including the username, password and home 22 * The <code>isValidPassword()</code> method returns true if the specified password matches 23 * the password value configured for this user account. This implementation uses the 29 * If the <code>passwordCheckedDuringValidation</code> property is set to false, then the password 35 String password 41 * Return true if the specified password is the correct, valid password for this user account. 43 * custom comparison behavior, for instance using encrypted password values, by overriding this 46 * @param password - the password to compare against the configured value 47 * @return true if the password is correct and valid 51 boolean isValidPassword(String password) { [all …]
|
/external/chromium-trace/trace-viewer/third_party/webapp2/tests/ |
D | extras_security_test.py | 32 password = 'foo' 33 hashval = security.generate_password_hash(password, 'sha1') 34 self.assertTrue(security.check_password_hash(password, hashval)) 36 hashval = security.generate_password_hash(password, 'sha1', pepper='bar') 37 self.assertTrue(security.check_password_hash(password, hashval, 40 hashval = security.generate_password_hash(password, 'md5') 41 self.assertTrue(security.check_password_hash(password, hashval)) 43 hashval = security.generate_password_hash(password, 'plain') 44 self.assertTrue(security.check_password_hash(password, hashval)) 46 hashval = security.generate_password_hash(password, 'plain') [all …]
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 55 private String password; field in UserAccount 76 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 78 setPassword(password); in UserAccount() 91 return password; in getPassword() 94 public void setPassword(String password) { in setPassword() argument 95 this.password = password; in setPassword() 178 public boolean isValidPassword(String password) { in isValidPassword() argument 180 return passwordCheckedDuringValidation ? comparePassword(password) : true; in isValidPassword() 194 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 270 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/ |
D | UserAccount.java | 64 private String password; field in UserAccount 87 public UserAccount(String username, String password, String homeDirectory) { in UserAccount() argument 89 setPassword(password); in UserAccount() 102 return password; in getPassword() 105 public void setPassword(String password) { in setPassword() argument 106 this.password = password; in setPassword() 187 public boolean isValidPassword(String password) { in isValidPassword() argument 189 return !passwordCheckedDuringValidation || comparePassword(password); in isValidPassword() 203 return "UserAccount[username=" + username + "; password=" + password + "; homeDirectory=" in toString() 279 protected boolean comparePassword(String password) { in comparePassword() argument [all …]
|
/external/chromium-trace/trace-viewer/third_party/Paste/tests/test_auth/ |
D | test_auth_digest.py | 25 password = list(username) 26 password.reverse() 27 password = "".join(password) 28 return digest_password(realm, username, password) 33 def check(username, password, path="/"): argument 39 response = AUTHORIZATION(username=username, password=password, 68 def authfetch(username,password,path="/",realm=realm): argument 74 auth.add_password(realm,uri,username,password)
|
/external/openssh/ |
D | auth-passwd.c | 82 auth_password(Authctxt *authctxt, const char *password) in auth_password() argument 94 if (*password == '\0' && options.permit_empty_passwd == 0) in auth_password() 99 int ret = auth_krb5_password(authctxt, password); in auth_password() 107 HANDLE hToken = cygwin_logon_user(pw, password); in auth_password() 117 return (sshpam_auth_passwd(authctxt, password) && ok); in auth_password() 126 result = sys_auth_passwd(authctxt, password); in auth_password() 168 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument 175 (char *)password); in sys_auth_passwd() 193 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument 202 if (strcmp(pw_password, "") == 0 && strcmp(password, "") == 0) in sys_auth_passwd() [all …]
|
/external/chromium-trace/trace-viewer/third_party/webapp2/webapp2_extras/ |
D | security.py | 98 def generate_password_hash(password, method='sha1', length=22, pepper=None): argument 124 hashval = hash_password(password, method, salt, pepper) 131 def check_password_hash(password, pwhash, pepper=None): argument 152 return hash_password(password, method, salt, pepper) == hashval 155 def hash_password(password, method, salt=None, pepper=None): argument 174 password = webapp2._to_utf8(password) 176 return password 183 h = hmac.new(webapp2._to_utf8(salt), password, method) 185 h = method(password)
|
/external/owasp/sanitizer/tools/ |
D | googlecode_upload.py | 59 def upload(file, project_name, user_name, password, summary, labels=None): argument 91 auth_token = base64.b64encode('%s:%s'% (user_name, password)) 156 user_name=None, password=None, tries=3): argument 170 if user_name is None or password is None: 176 if password is None: 177 password = authenticators[2] 186 if password is None: 192 password = getpass.getpass() 194 status, reason, url = upload(file_path, project_name, user_name, password, 200 user_name = password = None [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | mschapv2.c | 37 const u8 *password, size_t password_len, in mschapv2_derive_response() argument 65 password, password_len); in mschapv2_derive_response() 68 password, nt_response) || in mschapv2_derive_response() 70 password, peer_challenge, auth_challenge, in mschapv2_derive_response() 76 password, password_len); in mschapv2_derive_response() 79 password, password_len, in mschapv2_derive_response() 81 generate_authenticator_response(password, password_len, in mschapv2_derive_response() 96 if (hash_nt_password_hash(password, password_hash_hash)) in mschapv2_derive_response() 99 if (nt_password_hash(password, password_len, password_hash) || in mschapv2_derive_response()
|
D | eap_leap.c | 65 const u8 *pos, *challenge, *identity, *password; in eap_leap_process_request() local 73 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_request() 74 if (identity == NULL || password == NULL) in eap_leap_process_request() 119 challenge_response(challenge, password, rpos); in eap_leap_process_request() 121 nt_challenge_response(challenge, password, password_len, rpos); in eap_leap_process_request() 188 const u8 *pos, *password; in eap_leap_process_response() local 196 password = eap_get_config_password2(sm, &password_len, &pwhash); in eap_leap_process_response() 197 if (password == NULL) in eap_leap_process_response() 231 if (hash_nt_password_hash(password, pw_hash_hash)) { in eap_leap_process_response() 236 if (nt_password_hash(password, password_len, pw_hash) || in eap_leap_process_response() [all …]
|
/external/apache-http/src/org/apache/http/auth/ |
D | UsernamePasswordCredentials.java | 56 private final String password; field in UsernamePasswordCredentials 72 this.password = usernamePassword.substring(atColon + 1); in UsernamePasswordCredentials() 75 this.password = null; in UsernamePasswordCredentials() 86 public UsernamePasswordCredentials(String userName, String password) { in UsernamePasswordCredentials() argument 92 this.password = password; in UsernamePasswordCredentials() 104 return password; in getPassword()
|
/external/openssh/openbsd-compat/ |
D | xcrypt.c | 66 xcrypt(const char *password, const char *salt) in xcrypt() argument 72 crypted = md5_crypt(password, salt); in xcrypt() 74 crypted = crypt(password, salt); in xcrypt() 77 crypted = bigcrypt(password, salt); in xcrypt() 79 crypted = crypt(password, salt); in xcrypt() 81 crypted = bigcrypt(password, salt); in xcrypt() 83 crypted = crypt(password, salt); in xcrypt()
|