LibreOffice Module xmlsecurity (master) 1
Namespaces | Functions
x509certificate_mscryptimpl.cxx File Reference
#include <string.h>
#include <sal/config.h>
#include <sal/log.hxx>
#include <comphelper/servicehelper.hxx>
#include <comphelper/windowserrorstring.hxx>
#include <cppuhelper/supportsservice.hxx>
#include "x509certificate_mscryptimpl.hxx"
#include <certificateextension_xmlsecimpl.hxx>
#include <biginteger.hxx>
#include "sanextension_mscryptimpl.hxx"
#include "oid.hxx"
#include <rtl/locale.h>
#include <rtl/ref.hxx>
#include <rtl/ustrbuf.hxx>
#include <osl/nlsupport.h>
#include <osl/process.h>
#include <o3tl/char16_t2wchar_t.hxx>
#include <o3tl/string_view.hxx>
#include <memory>
#include <string_view>
#include <utility>
#include <vector>
#include <tools/time.hxx>
#include <svl/sigstruct.hxx>
Include dependency graph for x509certificate_mscryptimpl.cxx:

Go to the source code of this file.

Namespaces

namespace  xmlsecurity
 

Functions

static std::pair< sal_Int32, sal_Int32 > findTypeInDN (const OUString &rRawString, std::u16string_view sTypeName)
 
static OUString replaceTagSWithTagST (OUString const &oldDN)
 
static OUString findOIDDescription (char const *oid)
 
static css::uno::Sequence< sal_Int8getThumbprint (const CERT_CONTEXT *pCertContext, DWORD dwPropId)
 
static OUString xmlsecurity::CompatDNNSS (OUString const &rDN)
 
static bool xmlsecurity::EncodeDistinguishedName (std::u16string_view const rName, CERT_NAME_BLOB &rBlob)
 
bool xmlsecurity::EqualDistinguishedNames (std::u16string_view const rName1, std::u16string_view const rName2, EqualMode const eMode)
 

Function Documentation

◆ findOIDDescription()

static OUString findOIDDescription ( char const *  oid)
static

◆ findTypeInDN()

static std::pair< sal_Int32, sal_Int32 > findTypeInDN ( const OUString &  rRawString,
std::u16string_view  sTypeName 
)
static

Definition at line 64 of file x509certificate_mscryptimpl.cxx.

References o3tl::equalsIgnoreAsciiCase(), i, length, sType, and o3tl::trim().

Referenced by replaceTagSWithTagST().

◆ getThumbprint()

static css::uno::Sequence< sal_Int8 > getThumbprint ( const CERT_CONTEXT *  pCertContext,
DWORD  dwPropId 
)
static

◆ replaceTagSWithTagST()

static OUString replaceTagSWithTagST ( OUString const &  oldDN)
static