Home
last modified time | relevance | path

Searched refs:encodingFormat (Results 1 – 14 of 14) 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/frameworks/js/napi/certificate/src/
Dnapi_certificate_init.cpp34 napi_value encodingFormat = nullptr; in CreateEncodingFormat() local
35 napi_create_object(env, &encodingFormat); in CreateEncodingFormat()
37 CertAddUint32Property(env, encodingFormat, "FORMAT_DER", CF_FORMAT_DER); in CreateEncodingFormat()
38 CertAddUint32Property(env, encodingFormat, "FORMAT_PEM", CF_FORMAT_PEM); in CreateEncodingFormat()
40 return encodingFormat; in CreateEncodingFormat()
Dnapi_cert_utils.cpp189 …napi_get_value_uint32(env, format, reinterpret_cast<uint32_t *>(&(*encodingBlob)->encodingFormat)); in GetEncodingBlobFromValue()
203 napi_create_uint32(env, encodingBlob->encodingFormat, &encoding); in ConvertEncodingBlobToNapiValue()
/base/security/certificate_framework/interfaces/innerkits/common/
Dcf_blob.h36 enum CfEncodingFormat encodingFormat; member
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/
Dx509certificate_fuzzer.cpp128 inStream.encodingFormat = CF_FORMAT_PEM; in CreateOneCert()
151 inStream.encodingFormat = CF_FORMAT_PEM; in X509CertificateFuzzTest()
/base/security/certificate_framework/test/fuzztest/v1.0/x509crl_fuzzer/
Dx509crl_fuzzer.cpp182 inStreamCert.encodingFormat = CF_FORMAT_PEM; in TestX509CrlPem()
282 crlDerInStream.encodingFormat = CF_FORMAT_DER; in FuzzDoX509CrlTest()
292 crlPemInStream.encodingFormat = CF_FORMAT_PEM; in FuzzDoX509CrlTest()
312 crlInStream.encodingFormat = CF_FORMAT_PEM; in FuzzDoX509CrlTest()
/base/security/certificate_framework/test/fuzztest/cfcreate_fuzzer/
Dcfcreate_fuzzer.cpp37 inStream.encodingFormat = *(reinterpret_cast<enum CfEncodingFormat *>(tmpData + usedSize)); in CfCreateFuzzTest()
/base/web/webview/interfaces/kits/napi/js/
Dwebview_export.js44 encodingFormat: cert.EncodingFormat.FORMAT_DER property
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_certificate_openssl.c198 encodedByte->encodingFormat = CF_FORMAT_DER; in GetEncodedX509Openssl()
887 LOGD("The input cert format is: %d.", encodingBlob->encodingFormat); in CreateX509CertInner()
888 if (encodingBlob->encodingFormat == CF_FORMAT_DER) { in CreateX509CertInner()
890 } else if (encodingBlob->encodingFormat == CF_FORMAT_PEM) { in CreateX509CertInner()
Dx509_crl_entry_openssl.c80 encodedOut->encodingFormat = CF_FORMAT_DER; in GetEncoded()
Dx509_crl_openssl.c149 encodedOut->encodingFormat = CF_FORMAT_DER; in GetEncoded()
744 switch (inStream->encodingFormat) { in ParseX509CRL()
/base/security/certificate_framework/frameworks/adapter/v2.0/src/
Dcf_adapter_cert_openssl.c68 if (inData->encodingFormat == CF_FORMAT_PEM) { in CreateX509Cert()
Dcf_adapter_extension_openssl.c39 (inData->encodingFormat != CF_FORMAT_DER) || (object == NULL)) { in CfOpensslCreateExtension()
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/
Dcf_cert_test.cpp126 EXPECT_EQ(CompareResult(id, outParamSet, in->encodingFormat), true); in CertTest()