Searched refs:encodingFormat (Results 1 – 14 of 14) sorted by relevance
/base/security/certificate_framework/frameworks/common/v1.0/src/ |
D | cf_check.c | 37 if ((blob->encodingFormat != CF_FORMAT_DER) && (blob->encodingFormat != CF_FORMAT_PEM)) { in CfCheckEncodingBlob()
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
D | napi_certificate_init.cpp | 34 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()
|
D | napi_cert_utils.cpp | 189 …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/ |
D | cf_blob.h | 36 enum CfEncodingFormat encodingFormat; member
|
/base/security/certificate_framework/test/fuzztest/v1.0/x509certificate_fuzzer/ |
D | x509certificate_fuzzer.cpp | 128 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/ |
D | x509crl_fuzzer.cpp | 182 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/ |
D | cfcreate_fuzzer.cpp | 37 inStream.encodingFormat = *(reinterpret_cast<enum CfEncodingFormat *>(tmpData + usedSize)); in CfCreateFuzzTest()
|
/base/web/webview/interfaces/kits/napi/js/ |
D | webview_export.js | 44 encodingFormat: cert.EncodingFormat.FORMAT_DER property
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
D | x509_certificate_openssl.c | 198 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()
|
D | x509_crl_entry_openssl.c | 80 encodedOut->encodingFormat = CF_FORMAT_DER; in GetEncoded()
|
D | x509_crl_openssl.c | 149 encodedOut->encodingFormat = CF_FORMAT_DER; in GetEncoded() 744 switch (inStream->encodingFormat) { in ParseX509CRL()
|
/base/security/certificate_framework/frameworks/adapter/v2.0/src/ |
D | cf_adapter_cert_openssl.c | 68 if (inData->encodingFormat == CF_FORMAT_PEM) { in CreateX509Cert()
|
D | cf_adapter_extension_openssl.c | 39 (inData->encodingFormat != CF_FORMAT_DER) || (object == NULL)) { in CfOpensslCreateExtension()
|
/base/security/certificate_framework/test/unittest/cf_sdk_test/src/ |
D | cf_cert_test.cpp | 126 EXPECT_EQ(CompareResult(id, outParamSet, in->encodingFormat), true); in CertTest()
|