Home
last modified time | relevance | path

Searched refs:getEncoded (Results 1 – 25 of 36) sorted by relevance

12

/base/security/certificate_framework/interfaces/innerkits/certificate/
Dcertificate.h33 CfResult (*getEncoded)(HcfCertificate *self, CfEncodingBlob *encodedByte); member
Dx509_crl_entry.h30 CfResult (*getEncoded)(HcfX509CrlEntry *self, CfEncodingBlob *encodedOut); member
Dx509_crl.h32 CfResult (*getEncoded)(HcfX509Crl *self, CfEncodingBlob *encodedOut); member
/base/security/crypto_framework/interfaces/innerkits/key/
Dkey.h56 HcfResult (*getEncoded)(HcfKey *self, HcfBlob *returnBlob); member
/base/security/crypto_framework/test/unittest/src/
Dcrypto_sm2_asy_key_generator_test.cpp484 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 …]
Dcrypto_rsa_asy_key_generator_test.cpp467 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 …]
Dcrypto_ecc_asy_key_generator_test.cpp713 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 …]
Dcrypto_sm4_generator_test.cpp304 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);
Dcrypto_dsa_asy_key_generator_test.cpp135 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);
Dcrypto_ecc_asy_key_generator_by_spec_test.cpp2262 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 …]
Dcrypto_rsa_asy_key_generator_by_spec_test.cpp1225 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 …]
Dcrypto_dsa_asy_key_generator_by_spec_test.cpp554 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/
Dnapi_pub_key.cpp82 HcfResult res = pubKey->base.getEncoded(&pubKey->base, &returnBlob); in JsGetEncoded()
Dnapi_key.cpp81 HcfResult res = key->getEncoded(key, &blob); in JsGetEncoded()
Dnapi_x509_crl_entry.cpp145 context->errCode = x509CrlEntry->getEncoded(x509CrlEntry, encodingBlob); in GetEncodedExecute()
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/
Dx509certificate_fuzzer.cpp59 CfResult res = x509CertObj->base.getEncoded(&(x509CertObj->base), &derBlob); in TestGetEncoded()
/base/security/crypto_framework/plugin/openssl_plugin/key/sym_key_generator/src/
Dsym_key_openssl.c274 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/
Dx509crl_fuzzer.cpp159 (void)x509CrlPem->getEncoded(x509CrlPem, &encodingBlob); in TestX509CrlPem()
204 entry->getEncoded(entry, &entryEncoded); in TestX509CrlEntry()
/base/security/crypto_framework/test/fuzztest/key/asykeygenerator_fuzzer/
Dasykeygenerator_fuzzer.cpp575 (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/
Dnapi_key.cpp109 HcfResult res = key->getEncoded(key, &blob); in JsGetEncoded()
Dnapi_pub_key.cpp85 HcfResult res = pubKey->base.getEncoded(&pubKey->base, &returnBlob); in JsGetEncoded()
Dnapi_pri_key.cpp85 HcfResult res = priKey->base.getEncoded(&priKey->base, &returnBlob); in JsGetEncoded()
/base/security/crypto_framework/plugin/openssl_plugin/key/asy_key_generator/src/
Dsm2_asy_key_generator_openssl.c277 returnPubKey->base.base.getEncoded = GetSm2PubKeyEncoded; in PackSm2PubKey()
297 returnPriKey->base.base.getEncoded = GetSm2PriKeyEncoded; in PackSm2PriKey()
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_crl_entry_openssl.c247 returnCRLEntry->base.getEncoded = GetEncoded; in HcfCX509CRLEntryCreate()
/base/security/certificate_framework/frameworks/core/v1.0/certificate/
Dx509_crl.c338 x509CertImpl->base.getEncoded = GetEncoded; in HcfX509CrlCreate()

12