LibreOffice Module xmlsecurity (master) 1
|
#include <sal/config.h>
#include <cstddef>
#include <string.h>
#include <Windows.h>
#include <WinCrypt.h>
#include <sal/macros.h>
#include <osl/thread.h>
#include "securityenvironment_mscryptimpl.hxx"
#include "x509certificate_mscryptimpl.hxx"
#include <comphelper/servicehelper.hxx>
#include <com/sun/star/lang/XMultiServiceFactory.hpp>
#include <com/sun/star/uno/XComponentContext.hpp>
#include <cppuhelper/supportsservice.hxx>
#include <xmlsec-wrapper.h>
#include "akmngr.hxx"
#include <biginteger.hxx>
#include <comphelper/sequence.hxx>
#include <comphelper/windowserrorstring.hxx>
#include <sal/log.hxx>
#include <rtl/locale.h>
#include <rtl/ref.hxx>
#include <osl/nlsupport.h>
#include <osl/process.h>
#include <o3tl/char16_t2wchar_t.hxx>
#include <svl/cryptosign.hxx>
Go to the source code of this file.
Macros | |
#define | WIN32_LEAN_AND_MEAN |
Functions | |
static rtl::Reference< X509Certificate_MSCryptImpl > | MswcryCertContextToXCert (PCCERT_CONTEXT cert) |
static void | traceTrustStatus (DWORD err) |
static HCERTSTORE | getCertStoreForIntermediatCerts (const uno::Sequence< uno::Reference< css::security::XCertificate > > &seqCerts) |
static bool | CheckUnitTestStore (PCCERT_CHAIN_CONTEXT const pChainContext, DWORD ignoreFlags) |
SAL_DLLPUBLIC_EXPORT uno::XInterface * | com_sun_star_xml_crypto_SecurityEnvironment_get_implementation (uno::XComponentContext *pCtx, uno::Sequence< uno::Any > const &) |
Variables | |
CertErrorToString const | arErrStrings [] |
#define WIN32_LEAN_AND_MEAN |
Definition at line 26 of file securityenvironment_mscryptimpl.cxx.
|
static |
Definition at line 739 of file securityenvironment_mscryptimpl.cxx.
References result, and SAL_WARN.
Referenced by SecurityEnvironment_MSCryptImpl::verifyCertificate().
SAL_DLLPUBLIC_EXPORT uno::XInterface * com_sun_star_xml_crypto_SecurityEnvironment_get_implementation | ( | uno::XComponentContext * | pCtx, |
uno::Sequence< uno::Any > const & | |||
) |
Definition at line 1104 of file securityenvironment_mscryptimpl.cxx.
|
static |
Definition at line 717 of file securityenvironment_mscryptimpl.cxx.
Referenced by SecurityEnvironment_MSCryptImpl::verifyCertificate().
|
static |
Definition at line 1020 of file securityenvironment_mscryptimpl.cxx.
Referenced by SecurityEnvironment_MSCryptImpl::buildCertificatePath(), and SecurityEnvironment_MSCryptImpl::getPersonalCertificates().
|
static |
Definition at line 101 of file securityenvironment_mscryptimpl.cxx.
References arErrStrings, err, name, and SAL_INFO.
Referenced by SecurityEnvironment_MSCryptImpl::verifyCertificate().
CertErrorToString const arErrStrings[] |
Definition at line 71 of file securityenvironment_mscryptimpl.cxx.
Referenced by traceTrustStatus().