Home
last modified time | relevance | path

Searched refs:cert_chain_ (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/security/keymint/aidl/vts/functional/
DDeviceUniqueAttestationTest.cpp33 ASSERT_GT(cert_chain_.size(), 0); in CheckUniqueAttestationResults()
36 std::cout << bin2hex(cert_chain_[0].encodedCertificate) << std::endl; in CheckUniqueAttestationResults()
48 const size_t chain_length = cert_chain_.size(); in CheckUniqueAttestationResults()
52 EXPECT_TRUE(ChainSignaturesAreValid(cert_chain_, /* strict_issuer_check= */ false)); in CheckUniqueAttestationResults()
56 SecLevel(), cert_chain_[0].encodedCertificate)); in CheckUniqueAttestationResults()
DKeyMintAidlTestBase.cpp268 return GenerateKey(key_desc, attest_key, &key_blob_, &key_characteristics_, &cert_chain_); in GenerateKey()
276 cert_chain_.clear(); in ImportKey()
292 cert_chain_ = std::move(creationResult.certificateChain); in ImportKey()
298 EXPECT_GE(cert_chain_.size(), 1); in ImportKey()
299 if (key_desc.Contains(TAG_ATTESTATION_CHALLENGE)) EXPECT_GT(cert_chain_.size(), 1); in ImportKey()
302 EXPECT_EQ(cert_chain_.size(), 0); in ImportKey()
336 cert_chain_ = std::move(creationResult.certificateChain); in ImportWrappedKey()
346 EXPECT_GE(cert_chain_.size(), 1); in ImportWrappedKey()
349 EXPECT_EQ(cert_chain_.size(), 0); in ImportWrappedKey()
697 ASSERT_GT(cert_chain_.size(), 0); in LocalVerifyMessage()
[all …]
DKeyMintAidlTestBase.h87 &cert_chain_); in GenerateKey()
289 vector<Certificate> cert_chain_; variable
/hardware/interfaces/security/keymint/aidl/vts/performance/
DKeyMintBenchmark.cpp317 vector<Certificate> cert_chain_; member in aidl::android::hardware::security::keymint::test::KeyMintBenchmarkTest