/base/security/certificate_framework/interfaces/innerkits/certificate/ |
D | certificate.h | 33 CfResult (*getEncoded)(HcfCertificate *self, CfEncodingBlob *encodedByte); member
|
D | x509_crl_entry.h | 30 CfResult (*getEncoded)(HcfX509CrlEntry *self, CfEncodingBlob *encodedOut); member
|
D | x509_crl.h | 32 CfResult (*getEncoded)(HcfX509Crl *self, CfEncodingBlob *encodedOut); member
|
/base/security/crypto_framework/interfaces/innerkits/key/ |
D | key.h | 56 HcfResult (*getEncoded)(HcfKey *self, HcfBlob *returnBlob); member
|
/base/security/crypto_framework/test/unittest/src/ |
D | crypto_sm2_asy_key_generator_test.cpp | 484 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 508 res = keyPair->pubKey->base.getEncoded(nullptr, &blob); 529 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), nullptr); 713 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &blob); 737 res = keyPair->priKey->base.getEncoded(nullptr, &blob); 758 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), nullptr); 1044 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 1068 res = keyPair->pubKey->base.getEncoded(nullptr, &blob); 1089 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), nullptr); 1273 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &blob); [all …]
|
D | crypto_rsa_asy_key_generator_test.cpp | 467 res = pubKey->base.getEncoded((HcfKey *)priKey, &pubKeyBlob); 469 res = priKey->base.getEncoded((HcfKey *)pubKey, &priKeyBlob); 488 res = pubKey->base.getEncoded((HcfKey *)priKey, nullptr); 490 res = priKey->base.getEncoded((HcfKey *)pubKey, nullptr); 509 res = keyPair->pubKey->base.getEncoded((HcfKey *)keyPair->pubKey, &pubKeyBlob); 511 res = keyPair->priKey->base.getEncoded((HcfKey *)keyPair->priKey, &priKeyBlob); 550 res = keyPair->pubKey->base.getEncoded((HcfKey *)keyPair->pubKey, &pubKeyBlob1); 552 res = keyPair->priKey->base.getEncoded((HcfKey *)keyPair->priKey, &priKeyBlob1); 562 res = keyPair->pubKey->base.getEncoded((HcfKey *)keyPair->pubKey, &pubKeyBlob2); 564 res = keyPair->priKey->base.getEncoded((HcfKey *)keyPair->priKey, &priKeyBlob2); [all …]
|
D | crypto_ecc_asy_key_generator_test.cpp | 713 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 737 res = keyPair->pubKey->base.getEncoded(nullptr, &blob); 759 res = keyPair->pubKey->base.getEncoded((HcfKey *)&g_obj, &blob); 780 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), nullptr); 1036 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &blob); 1060 res = keyPair->priKey->base.getEncoded(nullptr, &blob); 1082 res = keyPair->priKey->base.getEncoded((HcfKey *)&g_obj, &blob); 1103 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), nullptr); 1521 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 1545 res = keyPair->pubKey->base.getEncoded(nullptr, &blob); [all …]
|
D | crypto_sm4_generator_test.cpp | 304 ret = key->key.getEncoded(nullptr, &encodedBlob); 343 ret = key->key.getEncoded(reinterpret_cast<HcfKey *>(generator), &encodedBlob); 387 ret = key->key.getEncoded(&(key->key), &encodedBlob); 428 ret = key->key.getEncoded(&(key->key), &encodedBlob);
|
D | crypto_dsa_asy_key_generator_test.cpp | 135 HcfResult ret = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), pkBlob); in GetKeyEncodedTest() 139 ret = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), skBlob); in GetKeyEncodedTest() 369 … HcfResult ret = dsa2048KeyPair_->pubKey->base.getEncoded(&(dsa2048KeyPair_->pubKey->base), &blob); 380 HcfResult ret = dsa2048KeyPair_->pubKey->base.getEncoded(nullptr, &blob); 389 …HcfResult ret = dsa2048KeyPair_->pubKey->base.getEncoded(&(dsa2048KeyPair_->pubKey->base), nullptr… 396 HcfResult ret = dsa2048KeyPair_->pubKey->base.getEncoded((HcfKey *)&g_obj, &blob); 510 … HcfResult ret = dsa2048KeyPair_->priKey->base.getEncoded(&(dsa2048KeyPair_->priKey->base), &blob); 790 ret = convertKeyPair->pubKey->base.getEncoded(&(convertKeyPair->pubKey->base), &blob); 1015 ret = convertKeyPair->priKey->base.getEncoded(&(convertKeyPair->priKey->base), &blob);
|
D | crypto_ecc_asy_key_generator_by_spec_test.cpp | 2262 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 2291 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2320 res = priKey->base.getEncoded(&(priKey->base), &blob); 2349 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 2378 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2407 res = priKey->base.getEncoded(&(priKey->base), &blob); 2436 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 2465 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2494 res = priKey->base.getEncoded(&(priKey->base), &blob); 2523 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); [all …]
|
D | crypto_rsa_asy_key_generator_by_spec_test.cpp | 1225 res = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 1420 res = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &blob); 1617 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 1810 res = priKey->base.getEncoded(&(priKey->base), &blob); 1995 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2110 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2155 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2198 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2244 res = pubKey->base.getEncoded(&(pubKey->base), &blob); 2298 res = pubKey->base.getEncoded(&(pubKey->base), &blob); [all …]
|
D | crypto_dsa_asy_key_generator_by_spec_test.cpp | 554 ret = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 738 ret = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &blob); 961 ret = keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &blob); 1154 ret = keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &blob); 1340 ret = pk->base.getEncoded(&(pk->base), &blob); 1527 ret = sk->base.getEncoded(&(sk->base), &blob);
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_pub_key.cpp | 82 HcfResult res = pubKey->base.getEncoded(&pubKey->base, &returnBlob); in JsGetEncoded()
|
D | napi_key.cpp | 81 HcfResult res = key->getEncoded(key, &blob); in JsGetEncoded()
|
D | napi_x509_crl_entry.cpp | 145 context->errCode = x509CrlEntry->getEncoded(x509CrlEntry, encodingBlob); in GetEncodedExecute()
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/ |
D | x509certificate_fuzzer.cpp | 59 CfResult res = x509CertObj->base.getEncoded(&(x509CertObj->base), &derBlob); in TestGetEncoded()
|
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/ |
D | sym_key_openssl.c | 274 returnSymmKey->key.key.getEncoded = GetEncoded; in GenerateSymmKey() 312 returnSymmKey->key.key.getEncoded = GetEncoded; in ConvertSymmKey()
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509crl_fuzzer/ |
D | x509crl_fuzzer.cpp | 159 (void)x509CrlPem->getEncoded(x509CrlPem, &encodingBlob); in TestX509CrlPem() 204 entry->getEncoded(entry, &entryEncoded); in TestX509CrlEntry()
|
/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/ |
D | asykeygenerator_fuzzer.cpp | 575 (void)keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &pubKeyBlob); in TestRsaKey() 576 (void)keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &priKeyBlob); in TestRsaKey() 607 (void)keyPair->pubKey->base.getEncoded(&(keyPair->pubKey->base), &pubKeyBlob); in TestDsaKey() 608 (void)keyPair->priKey->base.getEncoded(&(keyPair->priKey->base), &priKeyBlob); in TestDsaKey()
|
/base/security/crypto_framework/frameworks/js/napi/crypto/src/ |
D | napi_key.cpp | 109 HcfResult res = key->getEncoded(key, &blob); in JsGetEncoded()
|
D | napi_pub_key.cpp | 85 HcfResult res = pubKey->base.getEncoded(&pubKey->base, &returnBlob); in JsGetEncoded()
|
D | napi_pri_key.cpp | 85 HcfResult res = priKey->base.getEncoded(&priKey->base, &returnBlob); in JsGetEncoded()
|
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/ |
D | sm2_asy_key_generator_openssl.c | 277 returnPubKey->base.base.getEncoded = GetSm2PubKeyEncoded; in PackSm2PubKey() 297 returnPriKey->base.base.getEncoded = GetSm2PriKeyEncoded; in PackSm2PriKey()
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
D | x509_crl_entry_openssl.c | 247 returnCRLEntry->base.getEncoded = GetEncoded; in HcfCX509CRLEntryCreate()
|
/base/security/certificate_framework/frameworks/core/v1.0/certificate/ |
D | x509_crl.c | 338 x509CertImpl->base.getEncoded = GetEncoded; in HcfX509CrlCreate()
|