Searched refs:response_pb (Results 1 – 2 of 2) sorted by relevance
514 AttestationEnrollmentResponse response_pb; in FinishEnroll() local515 if (!response_pb.ParseFromString(enroll_response)) { in FinishEnroll()519 if (response_pb.status() != OK) { in FinishEnroll()520 *server_error = response_pb.detail(); in FinishEnroll()522 << ": Error received from CA: " << response_pb.detail(); in FinishEnroll()530 response_pb.encrypted_identity_credential().asym_ca_contents(), in FinishEnroll()531 response_pb.encrypted_identity_credential().sym_ca_attestation(), in FinishEnroll()597 AttestationCertificateResponse response_pb; in FinishCertificateRequest() local598 if (!response_pb.ParseFromString(certificate_response)) { in FinishCertificateRequest()602 if (response_pb.status() != OK) { in FinishCertificateRequest()[all …]
142 AttestationEnrollmentResponse response_pb; in FakeCAEnroll() local144 response_pb.set_status(SERVER_ERROR); in FakeCAEnroll()145 response_pb.set_detail("fake_enroll_error"); in FakeCAEnroll()147 response_pb.set_status(OK); in FakeCAEnroll()148 response_pb.set_detail(""); in FakeCAEnroll()149 response_pb.mutable_encrypted_identity_credential()->set_asym_ca_contents( in FakeCAEnroll()151 response_pb.mutable_encrypted_identity_credential() in FakeCAEnroll()157 response_pb.SerializeToString(&tmp); in FakeCAEnroll()172 AttestationCertificateResponse response_pb; in FakeCASign() local174 response_pb.set_status(SERVER_ERROR); in FakeCASign()[all …]