Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp368 const ASN1_TIME* notBefore = X509_get0_notBefore(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()
407 if (ASN1_TIME_compare(notBefore, signTime->value.asn1_string) > 0 || in CheckSignTimeInValidPeriod()
410 … "notAfter: %{public}s", signTime->value.asn1_string->data, notBefore->data, notAfter->data); in CheckSignTimeInValidPeriod()
414 …"notAfter: %{public}s", signTime->type, signTime->value.asn1_string->data, notBefore->data, notAft… in CheckSignTimeInValidPeriod()
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c134 cJSON *notBefore = cJSON_GetObjectItem(jsonObj, "not-before"); in GetProfValidity() local
135 if (notBefore == NULL) { in GetProfValidity()
139 profVal->notBefore = notBefore->valueint; in GetProfValidity()
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dapp_verify_pub.h74 int32_t notBefore; member
/base/security/appverify/interfaces/innerkits/appverify/include/provision/
Dprovision_info.h64 int64_t notBefore; 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.cpp206 (strcmp(firstCert->notBefore, secondCert->notBefore) == 0) && in CompareCertInfo()
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/
Ddcm_attest.c449 struct DataTime notBefore = {0}; in SetAttestCertValid() local
453 GenerateSysDateTime((uint32_t)tmpSec, &notBefore); in SetAttestCertValid()
456notBefore.year, notBefore.month, notBefore.day, notBefore.hour, notBefore.min, notBefore.seconds); in SetAttestCertValid()
457 GetTimeStampTee(valid->start, &notBefore); in SetAttestCertValid()
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_common.h164 napi_value notBefore; member
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts328 notBefore: string;
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp271 NAPI_CALL(env, napi_create_string_latin1(env, static_cast<const char *>(certInfo->notBefore), in GenerateCertInfo()
272 NAPI_AUTO_LENGTH, &cInfVal.notBefore)); in GenerateCertInfo()
292 …_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_BEFORE.c_str(), cInfVal.notBefore)); in GenerateCertInfo()
/base/security/certificate_manager/interfaces/innerkits/cert_manager_standard/main/include/
Dcm_type.h247 char notBefore[MAX_LEN_NOT_BEFORE]; member
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/
Dcm_ipc_client_serialization.c151 int32_t notBeforeLen = GetX509NotBefore(x509cert, cInfo->notBefore, MAX_LEN_NOT_BEFORE); in GetInfoFromX509Cert()
/base/security/appverify/interfaces/innerkits/appverify/src/provision/
Dprovision_verify.cpp195 GetInt64IfExist(obj[VALUE_VALIDITY], VALUE_NOT_BEFORE, out.notBefore); in ParseValidity()
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dprovision_verify_test.cpp492 ASSERT_EQ(info.validity.notBefore, 1262275200);