/base/security/appverify/interfaces/innerkits/appverify/src/util/ |
D | hap_cert_verify_openssl_utils.cpp | 368 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/ |
D | app_provision.c | 134 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/ |
D | app_verify_pub.h | 74 int32_t notBefore; member
|
/base/security/appverify/interfaces/innerkits/appverify/include/provision/ |
D | provision_info.h | 64 int64_t notBefore; member
|
/base/security/appverify/interfaces/innerkits/appverify/include/util/ |
D | hap_cert_verify_openssl_utils.h | 59 const ASN1_TIME* notBefore, const ASN1_TIME* notAfter);
|
/base/security/certificate_manager/test/unittest/src/ |
D | cm_test_common.cpp | 206 (strcmp(firstCert->notBefore, secondCert->notBefore) == 0) && in CompareCertInfo()
|
/base/security/huks/services/huks_standard/huks_engine/main/device_cert_manager/src/ |
D | dcm_attest.c | 449 struct DataTime notBefore = {0}; in SetAttestCertValid() local 453 GenerateSysDateTime((uint32_t)tmpSec, ¬Before); in SetAttestCertValid() 456 … notBefore.year, notBefore.month, notBefore.day, notBefore.hour, notBefore.min, notBefore.seconds); in SetAttestCertValid() 457 GetTimeStampTee(valid->start, ¬Before); in SetAttestCertValid()
|
/base/security/certificate_manager/interfaces/kits/napi/include/ |
D | cm_napi_common.h | 164 napi_value notBefore; member
|
/base/security/certificate_manager/interfaces/kits/js/ |
D | @ohos.security.certManager.d.ts | 328 notBefore: string;
|
/base/security/certificate_manager/interfaces/kits/napi/src/ |
D | cm_napi_common.cpp | 271 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/ |
D | cm_type.h | 247 char notBefore[MAX_LEN_NOT_BEFORE]; member
|
/base/security/certificate_manager/frameworks/cert_manager_standard/main/os_dependency/cm_ipc/src/ |
D | cm_ipc_client_serialization.c | 151 int32_t notBeforeLen = GetX509NotBefore(x509cert, cInfo->notBefore, MAX_LEN_NOT_BEFORE); in GetInfoFromX509Cert()
|
/base/security/appverify/interfaces/innerkits/appverify/src/provision/ |
D | provision_verify.cpp | 195 GetInt64IfExist(obj[VALUE_VALIDITY], VALUE_NOT_BEFORE, out.notBefore); in ParseValidity()
|
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/ |
D | provision_verify_test.cpp | 492 ASSERT_EQ(info.validity.notBefore, 1262275200);
|