Home
last modified time | relevance | path

Searched refs:CACert (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_x509_trust_anchor.cpp122 if (trustAnchor->CACert != nullptr) { in BuildX509TrustAnchorJS()
123 napi_value CACert = ConvertCertToNapiValue(env, trustAnchor->CACert); in BuildX509TrustAnchorJS() local
124 if (CACert == nullptr) { in BuildX509TrustAnchorJS()
128 napi_set_named_property(env, instance, CERT_CHAIN_TRUSTANCHOR_TAG_CACERT.c_str(), CACert); in BuildX509TrustAnchorJS()
161 if (!GetCACert(env, arg, trustAnchor->CACert)) { in BuildX509TrustAnchorObj()
186 CfObjDestroy(trustAnchor->CACert); in FreeX509TrustAnchorObj()
188 trustAnchor->CACert = nullptr; in FreeX509TrustAnchorObj()
H A Dnapi_x509_cert_chain_validate_params.cpp458 CfObjDestroy(trustAnchorArray->data[i]->CACert); in FreeTrustAnchorArray()
460 trustAnchorArray->data[i]->CACert = NULL; in FreeTrustAnchorArray()
H A Dnapi_x509_cert_chain.cpp599 napi_value valueCACert = ConvertX509CertToNapiValue(env, trustAnchorArray->data[i]->CACert); in BuildCreateInstanceByTrustAnchorArray()
603 trustAnchorArray->data[i]->CACert = nullptr; in BuildCreateInstanceByTrustAnchorArray()
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_openssl.c381 if (trustAnchors->CACert != NULL) { in GetTrustAnchor()
435 CfObjDestroy(trustAnchor->CACert); in FreeTrustAnchorData()
436 trustAnchor->CACert = NULL; in FreeTrustAnchorData()
441 HcfX509Certificate *CACert = inputAnchor->CACert; in CopyHcfX509TrustAnchor() local
446 if (CACert != NULL) { in CopyHcfX509TrustAnchor()
448 CACert->base.getEncoded((HcfCertificate *)CACert, &encodedByte); in CopyHcfX509TrustAnchor()
461 CfObjDestroy(outAnchor->CACert); in CopyHcfX509TrustAnchor()
469 CfObjDestroy(outAnchor->CACert); in CopyHcfX509TrustAnchor()
478 CfObjDestroy(outAnchor->CACert); in CopyHcfX509TrustAnchor()
894 } else if (trustAnchor->CACert != NULL) { in ValidateOcspLocalGetTrustCert()
[all …]
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_test_common.cpp342 CfObjDestroy(trustAnchor->CACert); in FreeTrustAnchor()
343 trustAnchor->CACert = nullptr; in FreeTrustAnchor()
353 (void)HcfX509CertificateCreate(&certInStream, &anchor->CACert); in BuildAnchorArr()
H A Dcrypto_x509_cert_chain_test.cpp826 (void)HcfX509CertificateCreate(&inStream, &anchor.CACert);
843 CfObjDestroy(anchor.CACert);
1215 (void)HcfX509CertificateCreate(&g_inStreamChainDataPemRoot, &anchor.CACert);
1235 CfObjDestroy(anchor.CACert);
/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/
H A Dx509_trust_anchor.h28 HcfX509Certificate *CACert; // CACert : X509Cert member
/ohos5.0/base/security/certificate_framework/test/fuzztest/v1.0/x509certchain_fuzzer/
H A Dx509certchain_fuzzer.cpp85 (void)HcfX509CertificateCreate(&certInStream, &anchor->CACert); in BuildAnchorArr1()
103 CfObjDestroy(trustAnchor->CACert); in FreeTrustAnchor1()
104 trustAnchor->CACert = nullptr; in FreeTrustAnchor1()
668 CfObjDestroy(trustAnchor->CACert); in FreeTrustAnchorData()
669 trustAnchor->CACert = NULL; in FreeTrustAnchorData()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-device-certificate-kit/
H A Djs-apis-cert.md275 | CACert | [X509Cert](#x509cert) | 是 | 是 | 信任的CA证书。 |
9787 trustAnchors: [{CACert:caCert}, {CACert:caCert}],
9792 …console.info("ca subject name: " + certChainBuildResult.validationResult.trustAnchor.CACert?.getSu…
/ohos5.0/docs/en/application-dev/reference/apis-device-certificate-kit/
H A Djs-apis-cert.md275 | CACert | [X509Cert](#x509cert) | Yes | Yes | Trusted CA certificate. |
9787 trustAnchors: [{CACert:caCert}, {CACert:caCert}],
9792 …console.info("ca subject name: " + certChainBuildResult.validationResult.trustAnchor.CACert?.getSu…