/base/security/certificate_framework/test/unittest/common/include/ |
D | cf_test_sdk_common.h | 27 int32_t CommonTest(CfObjectType type, const CfEncodingBlob *inData, 30 int32_t AbnormalTest(CfObjectType objType, const CfEncodingBlob *in,
|
/base/security/certificate_framework/interfaces/innerkits/common/ |
D | cf_blob.h | 37 } CfEncodingBlob; typedef 56 void CfEncodingBlobDataFree(CfEncodingBlob *encodingBlob);
|
/base/security/certificate_framework/test/fuzztest/cfcreate_fuzzer/ |
D | cfcreate_fuzzer.cpp | 27 if (size < sizeof(CfObjectType) + sizeof(CfEncodingBlob)) { in CfCreateFuzzTest() 36 CfEncodingBlob inStream = { 0 }; in CfCreateFuzzTest()
|
/base/security/certificate_framework/interfaces/innerkits/certificate/ |
D | x509_crl.h | 32 CfResult (*getEncoded)(HcfX509Crl *self, CfEncodingBlob *encodedOut); 79 CfResult HcfX509CrlCreate(const CfEncodingBlob *inStream, HcfX509Crl **returnObj);
|
D | certificate.h | 33 CfResult (*getEncoded)(HcfCertificate *self, CfEncodingBlob *encodedByte);
|
D | x509_crl_entry.h | 30 CfResult (*getEncoded)(HcfX509CrlEntry *self, CfEncodingBlob *encodedOut);
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/ |
D | x509certificate_fuzzer.cpp | 58 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/ |
D | x509_certificate_openssl.h | 25 CfResult OpensslX509CertSpiCreate(const CfEncodingBlob *inStream, HcfX509CertificateSpi **spi);
|
D | x509_crl_openssl.h | 28 CfResult HcfCX509CrlSpiCreate(const CfEncodingBlob *inStream, HcfX509CrlSpi **spi);
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509crl_fuzzer/ |
D | x509crl_fuzzer.cpp | 158 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/ |
D | cf_check.h | 27 int32_t CfCheckEncodingBlob(const CfEncodingBlob *blob, uint32_t maxLen);
|
/base/security/certificate_framework/frameworks/js/napi/certificate/inc/ |
D | napi_cert_utils.h | 42 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/ |
D | cf_cert_adapter_ability_define.h | 23 int32_t (*adapterCreate)(const CfEncodingBlob *in, CfBase **object);
|
D | cf_object_cert.h | 25 int32_t CfCertCreate(const CfEncodingBlob *in, CfBase **obj);
|
/base/security/certificate_framework/frameworks/core/extension/inc/ |
D | cf_object_extension.h | 25 int32_t CfExtensionCreate(const CfEncodingBlob *in, CfBase **obj);
|
D | cf_extension_adapter_ability_define.h | 23 int32_t (*adapterCreate)(const CfEncodingBlob *in, CfBase **object);
|
/base/security/certificate_framework/frameworks/core/life/inc/ |
D | cf_object_ability_define.h | 23 int32_t (*create)(const CfEncodingBlob *in, CfBase **obj);
|
/base/security/certificate_framework/frameworks/adapter/v2.0/inc/ |
D | cf_adapter_cert_openssl.h | 34 int32_t CfOpensslCreateCert(const CfEncodingBlob *inData, CfBase **object);
|
D | cf_adapter_extension_openssl.h | 32 int32_t CfOpensslCreateExtension(const CfEncodingBlob *inData, CfBase **object);
|
/base/security/certificate_framework/interfaces/innerkits/include/ |
D | cf_api.h | 32 CF_API_EXPORT int32_t CfCreate(CfObjectType objType, const CfEncodingBlob *in, CfObject **object);
|
/base/security/certificate_framework/frameworks/common/v1.0/src/ |
D | cf_check.c | 30 int32_t CfCheckEncodingBlob(const CfEncodingBlob *blob, uint32_t maxLen) in CfCheckEncodingBlob()
|
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/ |
D | cf_cert_test.cpp | 62 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 }; 291 … CfEncodingBlob 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),
|
D | cf_extension_test.cpp | 61 const static CfEncodingBlob g_extensionBlob[] = { 356 CfEncodingBlob cert = { invalidData, sizeof(invalidData), CF_FORMAT_DER }; 371 … CfEncodingBlob 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 */ 400 …CfEncodingBlob 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/ |
D | cf_adapter_cert_test.cpp | 31 CfEncodingBlob g_cert[] = { 112 CfEncodingBlob *invalCert001 = nullptr; /* cert blob is nullptr */ 126 CfEncodingBlob invalCert002 = { nullptr, 20, CF_FORMAT_DER }; /* cert data is nullptr */ 140 …CfEncodingBlob invalCert003 = { const_cast<uint8_t *>(g_certData01), 0, CF_FORMAT_DER }; /* cert s… 155 CfEncodingBlob invalCert004 = { 174 …CfEncodingBlob invalCert005 = { const_cast<uint8_t *>(g_certData03), MAX_LEN_CERTIFICATE + 1, CF_F… 222 …CfEncodingBlob invalCert010 = { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01) - 1, CF_…
|
/base/security/certificate_framework/test/unittest/common/src/ |
D | cf_test_sdk_common.cpp | 49 int32_t CertframeworkSdkTest::CommonTest(CfObjectType type, const CfEncodingBlob *inData, in CommonTest() 76 int32_t CertframeworkSdkTest::AbnormalTest(CfObjectType objType, const CfEncodingBlob *in, in AbnormalTest()
|