/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_x509_trust_anchor.cpp | 104 if (trustAnchor->CAPubKey != nullptr) { in BuildX509TrustAnchorJS() 105 napi_value CAPubKey = ConvertBlobToUint8ArrNapiValue(env, trustAnchor->CAPubKey); in BuildX509TrustAnchorJS() local 106 if (CAPubKey == nullptr) { in BuildX509TrustAnchorJS() 110 … napi_set_named_property(env, instance, CERT_CHAIN_TRUSTANCHOR_TAG_CAPUBKEY.c_str(), CAPubKey); in BuildX509TrustAnchorJS() 157 if (!GetCAPubKey(env, arg, trustAnchor->CAPubKey)) { in BuildX509TrustAnchorObj() 182 CfBlobFree(&trustAnchor->CAPubKey); in FreeX509TrustAnchorObj()
|
H A D | napi_x509_cert_chain_validate_params.cpp | 461 CfBlobFree(&trustAnchorArray->data[i]->CAPubKey); in FreeTrustAnchorArray()
|
H A D | napi_x509_cert_chain.cpp | 607 …api_value valuePubKey = ConvertBlobToUint8ArrayNapiValue(env, trustAnchorArray->data[i]->CAPubKey); in BuildCreateInstanceByTrustAnchorArray()
|
/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/ |
H A D | x509_trust_anchor.h | 27 CfBlob *CAPubKey; // CAPubKey : Uint8Array DER format member
|
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_cert_chain_openssl.c | 327 if (anchor->CAPubKey == NULL) { in CheckOthersInTrustAnchor() 332 EVP_PKEY *pubKey = ConvertByteArrayToPubKey(anchor->CAPubKey->data, anchor->CAPubKey->size); in CheckOthersInTrustAnchor() 433 CfBlobFree(&trustAnchor->CAPubKey); in FreeTrustAnchorData() 442 CfBlob *CAPubKey = inputAnchor->CAPubKey; in CopyHcfX509TrustAnchor() local 457 if (CAPubKey != NULL) { in CopyHcfX509TrustAnchor() 458 res = DeepCopyBlobToBlob(CAPubKey, &outAnchor->CAPubKey); in CopyHcfX509TrustAnchor() 470 CfBlobFree(&outAnchor->CAPubKey); in CopyHcfX509TrustAnchor() 479 CfBlobFree(&outAnchor->CAPubKey); in CopyHcfX509TrustAnchor() 2029 if (GetPubKeyDataFromX509(x509, &(result->data[i]->CAPubKey)) != CF_SUCCESS) { in ProcessP12Data() 2055 CfBlobFree(&trustAnchorArray->data[i]->CAPubKey); in FreeHcfX509TrustAnchorArrayInner()
|
/ohos5.0/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | crypto_x509_cert_chain_test.cpp | 945 anchor.CAPubKey = &pubkey; 976 anchor.CAPubKey = &pubkey; 1008 anchor.CAPubKey = &pubkey; 1044 anchor.CAPubKey = &pubkey; 1074 anchor.CAPubKey = &pubkey; 1104 anchor.CAPubKey = &pubkey; 1161 anchor.CAPubKey = &pubkey; 1216 anchor.CAPubKey = &pubkey; 1613 anchor.CAPubKey = &pubkey; 1652 anchor.CAPubKey = &pubkey; [all …]
|
H A D | crypto_x509_test_common.cpp | 340 CfBlobFree(&trustAnchor->CAPubKey); in FreeTrustAnchor()
|
/ohos5.0/docs/zh-cn/application-dev/security/DeviceCertificateKit/ |
H A D | create-verify-certchain-object.md | 106 …CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
|
/ohos5.0/docs/en/application-dev/security/DeviceCertificateKit/ |
H A D | create-verify-certchain-object.md | 106 …CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
|
/ohos5.0/base/security/certificate_framework/test/fuzztest/v1.0/x509certchain_fuzzer/ |
H A D | x509certchain_fuzzer.cpp | 101 CfBlobFree(&trustAnchor->CAPubKey); in FreeTrustAnchor1() 666 CfBlobFree(&trustAnchor->CAPubKey); in FreeTrustAnchorData()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-device-certificate-kit/ |
H A D | js-apis-cert.md | 276 | CAPubKey | Uint8Array | 是 | 是 | 信任的CA证书公钥, DER格式。 | 10116 …CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, … 10246 …CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
|
/ohos5.0/docs/en/application-dev/reference/apis-device-certificate-kit/ |
H A D | js-apis-cert.md | 276 | CAPubKey | Uint8Array | Yes | Yes | Public key of the trusted CA certificate, in DE… 10116 …CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, … 10246 …CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
|