Home
last modified time | relevance | path

Searched refs:CASubject (Results 1 – 12 of 12) sorted by relevance

/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_x509_trust_anchor.cpp113 if (trustAnchor->CASubject != nullptr) { in BuildX509TrustAnchorJS()
114 napi_value CASubject = ConvertBlobToUint8ArrNapiValue(env, trustAnchor->CASubject); in BuildX509TrustAnchorJS() local
115 if (CASubject == nullptr) { in BuildX509TrustAnchorJS()
119 … napi_set_named_property(env, instance, CERT_CHAIN_TRUSTANCHOR_TAG_CASUBJECT.c_str(), CASubject); in BuildX509TrustAnchorJS()
165 if (!GetCASubject(env, arg, trustAnchor->CASubject)) { in BuildX509TrustAnchorObj()
183 CfBlobFree(&trustAnchor->CASubject); in FreeX509TrustAnchorObj()
H A Dnapi_x509_cert_chain_validate_params.cpp462 CfBlobFree(&trustAnchorArray->data[i]->CASubject); in FreeTrustAnchorArray()
H A Dnapi_x509_cert_chain.cpp613 … napi_value valueSub = ConvertBlobToUint8ArrayNapiValue(env, trustAnchorArray->data[i]->CASubject); in BuildCreateInstanceByTrustAnchorArray()
/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/
H A Dx509_trust_anchor.h29 CfBlob *CASubject; // CASubject : Uint8Array DER format member
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_openssl.c352 if (anchor->CASubject != NULL) { in CheckOthersInTrustAnchor()
359 … CfResult res = CompareNameObject(rootCert, anchor->CASubject, nameType, &compareSubjectFlag); in CheckOthersInTrustAnchor()
434 CfBlobFree(&trustAnchor->CASubject); in FreeTrustAnchorData()
443 CfBlob *CASubject = inputAnchor->CASubject; in CopyHcfX509TrustAnchor() local
465 if (CASubject != NULL) { in CopyHcfX509TrustAnchor()
466 res = DeepCopyBlobToBlob(CASubject, &outAnchor->CASubject); in CopyHcfX509TrustAnchor()
480 CfBlobFree(&outAnchor->CASubject); in CopyHcfX509TrustAnchor()
2034 if (GetSubjectNameFromX509(x509, &(result->data[i]->CASubject)) != CF_SUCCESS) { in ProcessP12Data()
2056 CfBlobFree(&trustAnchorArray->data[i]->CASubject); in FreeHcfX509TrustAnchorArrayInner()
/ohos5.0/docs/zh-cn/application-dev/security/DeviceCertificateKit/
H A Dcreate-verify-certchain-object.md107CASubject: new Uint8Array([0x30, 0x5a, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,…
/ohos5.0/docs/en/application-dev/security/DeviceCertificateKit/
H A Dcreate-verify-certchain-object.md107CASubject: new Uint8Array([0x30, 0x5a, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,…
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/
H A Dcrypto_x509_test_common.cpp341 CfBlobFree(&trustAnchor->CASubject); in FreeTrustAnchor()
H A Dcrypto_x509_cert_chain_test.cpp1009 anchor.CASubject = &subject;
1045 anchor.CASubject = &subject;
1075 anchor.CASubject = &pubkey;
1105 anchor.CASubject = &pubkey;
1653 anchor.CASubject = &subject;
1690 anchor.CASubject = &subject;
/ohos5.0/base/security/certificate_framework/test/fuzztest/v1.0/x509certchain_fuzzer/
H A Dx509certchain_fuzzer.cpp102 CfBlobFree(&trustAnchor->CASubject); in FreeTrustAnchor1()
667 CfBlobFree(&trustAnchor->CASubject); in FreeTrustAnchorData()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-device-certificate-kit/
H A Djs-apis-cert.md277 | CASubject | Uint8Array | 是 | 是 | 信任的CA证书主题, DER格式。 |
10117CASubject: new Uint8Array([0x30, 0x5a, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,…
10247CASubject: new Uint8Array([0x30, 0x5a, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,…
/ohos5.0/docs/en/application-dev/reference/apis-device-certificate-kit/
H A Djs-apis-cert.md277 | CASubject | Uint8Array | Yes | Yes | Subject of the trusted CA certificate, in DER f…
10117CASubject: new Uint8Array([0x30, 0x5a, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,…
10247CASubject: new Uint8Array([0x30, 0x5a, 0x31, 0x0b, 0x30, 0x09, 0x06, 0x03, 0x55, 0x04, 0x06, 0x13,…