Home
last modified time | relevance | path

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

/hardware/interfaces/identity/aidl/vts/
DVtsIdentityTestUtils.cpp185 AttestationCertificateParser certParser_(inputCertificates); in validateAttestationCertificate() local
186 bool ret = certParser_.parse(); in validateAttestationCertificate()
199 EXPECT_LE(10, certParser_.getKeymasterVersion()); in validateAttestationCertificate()
200 EXPECT_GT(40, certParser_.getKeymasterVersion()); in validateAttestationCertificate()
201 EXPECT_LE(3, certParser_.getAttestationVersion()); in validateAttestationCertificate()
205 certParser_.getSwEnforcedBlob(::keymaster::TAG_ATTESTATION_APPLICATION_ID); in validateAttestationCertificate()
214 EXPECT_TRUE(certParser_.getHwEnforcedBool(::keymaster::TAG_IDENTITY_CREDENTIAL_KEY)); in validateAttestationCertificate()
215 EXPECT_FALSE(certParser_.getHwEnforcedBool(::keymaster::TAG_INCLUDE_UNIQUE_ID)); in validateAttestationCertificate()
219 vector<uint8_t> attChallenge = certParser_.getAttestationChallenge(); in validateAttestationCertificate()
227 EXPECT_LE(KM_SECURITY_LEVEL_SOFTWARE, certParser_.getKeymasterSecurityLevel()); in validateAttestationCertificate()
[all …]