Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp369 const ASN1_TIME* notAfter = X509_get0_notAfter(certsChain[i]); in VerifyCertChainPeriodOfValidity() local
370 if (!CheckSignTimeInValidPeriod(signTime, notBefore, notAfter)) { in VerifyCertChainPeriodOfValidity()
396 const ASN1_TIME* notBefore, const ASN1_TIME* notAfter) in CheckSignTimeInValidPeriod() argument
398 if (!CheckAsn1TimeIsValid(notBefore) || !CheckAsn1TimeIsValid(notAfter)) { in CheckSignTimeInValidPeriod()
408 ASN1_TIME_compare(notAfter, signTime->value.asn1_string) < 0) { in CheckSignTimeInValidPeriod()
410 … "notAfter: %{public}s", signTime->value.asn1_string->data, notBefore->data, notAfter->data); in CheckSignTimeInValidPeriod()
414 …: %{public}s", signTime->type, signTime->value.asn1_string->data, notBefore->data, notAfter->data); in CheckSignTimeInValidPeriod()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c141 cJSON *notAfter = cJSON_GetObjectItem(jsonObj, "not-after"); in GetProfValidity() local
142 if (notAfter == NULL) { in GetProfValidity()
146 profVal->notAfter = notAfter->valueint; in GetProfValidity()
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dapp_verify_pub.h75 int32_t notAfter; member
/base/security/appverify/interfaces/innerkits/appverify/include/provision/
Dprovision_info.h65 int64_t notAfter; member
/base/security/appverify/interfaces/innerkits/appverify/include/util/
Dhap_cert_verify_openssl_utils.h59 const ASN1_TIME* notBefore, const ASN1_TIME* notAfter);
/base/security/certificate_manager/test/unittest/src/
Dcm_test_common.cpp207 (strcmp(firstCert->notAfter, secondCert->notAfter) == 0) && in CompareCertInfo()
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_common.h165 napi_value notAfter; member
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts329 notAfter: string;
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp273 NAPI_CALL(env, napi_create_string_latin1(env, static_cast<const char *>(certInfo->notAfter), in GenerateCertInfo()
274 NAPI_AUTO_LENGTH, &cInfVal.notAfter)); in GenerateCertInfo()
293 …PI_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_AFTER.c_str(), cInfVal.notAfter)); in GenerateCertInfo()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h248 char notAfter[MAX_LEN_NOT_AFTER]; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c157 int32_t notAfterLen = GetX509NotAfter(x509cert, cInfo->notAfter, MAX_LEN_NOT_AFTER); in GetInfoFromX509Cert()
/base/security/appverify/interfaces/innerkits/appverify/src/provision/
Dprovision_verify.cpp196 GetInt64IfExist(obj[VALUE_VALIDITY], VALUE_NOT_AFTER, out.notAfter); in ParseValidity()
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dprovision_verify_test.cpp493 ASSERT_EQ(info.validity.notAfter, 2524579300);