Searched refs:pubkey (Results 1 – 3 of 3) sorted by relevance
| /developtools/hdc/hdc_rust/src/daemon/ |
| D | auth.rs | 178 if let Some((hostname, pubkey)) = buf.split_once(HDC_HOST_DAEMON_BUF_SEPARATOR) { in get_host_pubkey_info() 179 (hostname.to_string(), pubkey.to_string()) in get_host_pubkey_info() 220 let (hostname, pubkey) = get_host_pubkey_info(recv.buf.trim()); in handshake_task() 221 if pubkey.is_empty() { in handshake_task() 243 if known_hosts.contains(&pubkey) { in handshake_task() 245 AuthStatusMap::put(session_id, AuthStatus::Pubk((plain, pubkey))).await; in handshake_task() 256 if write_known_hosts_pubkey(&pubkey).is_err() { in handshake_task() 267 AuthStatusMap::put(session_id, AuthStatus::Pubk((plain, pubkey))).await; in handshake_task() 276 AuthStatusMap::put(session_id, AuthStatus::Pubk((plain, pubkey))).await; in handshake_task() 327 let (plain, pubkey) = in validate_signature() [all …]
|
| /developtools/hdc/src/common/ |
| D | auth.cpp | 588 bool LoadPublicKey(const string& pubkey_filename, string &pubkey) in LoadPublicKey() argument 621 pubkey = string(buf, len); in LoadPublicKey() 641 bool TryLoadPublicKey(string &pubkey) in TryLoadPublicKey() argument 656 if (!LoadPublicKey(pubkey_filename, pubkey)) { in TryLoadPublicKey() 692 string pubkey; in GetPublicKeyinfo() local 693 if (!HdcAuth::TryLoadPublicKey(pubkey)) { in GetPublicKeyinfo() 699 pubkey_info.append(pubkey); in GetPublicKeyinfo()
|
| /developtools/hdc/hdc_rust/src/host/ |
| D | auth.rs | 120 if let Ok(pubkey) = rsa.public_key_to_pem() { in get_pubkey_pem() 121 if let Ok(buf) = String::from_utf8(pubkey) { in get_pubkey_pem()
|