Home
last modified time | relevance | path

Searched refs:CF_FORMAT_DER (Results 1 – 20 of 20) sorted by relevance

/base/security/certificate_framework/frameworks/common/v1.0/src/
Dcf_check.c37 if ((blob->encodingFormat != CF_FORMAT_DER) && (blob->encodingFormat != CF_FORMAT_PEM)) { in CfCheckEncodingBlob()
/base/security/certificate_framework/interfaces/innerkits/common/
Dcf_blob.h29 CF_FORMAT_DER = 0, enumerator
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/
Dcf_cert_test.cpp63 { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01), CF_FORMAT_DER },
97 if (format == CF_FORMAT_DER) { in CompareResult()
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 */
Dcf_extension_test.cpp62 { const_cast<uint8_t *>(g_extensionData03), sizeof(g_extensionData03), CF_FORMAT_DER }
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 */
453 const_cast<uint8_t *>(g_extDataNoKeyUsage), sizeof(g_extDataNoKeyUsage), CF_FORMAT_DER
/base/security/certificate_framework/frameworks/js/napi/certificate/src/
Dnapi_common.cpp154 outArray->format = CF_FORMAT_DER; in GetBlobArrayFromParamSet()
160 CfArray outArray = { nullptr, CF_FORMAT_DER, 0 }; in ConvertBlobArrayToNapiValue()
Dnapi_certificate_init.cpp37 CertAddUint32Property(env, encodingFormat, "FORMAT_DER", CF_FORMAT_DER); in CreateEncodingFormat()
Dnapi_object.cpp377 CfEncodingBlob encoded = { resultParam->blob.data, resultParam->blob.size, CF_FORMAT_DER }; in ConvertToNapiValue()
/base/security/certificate_framework/test/fuzztest/cfgetandcheck_fuzzer/
Dcfgetandcheck_fuzzer.cpp35 { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01), CF_FORMAT_DER },
39 { const_cast<uint8_t *>(g_extensionData03), sizeof(g_extensionData03), CF_FORMAT_DER },
/base/security/certificate_framework/test/unittest/cf_adapter_test/src/
Dcf_common_test.cpp148 CfEncodingBlob blob = { nullptr, 0, CF_FORMAT_DER };
160 CfEncodingBlob blob = { nullptr, TEST_DEFAULT_SIZE, CF_FORMAT_DER };
185 CfArray array = { nullptr, CF_FORMAT_DER, TEST_DEFAULT_COUNT };
Dcf_adapter_cert_test.cpp32 { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01), CF_FORMAT_DER },
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…
174 …lob invalCert005 = { const_cast<uint8_t *>(g_certData03), MAX_LEN_CERTIFICATE + 1, CF_FORMAT_DER };
222 …ob invalCert010 = { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01) - 1, CF_FORMAT_DER };
Dcf_adapter_extension_test.cpp32 { const_cast<uint8_t *>(g_extensionData01), sizeof(g_extensionData01), CF_FORMAT_DER },
33 { const_cast<uint8_t *>(g_extensionData02), sizeof(g_extensionData02), CF_FORMAT_DER },
34 { const_cast<uint8_t *>(g_extensionData03), sizeof(g_extensionData03), CF_FORMAT_DER },
35 … { const_cast<uint8_t *>(g_extensionTaintedData), sizeof(g_extensionTaintedData), CF_FORMAT_DER },
104 CfEncodingBlob invalidExts = { nullptr, 10, CF_FORMAT_DER }; /* exts data is null */
119 …CfEncodingBlob invalidExts = { const_cast<uint8_t *>(g_extensionData01), 0, CF_FORMAT_DER }; /* ex…
151 CF_FORMAT_DER
196 … invalidExts = { const_cast<uint8_t *>(g_extensionData01), MAX_LEN_EXTENSIONS + 1, CF_FORMAT_DER };
Dcf_ability_test.cpp105 …CfEncodingBlob cert = { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01), CF_FORMAT_DER };
/base/security/certificate_framework/test/unittest/cf_core_test/src/
Dcf_object_cert_test.cpp60 …EncodingBlob g_cert = { const_cast<uint8_t *>(g_certData01), sizeof(g_certData01), CF_FORMAT_DER };
Dcf_object_extension_test.cpp62 const_cast<uint8_t *>(g_extensionData03), sizeof(g_extensionData03), CF_FORMAT_DER
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_cert_chain_validator_openssl.c129 if (format == CF_FORMAT_DER) { in GetX509Cert()
Dx509_crl_entry_openssl.c80 encodedOut->encodingFormat = CF_FORMAT_DER; in GetEncoded()
Dx509_crl_openssl.c149 encodedOut->encodingFormat = CF_FORMAT_DER; in GetEncoded()
745 case CF_FORMAT_DER: in ParseX509CRL()
Dx509_certificate_openssl.c198 encodedByte->encodingFormat = CF_FORMAT_DER; in GetEncodedX509Openssl()
888 if (encodingBlob->encodingFormat == CF_FORMAT_DER) { in CreateX509CertInner()
/base/security/certificate_framework/test/fuzztest/v1.0/x509crl_fuzzer/
Dx509crl_fuzzer.cpp282 crlDerInStream.encodingFormat = CF_FORMAT_DER; in FuzzDoX509CrlTest()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
Dcf_adapter_extension_openssl.c39 (inData->encodingFormat != CF_FORMAT_DER) || (object == NULL)) { in CfOpensslCreateExtension()