Home
last modified time | relevance | path

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

/hardware/interfaces/identity/aidl/vts/
DUtil.cpp384 time_t notBefore; in validateAttestationCertificate() local
385 ASSERT_TRUE(parseAsn1Time(X509_get0_notBefore(cert.get()), &notBefore)); in validateAttestationCertificate()
387 int64_t diffSecs = now - notBefore; in validateAttestationCertificate()
513 time_t notBefore, notAfter; in verifyAuthKeyCertificate() local
515 ASSERT_TRUE(parseAsn1Time(X509_get0_notBefore(cert.get()), &notBefore)); in verifyAuthKeyCertificate()
522 int64_t diffSecs = now - notBefore; in verifyAuthKeyCertificate()
543 EXPECT_LE(notBefore + kSecsIn365Days, notAfter); in verifyAuthKeyCertificate()
/hardware/interfaces/identity/support/src/
DIdentityCredentialSupport.cpp1634 time_t notBefore; in certificateGetValidity() local
1636 if (!parseAsn1Time(X509_get0_notBefore(certs[0].get()), &notBefore)) { in certificateGetValidity()
1646 return std::make_pair(notBefore, notAfter); in certificateGetValidity()
/hardware/interfaces/security/keymint/aidl/vts/functional/
DKeyMintTest.cpp1089 for (auto notBefore : test_vector_not_before_millis) { in TEST_P() local
1090 uint64_t notAfter = notBefore + 378691200000 /* 12 years milliseconds*/; in TEST_P()
1091 SCOPED_TRACE(testing::Message() << "notBefore: " << notBefore << " notAfter: " << notAfter); in TEST_P()
1097 .Authorization(TAG_CERTIFICATE_NOT_BEFORE, notBefore) in TEST_P()
1109 EXPECT_EQ(not_before_time, (notBefore / 1000)); in TEST_P()