• Home
  • Raw
  • Download

Lines Matching refs:to_string

147         banner: HANDSHAKE_MESSAGE.to_string(),  in handshake_init()
149 connect_key: "".to_string(), in handshake_init()
166 banner: HANDSHAKE_MESSAGE.to_string(), in make_sign_message()
168 connect_key: "".to_string(), in make_sign_message()
181 let mut handshake_msg = "".to_string(); in make_bypass_message()
193 banner: HANDSHAKE_MESSAGE.to_string(), in make_bypass_message()
195 connect_key: "".to_string(), in make_bypass_message()
229 let mut handshake_msg = "".to_string(); in make_emg_message()
237 banner: HANDSHAKE_MESSAGE.to_string(), in make_emg_message()
239 connect_key: "".to_string(), in make_emg_message()
257 let mut handshake_msg = "".to_string(); in make_reject_message()
267 banner: HANDSHAKE_MESSAGE.to_string(), in make_reject_message()
269 connect_key: "".to_string(), in make_reject_message()
290 AuthStatusMap::put(session_id, AuthStatus::Reject(msg.to_string())).await; in send_reject_message()
297 let mut succmsg = "".to_string(); in make_ok_message()
329 banner: HANDSHAKE_MESSAGE.to_string(), in make_ok_message()
331 connect_key: "".to_string(), in make_ok_message()
344 AuthStatus::BasC(_) => "Error request.".to_string(), in get_auth_msg()
345 AuthStatus::Init(_) => "Wait handshake init finish.".to_string(), in get_auth_msg()
348 "Wait handshake public key and signure.".to_string() in get_auth_msg()
354 AuthStatus::Ok => "There seems nothing wrong.".to_string(), in get_auth_msg()
355 AuthStatus::Fail => "Internal error.".to_string(), in get_auth_msg()
368 (hostname.to_string(), pubkey.to_string()) in get_host_pubkey_info()
370 ("".to_string(), "".to_string()) in get_host_pubkey_info()
385 banner: HANDSHAKE_MESSAGE.to_string(), in handshake_init_new()
387 connect_key: "".to_string(), in handshake_init_new()
416 "no public key, you may need update your hdc client".to_string(), in handshake_deal_pubkey()
426 "no hostname, you may need update your hdc client".to_string(), in handshake_deal_pubkey()
437 AuthStatus::Pubk(token.clone(), pubkey, "".to_string()), in handshake_deal_pubkey()
455 AuthStatus::Pubk(token.clone(), pubkey.clone(), confirmmsg.to_string()), in handshake_deal_pubkey()
480 "write public key failed".to_string(), in handshake_deal_pubkey()
489 AuthStatus::Pubk(token.clone(), pubkey, "".to_string()), in handshake_deal_pubkey()
502 AuthStatus::Pubk(token.clone(), pubkey, "".to_string()), in handshake_deal_pubkey()
519 AuthStatusMap::put(session_id, AuthStatus::Reject(denymsg.to_string())).await; in handshake_deal_pubkey()
548 let errlog = e.to_string(); in handshake_deal_signature()
729 log::error!("create pubkeys dir: {}", e.to_string()); in write_known_hosts_pubkey()
732 log::error!("create pubkeys file: {}", e.to_string()); in write_known_hosts_pubkey()
739 crate::error!("write pubkey err: {}", e.to_string()); in write_known_hosts_pubkey()
755 crate::error!("show dialog over, {}.", e.to_string()); in show_permit_dialog()
764 crate::error!("show dialog failed, {}.", e.to_string()); in show_permit_dialog()
832 banner: HANDSHAKE_MESSAGE.to_string(), in handshake_fail()
865 let errlog = e.to_string(); in generate_token_wait()
879 return "".to_string(); in get_hostname()
884 .unwrap_or("".to_string()) in get_hostname()
886 .to_string(); in get_hostname()