Home
last modified time | relevance | path

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

/aosp12/hardware/interfaces/identity/aidl/vts/
H A DUtil.cpp314 time_t notAfter; in validateAttestationCertificate() local
315 ASSERT_TRUE(parseAsn1Time(X509_get0_notAfter(cert.get()), &notAfter)); in validateAttestationCertificate()
316 EXPECT_EQ(notAfter, batchNotAfter); in validateAttestationCertificate()
435 time_t notBefore, notAfter; in verifyAuthKeyCertificate() local
436 ASSERT_TRUE(parseAsn1Time(X509_get0_notAfter(cert.get()), &notAfter)); in verifyAuthKeyCertificate()
449 EXPECT_EQ(notBefore + kSecsInOneYear, notAfter); in verifyAuthKeyCertificate()
/aosp12/system/keymaster/km_openssl/
H A Dcertificate_utils.cpp287 ASN1_TIME_Ptr notAfter(ASN1_TIME_new()); in make_cert_rump() local
291 if (!notAfter.get() || !ASN1_TIME_set(notAfter.get(), notAfterTime) || in make_cert_rump()
292 !X509_set_notAfter(certificate.get(), notAfter.get() /* Don't release; copied */)) { in make_cert_rump()
/aosp12/system/security/keystore2/src/crypto/
H A Dcertificate_utils.cpp278 ASN1_TIME_Ptr notAfter(ASN1_TIME_new()); in makeCertRump() local
279 if (!notAfter || !ASN1_TIME_set_string(notAfter.get(), notAfterTime->data()) || in makeCertRump()
280 !X509_set_notAfter(certificate.get(), notAfter.get() /* Don't release; copied */)) { in makeCertRump()
/aosp12/hardware/interfaces/identity/support/src/
H A DIdentityCredentialSupport.cpp1524 time_t notAfter; in certificateGetValidity() local
1530 if (!parseAsn1Time(X509_get0_notAfter(certs[0].get()), &notAfter)) { in certificateGetValidity()
1535 return std::make_pair(notBefore, notAfter); in certificateGetValidity()
/aosp12/system/timezone/input_tools/android/tzlookup_generator/src/test/java/com/android/libcore/timezone/tzlookup/
H A DTzLookupGeneratorTest.java635 public void notAfter() throws Exception { in notAfter() method in TzLookupGeneratorTest