Searched refs:notBefore (Results 1 – 3 of 3) sorted by relevance
384 time_t notBefore; in validateAttestationCertificate() local385 ASSERT_TRUE(parseAsn1Time(X509_get0_notBefore(cert.get()), ¬Before)); in validateAttestationCertificate()387 int64_t diffSecs = now - notBefore; in validateAttestationCertificate()513 time_t notBefore, notAfter; in verifyAuthKeyCertificate() local515 ASSERT_TRUE(parseAsn1Time(X509_get0_notBefore(cert.get()), ¬Before)); in verifyAuthKeyCertificate()522 int64_t diffSecs = now - notBefore; in verifyAuthKeyCertificate()543 EXPECT_LE(notBefore + kSecsIn365Days, notAfter); in verifyAuthKeyCertificate()
1634 time_t notBefore; in certificateGetValidity() local1636 if (!parseAsn1Time(X509_get0_notBefore(certs[0].get()), ¬Before)) { in certificateGetValidity()1646 return std::make_pair(notBefore, notAfter); in certificateGetValidity()
1089 for (auto notBefore : test_vector_not_before_millis) { in TEST_P() local1090 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()