Home
last modified time | relevance | path

Searched refs:CfEncodingBlob (Results 1 – 25 of 51) sorted by relevance

123

/base/security/certificate_framework/test/unittest/common/include/
Dcf_test_sdk_common.h27 int32_t CommonTest(CfObjectType type, const CfEncodingBlob *inData,
30 int32_t AbnormalTest(CfObjectType objType, const CfEncodingBlob *in,
/base/security/certificate_framework/interfaces/innerkits/common/
Dcf_blob.h37 } CfEncodingBlob; typedef
56 void CfEncodingBlobDataFree(CfEncodingBlob *encodingBlob);
/base/security/certificate_framework/test/fuzztest/cfcreate_fuzzer/
Dcfcreate_fuzzer.cpp27 if (size < sizeof(CfObjectType) + sizeof(CfEncodingBlob)) { in CfCreateFuzzTest()
36 CfEncodingBlob inStream = { 0 }; in CfCreateFuzzTest()
/base/security/certificate_framework/interfaces/innerkits/certificate/
Dx509_crl.h32 CfResult (*getEncoded)(HcfX509Crl *self, CfEncodingBlob *encodedOut);
79 CfResult HcfX509CrlCreate(const CfEncodingBlob *inStream, HcfX509Crl **returnObj);
Dcertificate.h33 CfResult (*getEncoded)(HcfCertificate *self, CfEncodingBlob *encodedByte);
Dx509_crl_entry.h30 CfResult (*getEncoded)(HcfX509CrlEntry *self, CfEncodingBlob *encodedOut);
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/
Dx509certificate_fuzzer.cpp58 CfEncodingBlob derBlob = { 0 }; in TestGetEncoded()
126 CfEncodingBlob inStream = { 0 }; in CreateOneCert()
149 CfEncodingBlob inStream = { 0 }; in X509CertificateFuzzTest()
/base/security/certificate_framework/frameworks/adapter/v1.0/inc/
Dx509_certificate_openssl.h25 CfResult OpensslX509CertSpiCreate(const CfEncodingBlob *inStream, HcfX509CertificateSpi **spi);
Dx509_crl_openssl.h28 CfResult HcfCX509CrlSpiCreate(const CfEncodingBlob *inStream, HcfX509CrlSpi **spi);
/base/security/certificate_framework/test/fuzztest/v1.0/x509crl_fuzzer/
Dx509crl_fuzzer.cpp158 CfEncodingBlob encodingBlob = { 0 }; in TestX509CrlPem()
180 CfEncodingBlob inStreamCert = { 0 }; in TestX509CrlPem()
203 CfEncodingBlob entryEncoded = { 0 }; in TestX509CrlEntry()
279 CfEncodingBlob crlDerInStream = { 0 }; in FuzzDoX509CrlTest()
290 CfEncodingBlob crlPemInStream = { 0 }; in FuzzDoX509CrlTest()
310 CfEncodingBlob crlInStream = { 0 }; in FuzzDoX509CrlTest()
/base/security/certificate_framework/frameworks/common/v1.0/inc/
Dcf_check.h27 int32_t CfCheckEncodingBlob(const CfEncodingBlob *blob, uint32_t maxLen);
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/
Dnapi_cert_utils.h42 bool GetEncodingBlobFromValue(napi_env env, napi_value object, CfEncodingBlob **encodingBlob);
50 napi_value ConvertEncodingBlobToNapiValue(napi_env env, CfEncodingBlob *encodingBlob);
/base/security/certificate_framework/frameworks/core/cert/inc/
Dcf_cert_adapter_ability_define.h23 int32_t (*adapterCreate)(const CfEncodingBlob *in, CfBase **object);
Dcf_object_cert.h25 int32_t CfCertCreate(const CfEncodingBlob *in, CfBase **obj);
/base/security/certificate_framework/frameworks/core/extension/inc/
Dcf_object_extension.h25 int32_t CfExtensionCreate(const CfEncodingBlob *in, CfBase **obj);
Dcf_extension_adapter_ability_define.h23 int32_t (*adapterCreate)(const CfEncodingBlob *in, CfBase **object);
/base/security/certificate_framework/frameworks/core/life/inc/
Dcf_object_ability_define.h23 int32_t (*create)(const CfEncodingBlob *in, CfBase **obj);
/base/security/certificate_framework/frameworks/adapter/v2.0/inc/
Dcf_adapter_cert_openssl.h34 int32_t CfOpensslCreateCert(const CfEncodingBlob *inData, CfBase **object);
Dcf_adapter_extension_openssl.h32 int32_t CfOpensslCreateExtension(const CfEncodingBlob *inData, CfBase **object);
/base/security/certificate_framework/interfaces/innerkits/include/
Dcf_api.h32 CF_API_EXPORT int32_t CfCreate(CfObjectType objType, const CfEncodingBlob *in, CfObject **object);
/base/security/certificate_framework/frameworks/common/v1.0/src/
Dcf_check.c30 int32_t CfCheckEncodingBlob(const CfEncodingBlob *blob, uint32_t maxLen) in CfCheckEncodingBlob()
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/
Dcf_cert_test.cpp62 const static CfEncodingBlob g_cert[] = {
114 static void CertTest(CfItemId id, const CfEncodingBlob *in) in CertTest()
276 CfEncodingBlob cert = { invalidData, sizeof(invalidData), CF_FORMAT_DER };
291CfEncodingBlob cert = { nullptr, sizeof(invalidData), CF_FORMAT_DER }; /* in's data is nullptr */
306 CfEncodingBlob cert = { invalidData, 0, CF_FORMAT_DER }; /* in's size is 0 */
321 CfEncodingBlob cert = { reinterpret_cast<uint8_t *>(g_certData02), sizeof(g_certData02),
Dcf_extension_test.cpp61 const static CfEncodingBlob g_extensionBlob[] = {
356 CfEncodingBlob cert = { invalidData, sizeof(invalidData), CF_FORMAT_DER };
371CfEncodingBlob cert = { nullptr, sizeof(invalidData), CF_FORMAT_DER }; /* in's data is nullptr */
386 CfEncodingBlob cert = { invalidData, 0, CF_FORMAT_DER }; /* in's size is 0 */
400CfEncodingBlob cert = { const_cast<uint8_t *>(g_extensionData03), sizeof(g_extensionData03), CF_FO…
452 CfEncodingBlob blob = {
/base/security/certificate_framework/test/unittest/cf_adapter_test/src/
Dcf_adapter_cert_test.cpp31 CfEncodingBlob g_cert[] = {
112 CfEncodingBlob *invalCert001 = nullptr; /* cert blob is nullptr */
126 CfEncodingBlob invalCert002 = { nullptr, 20, CF_FORMAT_DER }; /* cert data is nullptr */
140CfEncodingBlob invalCert003 = { const_cast<uint8_t *>(g_certData01), 0, CF_FORMAT_DER }; /* cert s…
155 CfEncodingBlob invalCert004 = {
174CfEncodingBlob invalCert005 = { const_cast<uint8_t *>(g_certData03), MAX_LEN_CERTIFICATE + 1, CF_F…
222CfEncodingBlob invalCert010 = { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01) - 1, CF_…
/base/security/certificate_framework/test/unittest/common/src/
Dcf_test_sdk_common.cpp49 int32_t CertframeworkSdkTest::CommonTest(CfObjectType type, const CfEncodingBlob *inData, in CommonTest()
76 int32_t CertframeworkSdkTest::AbnormalTest(CfObjectType objType, const CfEncodingBlob *in, in AbnormalTest()

123