Home
last modified time | relevance | path

Searched refs:password (Results 1 – 25 of 1146) sorted by relevance

12345678910>>...46

/external/curl/tests/unit/
Dunit1304.c27 static char *password; variable
32 password = strdup(""); in unit_setup()
34 if(!password || !login) { in unit_setup()
35 Curl_safefree(password); in unit_setup()
44 Curl_safefree(password); in unit_stop()
59 result = Curl_parsenetrc("test.example.com", &login, &password,
62 abort_unless(password != NULL, "returned NULL!");
63 fail_unless(password[0] == 0, "password should not have been changed");
73 result = Curl_parsenetrc("example.com", &login, &password,
76 abort_unless(password != NULL, "returned NULL!");
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/
DPBEParametersGenerator.java10 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/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/
DPBEParametersGenerator.java13 protected byte[] password; field in PBEParametersGenerator
34 byte[] password, in init() argument
38 this.password = password; in init()
50 return password; in getPassword()
109 char[] password) in PKCS5PasswordToBytes() argument
111 if (password != null) in PKCS5PasswordToBytes()
113 byte[] bytes = new byte[password.length]; in PKCS5PasswordToBytes()
117 bytes[i] = (byte)password[i]; in PKCS5PasswordToBytes()
136 char[] password) in PKCS5PasswordToUTF8Bytes() argument
138 if (password != null) in PKCS5PasswordToUTF8Bytes()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/
DPKCS12Key.java11 private final char[] password; field in PKCS12Key
18 public PKCS12Key(char[] password) in PKCS12Key() argument
20 this(password, false); in PKCS12Key()
30 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument
32 if (password == null) in PKCS12Key()
34 password = new char[0]; in PKCS12Key()
37 this.password = new char[password.length]; in PKCS12Key()
40 System.arraycopy(password, 0, this.password, 0, password.length); in PKCS12Key()
50 return password; in getPassword()
80 if (useWrongZeroLengthConversion && password.length == 0) in getEncoded()
[all …]
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/
DPKCS12Key.java13 private final char[] password; field in PKCS12Key
20 public PKCS12Key(char[] password) in PKCS12Key() argument
22 this(password, false); in PKCS12Key()
32 public PKCS12Key(char[] password, boolean useWrongZeroLengthConversion) in PKCS12Key() argument
34 if (password == null) in PKCS12Key()
36 password = new char[0]; in PKCS12Key()
39 this.password = new char[password.length]; in PKCS12Key()
42 System.arraycopy(password, 0, this.password, 0, password.length); in PKCS12Key()
52 return password; in getPassword()
82 if (useWrongZeroLengthConversion && password.length == 0) in getEncoded()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/address/
DUserInfo.java53 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/
DUserAccount.groovy19 * 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/pdfium/core/fpdfapi/parser/
Dcpdf_security_handler.cpp31 void GetPassCode(const ByteString& password, pdfium::span<uint8_t> output) { in GetPassCode() argument
33 size_t len = std::min(password.GetLength(), output.size()); in GetPassCode()
35 memcpy(output.data(), password.raw_str(), len); in GetPassCode()
41 const ByteString& password, in CalcEncryptKey() argument
47 GetPassCode(password, passcode); in CalcEncryptKey()
107 void Revision6_Hash(const ByteString& password, in Revision6_Hash() argument
113 CRYPT_SHA256Update(&sha, password.raw_str(), password.GetLength()); in Revision6_Hash()
132 int iRoundSize = password.GetLength() + iBlockSize; in Revision6_Hash()
141 content.insert(std::end(content), password.raw_str(), in Revision6_Hash()
142 password.raw_str() + password.GetLength()); in Revision6_Hash()
[all …]
/external/autotest/client/common_lib/cros/
Denrollment.py19 def RemoraEnrollment(browser, user_id, password): argument
27 user_id, password, enterprise_enroll=True,
31 def EnterpriseEnrollment(browser, user_id, password, auto_login=False): argument
39 browser.oobe.NavigateGaiaLogin(user_id, password,
43 browser.oobe.NavigateGaiaLogin(user_id, password)
48 def EnterpriseFakeEnrollment(browser, user_id, password, gaia_id, argument
58 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id,
61 browser.oobe.NavigateFakeLogin(user_id, password, gaia_id)
75 def KioskEnrollment(browser, user_id, password, gaia_id): argument
86 password=password,
/external/curl/tests/python_dependencies/impacket/
Dntlm.py33 def computeResponse(flags, serverChallenge, clientChallenge, serverName, domain, user, password, lm… argument
36 … computeResponseNTLMv2(flags, serverChallenge, clientChallenge, serverName, domain, user, password,
39 … computeResponseNTLMv1(flags, serverChallenge, clientChallenge, serverName, domain, user, password,
409 …def __init__(self, username = '', password = '', challenge = '', lmhash = '', nthash = '', flags =… argument
431 elif (username and password):
432 lmhash = compute_lmhash(password)
433 nthash = compute_nthash(password)
586 def getNTLMSSPType3(type1, type2, user, password, domain, lmhash = '', nthash = '', use_ntlmv2 = US… argument
598 password.encode('utf-16le')
600 password = password.decode(encoding)
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/
DUserAccount.java55 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.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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.3/src/main/java/org/mockftpserver/fake/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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/
DUserAccount.java64 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/autotest/site_utils/
Dmysql_bootstrap.py78 def mysql_cmd(cls, cmd, user=DEFAULT_USER, password=DEFAULT_PASS, argument
89 (user, password, host, port, cmd))
109 def ping(cls, db_server, user=DEFAULT_USER, password=DEFAULT_PASS, argument
131 password=password)
135 def bootstrap(user, password, source_host, dest_host): argument
167 'new_pass': password,
180 dest_host, user=user, password=password, use_ssh=False)
217 password = global_config.global_config.get_config_value(
227 bootstrap(user, password, local_hostname, dest_host)
232 bootstrap(user, password, gateway, dest_host)
/external/python/cryptography/src/cryptography/hazmat/primitives/serialization/
Dbase.py15 def load_pem_private_key(data, password, backend): argument
16 return backend.load_pem_private_key(data, password)
27 def load_der_private_key(data, password, backend): argument
28 return backend.load_der_private_key(data, password)
73 def __init__(self, password): argument
74 if not isinstance(password, bytes) or len(password) == 0:
77 self.password = password
/external/openssh/
Dauth-passwd.c84 auth_password(Authctxt *authctxt, const char *password) in auth_password() argument
92 if (strlen(password) > MAX_PASSWORD_LEN) in auth_password()
99 if (*password == '\0' && options.permit_empty_passwd == 0) in auth_password()
104 int ret = auth_krb5_password(authctxt, password); in auth_password()
112 HANDLE hToken = cygwin_logon_user(pw, password); in auth_password()
122 return (sshpam_auth_passwd(authctxt, password) && ok); in auth_password()
131 result = sys_auth_passwd(authctxt, password); in auth_password()
173 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument
180 (char *)password); in sys_auth_passwd()
198 sys_auth_passwd(Authctxt *authctxt, const char *password) in sys_auth_passwd() argument
[all …]

12345678910>>...46