Home
last modified time | relevance | path

Searched refs:HcfPubKey (Results 1 - 25 of 93) sorted by relevance

1234

/base/security/crypto_framework/interfaces/inner_api/key/
H A Dpub_key.h22 typedef struct HcfPubKey HcfPubKey; typedef
24 struct HcfPubKey { struct
27 HcfResult (*getAsyKeySpecBigInteger)(const HcfPubKey *self, const AsyKeySpecItem item,
30 HcfResult (*getAsyKeySpecString)(const HcfPubKey *self, const AsyKeySpecItem item, char **returnString);
32 HcfResult (*getAsyKeySpecInt)(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt);
34 HcfResult (*getEncodedDer)(const HcfPubKey *self, const char *format, HcfBlob *returnBlob);
H A Dkey_pair.h29 HcfPubKey *pubKey;
/base/security/crypto_framework/frameworks/cj/src/
H A Dpub_key_impl.cpp19 PubKeyImpl::PubKeyImpl(HcfPubKey *pubKey) : KeyImpl(reinterpret_cast<HcfKey *>(pubKey)) {} in PubKeyImpl()
23 HcfPubKey *PubKeyImpl::GetPubKey() in GetPubKey()
25 return reinterpret_cast<HcfPubKey *>(KeyImpl::GetHcfKey()); in GetPubKey()
H A Dkey_agreement_impl.cpp36 HcfBlob KeyAgreementImpl::GenerateSecret(HcfPriKey *priKey, HcfPubKey *pubKey, int32_t *errCode) in GenerateSecret()
/base/security/crypto_framework/plugin/openssl_plugin/common/inc/
H A Dopenssl_class.h30 HcfPubKey base;
57 HcfPubKey base;
80 HcfPubKey base;
99 HcfPubKey base;
123 HcfPubKey base;
150 HcfPubKey base;
/base/security/crypto_framework/frameworks/native/src/
H A Dasym_key.c50 HcfPubKey *pubKey;
56 HcfResult (*getAsyKeySpecBigInteger)(const HcfPubKey *self, const AsyKeySpecItem item,
59 HcfResult (*getAsyKeySpecString)(const HcfPubKey *self, const AsyKeySpecItem item, char **returnString);
61 HcfResult (*getAsyKeySpecInt)(const HcfPubKey *self, const AsyKeySpecItem item, int *returnInt);
63 HcfResult (*getEncodedDer)(const HcfPubKey *self, const char *format, HcfBlob *returnBlob);
164 key->getEncodedDer((HcfPubKey *)key, encodingStandard, (HcfBlob *)out); in OH_CryptoPubKey_Encode()
197 key->getAsyKeySpecInt((HcfPubKey *)key, (AsyKeySpecItem)item, returnInt); in OH_CryptoPubKey_GetParam()
208 key->getAsyKeySpecString((HcfPubKey *)key, (AsyKeySpecItem)item, &returnStr); in OH_CryptoPubKey_GetParam()
217 key->getAsyKeySpecBigInteger((HcfPubKey *)key, (AsyKeySpecItem)item, &bigIntValue); in OH_CryptoPubKey_GetParam()
/base/security/crypto_framework/frameworks/cj/include/
H A Dpub_key_impl.h27 explicit PubKeyImpl(HcfPubKey *pubKey);
29 HcfPubKey *GetPubKey();
H A Dkey_agreement_impl.h31 HcfBlob GenerateSecret(HcfPriKey *priKey, HcfPubKey *pubKey, int32_t *errCode);
H A Dverify_impl.h30 HcfResult Init(HcfPubKey *pubKey);
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/
H A Dnapi_pub_key.h29 explicit NapiPubKey(HcfPubKey *pubKey);
32 HcfPubKey *GetPubKey();
/base/security/crypto_framework/frameworks/js/napi/crypto/inc/
H A Dnapi_pub_key.h30 explicit NapiPubKey(HcfPubKey *pubKey);
33 HcfPubKey *GetPubKey();
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_pub_key.cpp29 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {} in NapiPubKey()
33 __attribute__((no_sanitize("cfi"))) HcfPubKey *NapiPubKey::GetPubKey() in GetPubKey()
35 return reinterpret_cast<HcfPubKey *>(NapiKey::GetHcfKey()); in GetPubKey()
73 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncoded()
/base/security/crypto_framework/frameworks/js/napi/crypto/src/
H A Dnapi_pub_key.cpp29 NapiPubKey::NapiPubKey(HcfPubKey *pubKey) : NapiKey(reinterpret_cast<HcfKey *>(pubKey)) {} in NapiPubKey()
33 HcfPubKey *NapiPubKey::GetPubKey() in GetPubKey()
35 return reinterpret_cast<HcfPubKey *>(NapiKey::GetHcfKey()); in GetPubKey()
77 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncoded()
129 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncodedDer()
183 HcfPubKey *pubKey = napiPubKey->GetPubKey(); in JsGetEncodedPem()
203 static napi_value GetAsyKeySpecBigInt(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecBigInt()
224 static napi_value GetAsyKeySpecNumber(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecNumber()
239 static napi_value GetAsyKeySpecString(napi_env env, AsyKeySpecItem item, HcfPubKey *pubKey) in GetAsyKeySpecString()
281 HcfPubKey *pubKe in JsGetAsyKeySpec()
[all...]
/base/security/crypto_framework/frameworks/spi/
H A Dkey_agreement_spi.h30 HcfPubKey *pubKey, HcfBlob *returnSecret);
H A Dasy_key_generator_spi.h52 HcfPubKey **returnPubKey);
/base/security/certificate_framework/frameworks/core/v1.0/spi/
H A Dx509_certificate_spi.h30 CfResult (*engineVerify)(HcfX509CertificateSpi *self, HcfPubKey *key);
34 CfResult (*engineGetPublicKey)(HcfX509CertificateSpi *self, HcfPubKey **keyOut);
/base/security/crypto_framework/interfaces/inner_api/crypto_operation/
H A Dkey_agreement.h30 HcfPubKey *pubKey, HcfBlob *returnSecret);
/base/security/certificate_framework/frameworks/adapter/v1.0/inc/
H A Dcertificate_openssl_class.h33 HcfPubKey base;
/base/security/crypto_framework/test/unittest/src/
H A Dcrypto_rsa_verify_test.cpp198 res = verify->init(verify, nullptr, (HcfPubKey *)keyPair->priKey); in HWTEST_F()
308 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
333 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
357 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
381 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
418 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
456 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
494 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
533 HcfPubKey *pubkey = keyPair->pubKey; in HWTEST_F()
573 HcfPubKey *pubke in HWTEST_F()
[all...]
H A Dcrypto_rsa1024_asy_key_generator_by_spec_test.cpp202 HcfPubKey *pubKey = nullptr; in HWTEST_F()
271 HcfPubKey *pubKey = nullptr; in HWTEST_F()
761 HcfPubKey *pubKey = nullptr; in HWTEST_F()
787 HcfPubKey *pubKey = nullptr; in HWTEST_F()
810 HcfPubKey *pubKey = nullptr; in HWTEST_F()
835 HcfPubKey *pubKey = nullptr; in HWTEST_F()
864 HcfPubKey *pubKey = nullptr; in HWTEST_F()
889 HcfPubKey *pubKey = nullptr; in HWTEST_F()
921 HcfPubKey *pubKey = nullptr; in HWTEST_F()
1145 HcfPubKey *pubKe in HWTEST_F()
[all...]
H A Dcrypto_rsa8192_asy_key_generator_by_spec_test.cpp201 HcfPubKey *pubKey = nullptr; in HWTEST_F()
270 HcfPubKey *pubKey = nullptr; in HWTEST_F()
760 HcfPubKey *pubKey = nullptr; in HWTEST_F()
786 HcfPubKey *pubKey = nullptr; in HWTEST_F()
809 HcfPubKey *pubKey = nullptr; in HWTEST_F()
834 HcfPubKey *pubKey = nullptr; in HWTEST_F()
863 HcfPubKey *pubKey = nullptr; in HWTEST_F()
888 HcfPubKey *pubKey = nullptr; in HWTEST_F()
920 HcfPubKey *pubKey = nullptr; in HWTEST_F()
1144 HcfPubKey *pubKe in HWTEST_F()
[all...]
H A Dcrypto_rsa3072_asy_key_generator_by_spec_test.cpp201 HcfPubKey *pubKey = nullptr; in HWTEST_F()
270 HcfPubKey *pubKey = nullptr; in HWTEST_F()
760 HcfPubKey *pubKey = nullptr; in HWTEST_F()
786 HcfPubKey *pubKey = nullptr; in HWTEST_F()
809 HcfPubKey *pubKey = nullptr; in HWTEST_F()
834 HcfPubKey *pubKey = nullptr; in HWTEST_F()
863 HcfPubKey *pubKey = nullptr; in HWTEST_F()
888 HcfPubKey *pubKey = nullptr; in HWTEST_F()
920 HcfPubKey *pubKey = nullptr; in HWTEST_F()
1144 HcfPubKey *pubKe in HWTEST_F()
[all...]
H A Dcrypto_rsa512_asy_key_generator_by_spec_test.cpp202 HcfPubKey *pubKey = nullptr; in HWTEST_F()
271 HcfPubKey *pubKey = nullptr; in HWTEST_F()
761 HcfPubKey *pubKey = nullptr; in HWTEST_F()
787 HcfPubKey *pubKey = nullptr; in HWTEST_F()
810 HcfPubKey *pubKey = nullptr; in HWTEST_F()
835 HcfPubKey *pubKey = nullptr; in HWTEST_F()
864 HcfPubKey *pubKey = nullptr; in HWTEST_F()
889 HcfPubKey *pubKey = nullptr; in HWTEST_F()
921 HcfPubKey *pubKey = nullptr; in HWTEST_F()
1145 HcfPubKey *pubKe in HWTEST_F()
[all...]
H A Dcrypto_rsa2048_asy_key_generator_by_spec_test.cpp201 HcfPubKey *pubKey = nullptr; in HWTEST_F()
270 HcfPubKey *pubKey = nullptr; in HWTEST_F()
760 HcfPubKey *pubKey = nullptr; in HWTEST_F()
786 HcfPubKey *pubKey = nullptr; in HWTEST_F()
809 HcfPubKey *pubKey = nullptr; in HWTEST_F()
834 HcfPubKey *pubKey = nullptr; in HWTEST_F()
863 HcfPubKey *pubKey = nullptr; in HWTEST_F()
888 HcfPubKey *pubKey = nullptr; in HWTEST_F()
920 HcfPubKey *pubKey = nullptr; in HWTEST_F()
1144 HcfPubKey *pubKe in HWTEST_F()
[all...]
H A Dcrypto_rsa4096_asy_key_generator_by_spec_test.cpp201 HcfPubKey *pubKey = nullptr; in HWTEST_F()
270 HcfPubKey *pubKey = nullptr; in HWTEST_F()
760 HcfPubKey *pubKey = nullptr; in HWTEST_F()
786 HcfPubKey *pubKey = nullptr; in HWTEST_F()
809 HcfPubKey *pubKey = nullptr; in HWTEST_F()
834 HcfPubKey *pubKey = nullptr; in HWTEST_F()
863 HcfPubKey *pubKey = nullptr; in HWTEST_F()
888 HcfPubKey *pubKey = nullptr; in HWTEST_F()
920 HcfPubKey *pubKey = nullptr; in HWTEST_F()
1144 HcfPubKey *pubKe in HWTEST_F()
[all...]

Completed in 25 milliseconds

1234