Home
last modified time | relevance | path

Searched refs:CAPubKey (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.cpp104 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 Dnapi_x509_cert_chain_validate_params.cpp461 CfBlobFree(&trustAnchorArray->data[i]->CAPubKey); in FreeTrustAnchorArray()
H A Dnapi_x509_cert_chain.cpp607 …api_value valuePubKey = ConvertBlobToUint8ArrayNapiValue(env, trustAnchorArray->data[i]->CAPubKey); in BuildCreateInstanceByTrustAnchorArray()
/ohos5.0/base/security/certificate_framework/interfaces/innerkits/certificate/
H A Dx509_trust_anchor.h27 CfBlob *CAPubKey; // CAPubKey : Uint8Array DER format member
/ohos5.0/base/security/certificate_framework/frameworks/adapter/v1.0/src/
H A Dx509_cert_chain_openssl.c327 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 Dcrypto_x509_cert_chain_test.cpp945 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 Dcrypto_x509_test_common.cpp340 CfBlobFree(&trustAnchor->CAPubKey); in FreeTrustAnchor()
/ohos5.0/docs/zh-cn/application-dev/security/DeviceCertificateKit/
H A Dcreate-verify-certchain-object.md106CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
/ohos5.0/docs/en/application-dev/security/DeviceCertificateKit/
H A Dcreate-verify-certchain-object.md106CAPubKey: 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 Dx509certchain_fuzzer.cpp101 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 Djs-apis-cert.md276 | CAPubKey | Uint8Array | 是 | 是 | 信任的CA证书公钥, DER格式。 |
10116CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
10246CAPubKey: 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 Djs-apis-cert.md276 | CAPubKey | Uint8Array | Yes | Yes | Public key of the trusted CA certificate, in DE…
10116CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …
10246CAPubKey: new Uint8Array([0x30, 0x2a, 0x30, 0x05, 0x06, 0x03, 0x2b, 0x65, 0x70, 0x03, 0x21, 0x00, …