Home
last modified time | relevance | path

Searched refs:STACK_OF (Results 1 – 15 of 15) sorted by relevance

/base/update/updater/services/include/package/
Dcert_verify.h33 virtual int32_t CertChainCheck(STACK_OF(X509) *certStack, X509 *cert) = 0;
44 int32_t CheckCertChain(STACK_OF(X509) *certStack, X509 *cert);
58 int32_t CertChainCheck(STACK_OF(X509) *certStack, X509 *cert) override;
/base/security/code_signature/utils/src/
Dopenssl_utils.cpp57 STACK_OF(X509) *MakeStackOfCerts(const std::vector<ByteBuffer> &certChain) in STACK_OF() function
59 STACK_OF(X509)* certs = sk_X509_new_null(); in STACK_OF()
Dpkcs7_data.cpp47 STACK_OF(X509) *certs = nullptr; in InitPKCS7Data()
/base/security/appverify/interfaces/innerkits/appverify/include/util/
Dhap_cert_verify_openssl_utils.h35 …DLL_EXPORT static void GenerateCertSignFromCertStack(STACK_OF(X509)* certs, CertSign& certVisitSig…
44 …DLL_EXPORT static bool VerifyCrl(CertChain& certsChain, STACK_OF(X509_CRL)* crls, Pkcs7Context& pk…
57 … DLL_EXPORT static X509_CRL* GetCrlBySignedCertIssuer(STACK_OF(X509_CRL)* crls, const X509* cert);
Dhap_verify_openssl_utils.h69 DLL_EXPORT static bool VerifySignInfo(STACK_OF(PKCS7_SIGNER_INFO)* signerInfoStack,
/base/security/code_signature/utils/include/
Dopenssl_utils.h30 STACK_OF(X509) *MakeStackOfCerts(const std::vector<ByteBuffer> &certChain);
/base/update/updater/services/package/pkg_verify/
Dcert_verify.cpp52 int32_t CertVerify::CheckCertChain(STACK_OF(X509) *certStack, X509 *cert) in CheckCertChain()
78 int32_t SingleCertHelper::CertChainCheck(STACK_OF(X509) * certStack, X509 *cert) in CertChainCheck()
Dpkcs7_signed_data.cpp312 STACK_OF(PKCS7_SIGNER_INFO) *p7SignerInfos = PKCS7_get_signer_info(pkcs7_); in SignerInfosParse()
381 STACK_OF(X509) *certStack = pkcs7_->d.sign->cert; in Pkcs7SignleSignerVerify()
/base/security/certificate_manager/frameworks/cert_manager_standard/main/common/src/
Dcm_pfx.c27 static int32_t CmGetAppCertChain(X509 *cert, STACK_OF(X509) *caCert, struct AppCert *appCert) in CmGetAppCertChain()
90 STACK_OF(X509) *caCert = NULL; in CmParsePkcs12Cert()
/base/security/appverify/interfaces/innerkits/appverify/src/util/
Dhap_cert_verify_openssl_utils.cpp264 void HapCertVerifyOpensslUtils::GenerateCertSignFromCertStack(STACK_OF(X509)* certs, CertSign& cert… in GenerateCertSignFromCertStack()
418 bool HapCertVerifyOpensslUtils::VerifyCrl(CertChain& certsChain, STACK_OF(X509_CRL)* crls, Pkcs7Con… in VerifyCrl()
444 X509_CRL* HapCertVerifyOpensslUtils::GetCrlBySignedCertIssuer(STACK_OF(X509_CRL)* crls, const X509*… in GetCrlBySignedCertIssuer()
Dhap_verify_openssl_utils.cpp31 using Pkcs7SignerInfoStack = STACK_OF(PKCS7_SIGNER_INFO);
32 using X509AttributeStack = STACK_OF(X509_ATTRIBUTE);
199 bool HapVerifyOpensslUtils::VerifySignInfo(STACK_OF(PKCS7_SIGNER_INFO)* signerInfoStack, in VerifySignInfo()
/base/security/certificate_framework/frameworks/adapter/v1.0/src/
Dx509_certificate_openssl.c653 static CfResult DeepCopyExtendedKeyUsage(const STACK_OF(ASN1_OBJECT) *extUsage, in DeepCopyExtendedKeyUsage()
686 STACK_OF(ASN1_OBJECT) *extUsage = X509_get_ext_d2i(x509, NID_ext_key_usage, NULL, NULL); in GetExtendedKeyUsageX509Openssl()
757 static CfResult DeepCopyAlternativeNames(const STACK_OF(GENERAL_NAME) *altNames, int32_t i, CfArray… in DeepCopyAlternativeNames()
791STACK_OF(GENERAL_NAME) *subjectAltName = X509_get_ext_d2i(x509, NID_subject_alt_name, NULL, NULL); in GetSubjectAltNamesX509Openssl()
841 STACK_OF(GENERAL_NAME) *issuerAltName = X509_get_ext_d2i(x509, NID_issuer_alt_name, NULL, NULL); in GetIssuerAltNamesX509Openssl()
Dx509_crl_openssl.c413 static CfResult DeepCopyRevokedCertificates(HcfX509CrlSpi *self, const STACK_OF(X509_REVOKED) *entr… in DeepCopyRevokedCertificates()
463 STACK_OF(X509_REVOKED) *entrys = X509_CRL_get_REVOKED(crl); in GetRevokedCerts()
/base/security/code_signature/test/unittest/
Dsign_and_enforce_test.cpp78 STACK_OF(PKCS7_SIGNER_INFO) *signInfos = PKCS7_get_signer_info(p7); in GetSignerInfo()
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_cert_verify_openssl_utils_test.cpp331 STACK_OF(X509_CRL)* crls = sk_X509_CRL_new_null();