LibreOffice Module xmlsecurity (master) 1
Enumerations | Functions
xmlsecurity Namespace Reference

Enumerations

enum  EqualMode {
  NOCOMPAT ,
  COMPAT_2ND ,
  COMPAT_BOTH
}
 

Functions

Sequence< sal_Int8numericStringToBigInteger (std::u16string_view numeral)
 
OUString bigIntegerToNumericString (const Sequence< sal_Int8 > &integer)
 
xmlSecKeysMngrPtr MSCryptoAppliedKeysMngrCreate ()
 MSCryptoAppliedKeysMngrCreate: More...
 
int MSCryptoAppliedKeysMngrAdoptKeyStore (xmlSecKeysMngrPtr mngr, HCERTSTORE keyStore)
 
int MSCryptoAppliedKeysMngrAdoptTrustedStore (xmlSecKeysMngrPtr mngr, HCERTSTORE trustedStore)
 
int MSCryptoAppliedKeysMngrAdoptUntrustedStore (xmlSecKeysMngrPtr mngr, HCERTSTORE untrustedStore)
 
static OUString CompatDNNSS (OUString const &rDN)
 
static bool EncodeDistinguishedName (std::u16string_view const rName, CERT_NAME_BLOB &rBlob)
 
bool EqualDistinguishedNames (std::u16string_view const rName1, std::u16string_view const rName2, EqualMode const eMode)
 
static OUString CompatDNCryptoAPI (std::u16string_view rDN)
 
XSECXMLSEC_DLLPUBLIC OUString bigIntegerToNumericString (const css::uno::Sequence< sal_Int8 > &serial)
 
class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI SAL_LOPLUGIN_ANNOTATE ("crosscast") Certificate
 Extension of css::security::XCertificate for module-internal purposes. More...
 

Enumeration Type Documentation

◆ EqualMode

Enumerator
NOCOMPAT 
COMPAT_2ND 
COMPAT_BOTH 

Definition at line 41 of file biginteger.hxx.

Function Documentation

◆ bigIntegerToNumericString() [1/2]

XSECXMLSEC_DLLPUBLIC OUString xmlsecurity::bigIntegerToNumericString ( const css::uno::Sequence< sal_Int8 > &  serial)

◆ bigIntegerToNumericString() [2/2]

OUString xmlsecurity::bigIntegerToNumericString ( const Sequence< sal_Int8 > &  integer)

◆ CompatDNCryptoAPI()

static OUString xmlsecurity::CompatDNCryptoAPI ( std::u16string_view  rDN)
static

Definition at line 504 of file x509certificate_nssimpl.cxx.

References DEFAULT, and i.

◆ CompatDNNSS()

static OUString xmlsecurity::CompatDNNSS ( OUString const &  rDN)
static

Definition at line 667 of file x509certificate_mscryptimpl.cxx.

References DEFAULT, and i.

Referenced by EqualDistinguishedNames().

◆ EncodeDistinguishedName()

static bool xmlsecurity::EncodeDistinguishedName ( std::u16string_view const  rName,
CERT_NAME_BLOB &  rBlob 
)
static

Definition at line 723 of file x509certificate_mscryptimpl.cxx.

References SAL_INFO.

Referenced by EqualDistinguishedNames().

◆ EqualDistinguishedNames()

XSECXMLSEC_DLLPUBLIC bool xmlsecurity::EqualDistinguishedNames ( std::u16string_view const  rName1,
std::u16string_view const  rName2,
EqualMode const  eMode 
)

◆ MSCryptoAppliedKeysMngrAdoptKeyStore()

int xmlsecurity::MSCryptoAppliedKeysMngrAdoptKeyStore ( xmlSecKeysMngrPtr  mngr,
HCERTSTORE  keyStore 
)

Definition at line 123 of file akmngr.cxx.

Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().

◆ MSCryptoAppliedKeysMngrAdoptTrustedStore()

int xmlsecurity::MSCryptoAppliedKeysMngrAdoptTrustedStore ( xmlSecKeysMngrPtr  mngr,
HCERTSTORE  trustedStore 
)

Definition at line 158 of file akmngr.cxx.

Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().

◆ MSCryptoAppliedKeysMngrAdoptUntrustedStore()

int xmlsecurity::MSCryptoAppliedKeysMngrAdoptUntrustedStore ( xmlSecKeysMngrPtr  mngr,
HCERTSTORE  untrustedStore 
)

Definition at line 193 of file akmngr.cxx.

Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().

◆ MSCryptoAppliedKeysMngrCreate()

xmlSecKeysMngrPtr xmlsecurity::MSCryptoAppliedKeysMngrCreate ( )

MSCryptoAppliedKeysMngrCreate:

Create and load key store and certificate database into keys manager

Returns keys manager pointer on success or NULL otherwise.

Definition at line 46 of file akmngr.cxx.

Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().

◆ numericStringToBigInteger()

XSECXMLSEC_DLLPUBLIC css::uno::Sequence< sal_Int8 > xmlsecurity::numericStringToBigInteger ( std::u16string_view  numeral)

◆ SAL_LOPLUGIN_ANNOTATE()

class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI xmlsecurity::SAL_LOPLUGIN_ANNOTATE ( "crosscast"  )

Extension of css::security::XCertificate for module-internal purposes.

Returns the SHA-256 thumbprint.

Exceptions
css::uno::RuntimeException

Same as getSubjectPublicKeyAlgorithm(), but returns an ID, not a string.

Definition at line 27 of file certificate.hxx.

References SAL_NO_VTABLE.