Lines Matching refs:CryptoUtilProxy
47 const char CryptoUtilProxy::kCommandEncrypt[] = "encrypt";
48 const char CryptoUtilProxy::kCommandVerify[] = "verify";
49 const char CryptoUtilProxy::kCryptoUtilShimPath[] = SHIMDIR "/crypto-util";
50 const char CryptoUtilProxy::kDestinationVerificationUser[] = "shill-crypto";
51 const uint64_t CryptoUtilProxy::kRequiredCapabilities = 0;
52 const int CryptoUtilProxy::kShimJobTimeoutMilliseconds = 30 * 1000;
59 CryptoUtilProxy::CryptoUtilProxy(EventDispatcher* dispatcher) in CryptoUtilProxy() function in shill::CryptoUtilProxy
71 CryptoUtilProxy::~CryptoUtilProxy() { in ~CryptoUtilProxy()
76 bool CryptoUtilProxy::VerifyDestination( in VerifyDestination()
114 &CryptoUtilProxy::HandleVerifyResult, in VerifyDestination()
126 bool CryptoUtilProxy::EncryptData( in EncryptData()
148 &CryptoUtilProxy::HandleEncryptResult, in EncryptData()
160 bool CryptoUtilProxy::StartShimForCommand( in StartShimForCommand()
193 shim_job_timeout_callback_.Reset(Bind(&CryptoUtilProxy::HandleShimTimeout, in StartShimForCommand()
205 Bind(&CryptoUtilProxy::HandleShimOutput, AsWeakPtr()), in StartShimForCommand()
206 Bind(&CryptoUtilProxy::HandleShimReadError, AsWeakPtr()))); in StartShimForCommand()
210 Bind(&CryptoUtilProxy::HandleShimStdinReady, AsWeakPtr()))); in StartShimForCommand()
222 void CryptoUtilProxy::CleanupShim(const Error& shim_result) { in CleanupShim()
241 Bind(&CryptoUtilProxy::OnShimDeath, in CleanupShim()
250 void CryptoUtilProxy::OnShimDeath(int /* exit_status */) { in OnShimDeath()
267 void CryptoUtilProxy::HandleShimStdinReady(int fd) { in HandleShimStdinReady()
293 void CryptoUtilProxy::HandleShimOutput(InputData* data) { in HandleShimOutput()
312 void CryptoUtilProxy::HandleShimError(const Error& error) { in HandleShimError()
318 void CryptoUtilProxy::HandleShimReadError(const string& error_msg) { in HandleShimReadError()
323 void CryptoUtilProxy::HandleShimTimeout() { in HandleShimTimeout()
328 void CryptoUtilProxy::HandleVerifyResult( in HandleVerifyResult()
349 bool CryptoUtilProxy::ParseResponseReturnCode(int proto_return_code, in ParseResponseReturnCode()
375 void CryptoUtilProxy::HandleEncryptResult( in HandleEncryptResult()