• Home
  • Raw
  • Download

Lines Matching refs:request

289     CreateGoogleAttestedKeyRequest request;  in CallCreateGoogleAttestedKey()  local
290 request.set_key_label(label); in CallCreateGoogleAttestedKey()
291 request.set_key_type(KEY_TYPE_RSA); in CallCreateGoogleAttestedKey()
292 request.set_key_usage(KEY_USAGE_SIGN); in CallCreateGoogleAttestedKey()
293 request.set_certificate_profile(ENTERPRISE_MACHINE_CERTIFICATE); in CallCreateGoogleAttestedKey()
294 request.set_username(username); in CallCreateGoogleAttestedKey()
296 request, in CallCreateGoogleAttestedKey()
302 GetKeyInfoRequest request; in CallGetKeyInfo() local
303 request.set_key_label(label); in CallGetKeyInfo()
304 request.set_username(username); in CallGetKeyInfo()
306 request, in CallGetKeyInfo()
312 GetEndorsementInfoRequest request; in CallGetEndorsementInfo() local
313 request.set_key_type(KEY_TYPE_RSA); in CallGetEndorsementInfo()
315 request, in CallGetEndorsementInfo()
321 GetAttestationKeyInfoRequest request; in CallGetAttestationKeyInfo() local
322 request.set_key_type(KEY_TYPE_RSA); in CallGetAttestationKeyInfo()
324 request, in CallGetAttestationKeyInfo()
330 ActivateAttestationKeyRequest request; in CallActivateAttestationKey() local
331 request.set_key_type(KEY_TYPE_RSA); in CallActivateAttestationKey()
332 request.mutable_encrypted_certificate()->ParseFromString(input); in CallActivateAttestationKey()
333 request.set_save_certificate(true); in CallActivateAttestationKey()
335 request, in CallActivateAttestationKey()
341 GetEndorsementInfoRequest request; in EncryptForActivate() local
342 request.set_key_type(KEY_TYPE_RSA); in EncryptForActivate()
344 request, in EncryptForActivate()
355 GetAttestationKeyInfoRequest request; in EncryptForActivate2() local
356 request.set_key_type(KEY_TYPE_RSA); in EncryptForActivate2()
358 request, in EncryptForActivate2()
390 CreateCertifiableKeyRequest request; in CallCreateCertifiableKey() local
391 request.set_key_label(label); in CallCreateCertifiableKey()
392 request.set_username(username); in CallCreateCertifiableKey()
393 request.set_key_type(KEY_TYPE_RSA); in CallCreateCertifiableKey()
394 request.set_key_usage(usage); in CallCreateCertifiableKey()
396 request, in CallCreateCertifiableKey()
404 GetKeyInfoRequest request; in Encrypt() local
405 request.set_key_label(label); in Encrypt()
406 request.set_username(username); in Encrypt()
407 attestation_->GetKeyInfo(request, base::Bind(&ClientLoop::Encrypt2, in Encrypt()
426 DecryptRequest request; in CallDecrypt() local
427 request.set_key_label(label); in CallDecrypt()
428 request.set_username(username); in CallDecrypt()
429 request.set_encrypted_data(input); in CallDecrypt()
431 request, in CallDecrypt()
439 SignRequest request; in CallSign() local
440 request.set_key_label(label); in CallSign()
441 request.set_username(username); in CallSign()
442 request.set_data_to_sign(input); in CallSign()
443 attestation_->Sign(request, base::Bind(&ClientLoop::OnSignComplete, in CallSign()
459 GetKeyInfoRequest request; in VerifySignature() local
460 request.set_key_label(label); in VerifySignature()
461 request.set_username(username); in VerifySignature()
462 attestation_->GetKeyInfo(request, base::Bind(&ClientLoop::VerifySignature2, in VerifySignature()
480 RegisterKeyWithChapsTokenRequest request; in CallRegister() local
481 request.set_key_label(label); in CallRegister()
482 request.set_username(username); in CallRegister()
483 attestation_->RegisterKeyWithChapsToken(request, base::Bind( in CallRegister()