LibreOffice Module xmlsecurity (master) 1
|
Enumerations | |
enum | EqualMode { NOCOMPAT , COMPAT_2ND , COMPAT_BOTH } |
Functions | |
Sequence< sal_Int8 > | numericStringToBigInteger (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... | |
Enumerator | |
---|---|
NOCOMPAT | |
COMPAT_2ND | |
COMPAT_BOTH |
Definition at line 41 of file biginteger.hxx.
XSECXMLSEC_DLLPUBLIC OUString xmlsecurity::bigIntegerToNumericString | ( | const css::uno::Sequence< sal_Int8 > & | serial | ) |
OUString xmlsecurity::bigIntegerToNumericString | ( | const Sequence< sal_Int8 > & | integer | ) |
Definition at line 74 of file biginteger.cxx.
References integer.
Referenced by DocumentSignatureManager::add(), XSecController::setX509CertDigest(), and XSecController::setX509Data().
|
static |
Definition at line 504 of file x509certificate_nssimpl.cxx.
|
static |
Definition at line 667 of file x509certificate_mscryptimpl.cxx.
Referenced by EqualDistinguishedNames().
|
static |
Definition at line 723 of file x509certificate_mscryptimpl.cxx.
References SAL_INFO.
Referenced by EqualDistinguishedNames().
XSECXMLSEC_DLLPUBLIC bool xmlsecurity::EqualDistinguishedNames | ( | std::u16string_view const | rName1, |
std::u16string_view const | rName2, | ||
EqualMode const | eMode | ||
) |
Definition at line 744 of file x509certificate_mscryptimpl.cxx.
References COMPAT_2ND, COMPAT_BOTH, CompatDNNSS(), eMode, EncodeDistinguishedName(), and TRUE.
Referenced by CheckX509Data(), and XSecController::setX509CertDigest().
int xmlsecurity::MSCryptoAppliedKeysMngrAdoptKeyStore | ( | xmlSecKeysMngrPtr | mngr, |
HCERTSTORE | keyStore | ||
) |
Definition at line 123 of file akmngr.cxx.
Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().
int xmlsecurity::MSCryptoAppliedKeysMngrAdoptTrustedStore | ( | xmlSecKeysMngrPtr | mngr, |
HCERTSTORE | trustedStore | ||
) |
Definition at line 158 of file akmngr.cxx.
Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().
int xmlsecurity::MSCryptoAppliedKeysMngrAdoptUntrustedStore | ( | xmlSecKeysMngrPtr | mngr, |
HCERTSTORE | untrustedStore | ||
) |
Definition at line 193 of file akmngr.cxx.
Referenced by SecurityEnvironment_MSCryptImpl::createKeysManager().
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().
XSECXMLSEC_DLLPUBLIC css::uno::Sequence< sal_Int8 > xmlsecurity::numericStringToBigInteger | ( | std::u16string_view | numeral | ) |
Definition at line 32 of file biginteger.cxx.
References integer, length, and OUStringToOString().
Referenced by CheckX509Data(), SecurityEnvironment_MSCryptImpl::getCertificate(), DigitalSignaturesDialog::getCertificate(), and IMPL_LINK_NOARG().
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.
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.