• Home
  • Raw
  • Download

Lines Matching refs:request_proto

52     CreateGoogleAttestedKeyRequest request_proto;  in TEST_F()  local
53 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
54 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
55 EXPECT_EQ(KEY_TYPE_ECC, request_proto.key_type()); in TEST_F()
56 EXPECT_EQ(KEY_USAGE_SIGN, request_proto.key_usage()); in TEST_F()
58 request_proto.certificate_profile()); in TEST_F()
59 EXPECT_EQ("user", request_proto.username()); in TEST_F()
60 EXPECT_EQ("origin", request_proto.origin()); in TEST_F()
99 GetKeyInfoRequest request_proto; in TEST_F() local
100 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
101 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
102 EXPECT_EQ("username", request_proto.username()); in TEST_F()
145 GetEndorsementInfoRequest request_proto; in TEST_F() local
146 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
147 EXPECT_EQ(KEY_TYPE_ECC, request_proto.key_type()); in TEST_F()
181 GetAttestationKeyInfoRequest request_proto; in TEST_F() local
182 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
183 EXPECT_EQ(KEY_TYPE_ECC, request_proto.key_type()); in TEST_F()
223 ActivateAttestationKeyRequest request_proto; in TEST_F() local
224 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
225 EXPECT_EQ(KEY_TYPE_ECC, request_proto.key_type()); in TEST_F()
227 request_proto.encrypted_certificate().asym_ca_contents()); in TEST_F()
229 request_proto.encrypted_certificate().sym_ca_attestation()); in TEST_F()
230 EXPECT_TRUE(request_proto.save_certificate()); in TEST_F()
265 CreateCertifiableKeyRequest request_proto; in TEST_F() local
266 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
267 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
268 EXPECT_EQ(KEY_TYPE_ECC, request_proto.key_type()); in TEST_F()
269 EXPECT_EQ(KEY_USAGE_SIGN, request_proto.key_usage()); in TEST_F()
270 EXPECT_EQ("user", request_proto.username()); in TEST_F()
309 DecryptRequest request_proto; in TEST_F() local
310 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
311 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
312 EXPECT_EQ("user", request_proto.username()); in TEST_F()
313 EXPECT_EQ("data", request_proto.encrypted_data()); in TEST_F()
347 SignRequest request_proto; in TEST_F() local
348 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
349 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
350 EXPECT_EQ("user", request_proto.username()); in TEST_F()
351 EXPECT_EQ("data", request_proto.data_to_sign()); in TEST_F()
385 RegisterKeyWithChapsTokenRequest request_proto; in TEST_F() local
386 EXPECT_TRUE(reader.PopArrayOfBytesAsProto(&request_proto)); in TEST_F()
387 EXPECT_EQ("label", request_proto.key_label()); in TEST_F()
388 EXPECT_EQ("user", request_proto.username()); in TEST_F()