Lines Matching refs:request
83 CreateGoogleAttestedKeyRequest request; in TEST_F() local
84 request.set_key_label("label"); in TEST_F()
85 request.set_key_type(KEY_TYPE_ECC); in TEST_F()
86 request.set_key_usage(KEY_USAGE_SIGN); in TEST_F()
87 request.set_certificate_profile(ENTERPRISE_MACHINE_CERTIFICATE); in TEST_F()
88 request.set_username("user"); in TEST_F()
89 request.set_origin("origin"); in TEST_F()
90 proxy_.CreateGoogleAttestedKey(request, base::Bind(callback)); in TEST_F()
133 GetKeyInfoRequest request; in TEST_F() local
134 request.set_key_label("label"); in TEST_F()
135 request.set_username("username"); in TEST_F()
136 proxy_.GetKeyInfo(request, base::Bind(callback)); in TEST_F()
170 GetEndorsementInfoRequest request; in TEST_F() local
171 request.set_key_type(KEY_TYPE_ECC); in TEST_F()
172 proxy_.GetEndorsementInfo(request, base::Bind(callback)); in TEST_F()
212 GetAttestationKeyInfoRequest request; in TEST_F() local
213 request.set_key_type(KEY_TYPE_ECC); in TEST_F()
214 proxy_.GetAttestationKeyInfo(request, base::Bind(callback)); in TEST_F()
251 ActivateAttestationKeyRequest request; in TEST_F() local
252 request.set_key_type(KEY_TYPE_ECC); in TEST_F()
253 request.mutable_encrypted_certificate()->set_asym_ca_contents("encrypted1"); in TEST_F()
254 request.mutable_encrypted_certificate()->set_sym_ca_attestation("encrypted2"); in TEST_F()
255 request.set_save_certificate(true); in TEST_F()
256 proxy_.ActivateAttestationKey(request, base::Bind(callback)); in TEST_F()
295 CreateCertifiableKeyRequest request; in TEST_F() local
296 request.set_key_label("label"); in TEST_F()
297 request.set_key_type(KEY_TYPE_ECC); in TEST_F()
298 request.set_key_usage(KEY_USAGE_SIGN); in TEST_F()
299 request.set_username("user"); in TEST_F()
300 proxy_.CreateCertifiableKey(request, base::Bind(callback)); in TEST_F()
334 DecryptRequest request; in TEST_F() local
335 request.set_key_label("label"); in TEST_F()
336 request.set_username("user"); in TEST_F()
337 request.set_encrypted_data("data"); in TEST_F()
338 proxy_.Decrypt(request, base::Bind(callback)); in TEST_F()
372 SignRequest request; in TEST_F() local
373 request.set_key_label("label"); in TEST_F()
374 request.set_username("user"); in TEST_F()
375 request.set_data_to_sign("data"); in TEST_F()
376 proxy_.Sign(request, base::Bind(callback)); in TEST_F()
408 RegisterKeyWithChapsTokenRequest request; in TEST_F() local
409 request.set_key_label("label"); in TEST_F()
410 request.set_username("user"); in TEST_F()
411 proxy_.RegisterKeyWithChapsToken(request, base::Bind(callback)); in TEST_F()