diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-20 11:52:49 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-20 11:53:29 +0100 |
commit | 8cb18eb82d08b140e36b6a06dae30f967b8444c9 (patch) | |
tree | b16ebe03b475c2b0dca855fec3eebe24438971f6 /xmlsecurity | |
parent | 8ec11cea966e7101f7d3d8f2aba0841267272a93 (diff) |
loplugin:dynexcspec (clang-cl), xmlsecurity
Change-Id: Iaa817d1da0c648c3a1feb0ef1e4500808a868644
Diffstat (limited to 'xmlsecurity')
6 files changed, 30 insertions, 0 deletions
diff --git a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx index 3f4129a08102..3a4280bfb10a 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/securityenvironment_mscryptimpl.hxx @@ -134,6 +134,7 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper< //Helper for XServiceInfo static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ; + /// @throws css::uno::RuntimeException static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ; //Helper for registry @@ -151,23 +152,47 @@ class SecurityEnvironment_MSCryptImpl : public ::cppu::WeakImplHelper< static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() ; static SecurityEnvironment_MSCryptImpl* getImplementation( const css::uno::Reference< css::uno::XInterface >& rObj ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException HCRYPTPROV getCryptoProvider() throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void setCryptoProvider( HCRYPTPROV aProv ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException LPCTSTR getKeyContainer() throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void setKeyContainer( LPCTSTR aKeyContainer ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException HCERTSTORE getCryptoSlot() throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void setCryptoSlot( HCERTSTORE aKeyStore ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException HCERTSTORE getCertDb() throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void setCertDb( HCERTSTORE aCertDb ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void enableDefaultCrypt( bool enable ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException bool defaultEnabled() throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException xmlSecKeysMngrPtr createKeysManager() throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException static void destroyKeysManager(xmlSecKeysMngrPtr pKeysMngr) throw( css::uno::Exception , css::uno::RuntimeException ) ; } ; diff --git a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx index 46c698c4e455..b36da2d65986 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/seinitializer_mscryptimpl.hxx @@ -74,6 +74,7 @@ public: throw (css::uno::RuntimeException) override; }; +/// @throws css::uno::RuntimeException OUString SEInitializer_MSCryptImpl_getImplementationName() throw ( css::uno::RuntimeException ); diff --git a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx index 54997cdad2c2..27be6535f702 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/x509certificate_mscryptimpl.hxx @@ -87,6 +87,7 @@ class X509Certificate_MSCryptImpl : public ::cppu::WeakImplHelper< //Helper methods void setMswcryCert( const CERT_CONTEXT* cert ) ; const CERT_CONTEXT* getMswcryCert() const ; + /// @throws css::uno::RuntimeException void setRawCert( css::uno::Sequence< sal_Int8 > const & rawCert ) throw ( css::uno::RuntimeException) ; } ; diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx index 27c0b80a2c8b..5d773a29573a 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlencryption_mscryptimpl.hxx @@ -71,6 +71,7 @@ class XMLEncryption_MSCryptImpl : public ::cppu::WeakImplHelper< //Helper for XServiceInfo static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ; + /// @throws css::uno::RuntimeException static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ; //Helper for registry diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx index ae8eabab9d7c..4ed4153bca54 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsecuritycontext_mscryptimpl.hxx @@ -84,6 +84,7 @@ class XMLSecurityContext_MSCryptImpl : public ::cppu::WeakImplHelper< //Helper for XServiceInfo static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ; + /// @throws css::uno::RuntimeException static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ; //Helper for registry diff --git a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx index ea551f5930f5..32def55df640 100644 --- a/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx +++ b/xmlsecurity/source/xmlsec/mscrypt/xmlsignature_mscryptimpl.hxx @@ -71,6 +71,7 @@ class XMLSignature_MSCryptImpl : public ::cppu::WeakImplHelper< //Helper for XServiceInfo static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ; + /// @throws css::uno::RuntimeException static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ; //Helper for registry |