Home
last modified time | relevance | path

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

/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp367 const ASN1_TIME* notBefore = X509_get0_notBefore(certsChain[i]); in VerifyCertChainPeriodOfValidity() local
369 if (!CheckSignTimeInValidPeriod(signTime, notBefore, notAfter)) { in VerifyCertChainPeriodOfValidity()
395 const ASN1_TIME* notBefore, const ASN1_TIME* notAfter) in CheckSignTimeInValidPeriod() argument
397 if (!CheckAsn1TimeIsValid(notBefore) || !CheckAsn1TimeIsValid(notAfter)) { in CheckSignTimeInValidPeriod()
406 if (ASN1_TIME_compare(notBefore, signTime->value.asn1_string) > 0 || in CheckSignTimeInValidPeriod()
409 … "notAfter: %{public}s", signTime->value.asn1_string->data, notBefore->data, notAfter->data); in CheckSignTimeInValidPeriod()
413 …"notAfter: %{public}s", signTime->type, signTime->value.asn1_string->data, notBefore->data, notAft… in CheckSignTimeInValidPeriod()
/base/security/appverify/interfaces/innerkits/appverify_lite/include/
Dapp_verify_pub.h73 int notBefore; member
/base/security/appverify/interfaces/innerkits/appverify_lite/src/
Dapp_provision.c128 cJSON *notBefore = cJSON_GetObjectItem(jsonObj, "not-before"); in GetProfValidity() local
129 if (notBefore == NULL) { in GetProfValidity()
133 profVal->notBefore = notBefore->valueint; in GetProfValidity()
/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/core/src/
Dhks_attest.c404 struct DataTime notBefore = {0}; in SetAttestCertValid() local
408 GenerateSysDateTime((uint32_t)tmpSec, &notBefore); in SetAttestCertValid()
411notBefore.year, notBefore.month, notBefore.day, notBefore.hour, notBefore.min, notBefore.seconds); in SetAttestCertValid()
412 GetTimeStampTee(valid->start, &notBefore); in SetAttestCertValid()
/base/security/certificate_manager/interfaces/kits/napi/include/
Dcm_napi_common.h169 napi_value notBefore; member
/base/security/certificate_manager/interfaces/kits/js/
D@ohos.security.certManager.d.ts334 notBefore: string; property
/base/security/certificate_manager/interfaces/kits/napi/src/
Dcm_napi_common.cpp360 NAPI_CALL(env, napi_create_string_latin1(env, static_cast<const char *>(certInfo->notBefore), in GenerateCertInfo()
361 NAPI_AUTO_LENGTH, &cInfVal.notBefore)); in GenerateCertInfo()
381 …_CALL(env, napi_set_named_property(env, elem, CM_CERT_PROPERTY_BEFORE.c_str(), cInfVal.notBefore)); in GenerateCertInfo()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/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.c152 int32_t notBeforeLen = GetX509NotBefore(x509cert, cInfo->notBefore, MAX_LEN_NOT_BEFORE); in GetInfoFromX509Cert()