diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:46:45 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:08 +0100 |
commit | 8ccd11e1ae7248071184bfbeb2bced9ce096d52b (patch) | |
tree | 1cefa9c2a7d6f80190d0c5bf454a74b0b1572fac /xmlsecurity | |
parent | 843e2a9dd6127bf7b5b9adde2ef01451449f0ba3 (diff) |
New loplugin:dynexcspec: Add @throws documentation, xmlsecurity
Change-Id: I2447c028add359952e4bd36dbdc1d5431fe48104
Diffstat (limited to 'xmlsecurity')
24 files changed, 96 insertions, 0 deletions
diff --git a/xmlsecurity/inc/certificate.hxx b/xmlsecurity/inc/certificate.hxx index 2c0e0498bcf9..f09ffb7a978f 100644 --- a/xmlsecurity/inc/certificate.hxx +++ b/xmlsecurity/inc/certificate.hxx @@ -21,6 +21,8 @@ class SAL_NO_VTABLE SAL_DLLPUBLIC_RTTI Certificate public: /// Returns the SHA-256 thumbprint. + /// + /// @throws css::uno::RuntimeException virtual css::uno::Sequence<sal_Int8> getSHA256Thumbprint() throw (css::uno::RuntimeException, std::exception) = 0; protected: diff --git a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx index 73615a37dcf5..012646c60c61 100644 --- a/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx +++ b/xmlsecurity/inc/framework/saxeventkeeperimpl.hxx @@ -306,12 +306,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString SAXEventKeeperImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SAXEventKeeperImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL SAXEventKeeperImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr) throw ( css::uno::Exception ); diff --git a/xmlsecurity/inc/framework/securityengine.hxx b/xmlsecurity/inc/framework/securityengine.hxx index 964f5aeac565..1315aae84b92 100644 --- a/xmlsecurity/inc/framework/securityengine.hxx +++ b/xmlsecurity/inc/framework/securityengine.hxx @@ -104,6 +104,8 @@ protected: * perform the security operation. * Any derived class will implement this method respectively. */ + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException virtual void tryToPerform( ) throw (css::uno::Exception, css::uno::RuntimeException){}; @@ -121,6 +123,8 @@ protected: * be transferred to a listener by this method. * Any derived class will implement this method respectively. */ + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException virtual void notifyResultListener() const throw (css::uno::Exception, css::uno::RuntimeException) {}; diff --git a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx index cdf0da4e1067..bd81d0efe976 100644 --- a/xmlsecurity/inc/framework/signaturecreatorimpl.hxx +++ b/xmlsecurity/inc/framework/signaturecreatorimpl.hxx @@ -97,12 +97,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString SignatureCreatorImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SignatureCreatorImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL SignatureCreatorImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr) diff --git a/xmlsecurity/inc/framework/signatureengine.hxx b/xmlsecurity/inc/framework/signatureengine.hxx index 3793016cec61..3a2231dc4f6c 100644 --- a/xmlsecurity/inc/framework/signatureengine.hxx +++ b/xmlsecurity/inc/framework/signatureengine.hxx @@ -96,6 +96,8 @@ protected: * For a SignatureCreator, it performs signing operation; * for a SignatureVerifier, verification operation is performed. */ + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException virtual void startEngine( const css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate >&) throw (css::uno::Exception, css::uno::RuntimeException) diff --git a/xmlsecurity/inc/framework/signatureverifierimpl.hxx b/xmlsecurity/inc/framework/signatureverifierimpl.hxx index 70bbb419de07..de394d1da8bc 100644 --- a/xmlsecurity/inc/framework/signatureverifierimpl.hxx +++ b/xmlsecurity/inc/framework/signatureverifierimpl.hxx @@ -86,12 +86,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString SignatureVerifierImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SignatureVerifierImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL SignatureVerifierImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr) diff --git a/xmlsecurity/inc/xmlsec/saxhelper.hxx b/xmlsecurity/inc/xmlsec/saxhelper.hxx index 8068d8bf35d7..6814ede6d826 100644 --- a/xmlsecurity/inc/xmlsec/saxhelper.hxx +++ b/xmlsecurity/inc/xmlsec/saxhelper.hxx @@ -45,27 +45,41 @@ class SAXHelper final void setCurrentNode(const xmlNodePtr pNode); xmlDocPtr getDocument() { return m_pParserCtxt->myDoc;} + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void startDocument() throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ; + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void endDocument() throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ; + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void startElement( const OUString& aName , const css::uno::Sequence< css::xml::csax::XMLAttribute >& aAttributes ) throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ; + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void endElement( const OUString& aName ) throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ; + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void characters( const OUString& aChars ) throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ; + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void ignorableWhitespace( const OUString& aWhitespaces ) throw( css::xml::sax::SAXException , css::uno::RuntimeException ) ; + /// @throws css::xml::sax::SAXException + /// @throws css::uno::RuntimeException void processingInstruction( const OUString& aTarget , const OUString& aData ) diff --git a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx index bc8471ec6f3c..dfeb0042adf0 100644 --- a/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx +++ b/xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx @@ -89,18 +89,21 @@ private: private: void getNextSAXEvent(); + /// @throws css::xml::sax::SAXException static void sendStartElement( const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler, const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler2, const xmlNodePtr pNode) throw (css::xml::sax::SAXException); + /// @throws css::xml::sax::SAXException static void sendEndElement( const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler, const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler2, const xmlNodePtr pNode) throw (css::xml::sax::SAXException); + /// @throws css::xml::sax::SAXException static void sendNode( const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler, const css::uno::Reference< css::xml::sax::XDocumentHandler >& xHandler2, @@ -241,13 +244,16 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString XMLDocumentWrapper_XmlSecImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL XMLDocumentWrapper_XmlSecImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL XMLDocumentWrapper_XmlSecImpl_createInstance( const css::uno::Reference< css::uno::XComponentContext > &) diff --git a/xmlsecurity/source/component/certificatecontainer.hxx b/xmlsecurity/source/component/certificatecontainer.hxx index 34b0606ca61b..acb8c3e3eee2 100644 --- a/xmlsecurity/source/component/certificatecontainer.hxx +++ b/xmlsecurity/source/component/certificatecontainer.hxx @@ -40,7 +40,9 @@ class CertificateContainer : public ::cppu::WeakImplHelper< css::lang::XServiceI Map certTrustMap; static bool SAL_CALL searchMap( const OUString & url, const OUString & certificate_name, Map &_certMap ); + /// @throws css::uno::RuntimeException bool SAL_CALL isTemporaryCertificate( const OUString & url, const OUString & certificate_name ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException bool SAL_CALL isCertificateTrust( const OUString & url, const OUString & certificate_name ) throw(css::uno::RuntimeException); public: @@ -52,11 +54,14 @@ class CertificateContainer : public ::cppu::WeakImplHelper< css::lang::XServiceI virtual css::security::CertificateContainerStatus SAL_CALL hasCertificate( const OUString & url, const OUString & certificate_name ) throw(css::uno::RuntimeException, std::exception) override; // provide factory + /// @throws css::uno::RuntimeException static OUString SAL_CALL impl_getStaticImplementationName( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence< OUString > SAL_CALL impl_getStaticSupportedServiceNames( ) throw(css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager ) throw( css::uno::RuntimeException ); diff --git a/xmlsecurity/source/component/documentdigitalsignatures.hxx b/xmlsecurity/source/component/documentdigitalsignatures.hxx index 8f6515c9d570..f95ca192f8c8 100644 --- a/xmlsecurity/source/component/documentdigitalsignatures.hxx +++ b/xmlsecurity/source/component/documentdigitalsignatures.hxx @@ -54,8 +54,11 @@ private: //Indicates if the document already contains a document signature bool m_bHasDocumentSignature; + /// @throws css::uno::RuntimeException bool ImplViewSignatures( const css::uno::Reference< css::embed::XStorage >& rxStorage, const css::uno::Reference< css::io::XStream >& xSignStream, DocumentSignatureMode eMode, bool bReadOnly ) throw (css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException void ImplViewSignatures( const css::uno::Reference< css::embed::XStorage >& rxStorage, const css::uno::Reference< css::io::XInputStream >& xSignStream, DocumentSignatureMode eMode, bool bReadOnly ) throw (css::uno::RuntimeException, std::exception); + /// @throws css::uno::RuntimeException css::uno::Sequence< css::security::DocumentSignatureInformation > ImplVerifySignatures( const css::uno::Reference< css::embed::XStorage >& rxStorage, const ::com::sun::star::uno::Reference< css::io::XInputStream >& xSignStream, DocumentSignatureMode eMode ) throw (css::uno::RuntimeException); public: @@ -63,7 +66,9 @@ public: virtual ~DocumentDigitalSignatures() override; // for service registration... + /// @throws css::uno::RuntimeException static OUString GetImplementationName() throw (css::uno::RuntimeException); + /// @throws css::uno::RuntimeException static css::uno::Sequence < OUString > GetSupportedServiceNames() throw (css::uno::RuntimeException); //XInitialization @@ -102,6 +107,7 @@ public: css::uno::Reference< css::security::XCertificate > SAL_CALL chooseCertificate(OUString& rDescription) throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL DocumentDigitalSignatures_CreateInstance( const css::uno::Reference< css::uno::XComponentContext >& rCtx) throw ( css::uno::Exception ); diff --git a/xmlsecurity/source/framework/decryptorimpl.hxx b/xmlsecurity/source/framework/decryptorimpl.hxx index 1305226e8bb3..0c485250210f 100644 --- a/xmlsecurity/source/framework/decryptorimpl.hxx +++ b/xmlsecurity/source/framework/decryptorimpl.hxx @@ -85,12 +85,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString DecryptorImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL DecryptorImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL DecryptorImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr) throw ( css::uno::Exception ); diff --git a/xmlsecurity/source/framework/encryptionengine.hxx b/xmlsecurity/source/framework/encryptionengine.hxx index 7c8f164bc9b8..c71ec058c739 100644 --- a/xmlsecurity/source/framework/encryptionengine.hxx +++ b/xmlsecurity/source/framework/encryptionengine.hxx @@ -79,6 +79,8 @@ protected: * For a Encryptor, it performs encryption operation; * for a Decryptor, decryption operation is performed. */ + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException virtual void startEngine( const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >&) throw (css::uno::Exception, css::uno::RuntimeException) {}; diff --git a/xmlsecurity/source/framework/encryptorimpl.hxx b/xmlsecurity/source/framework/encryptorimpl.hxx index a3c3f7c49735..561c041aa493 100644 --- a/xmlsecurity/source/framework/encryptorimpl.hxx +++ b/xmlsecurity/source/framework/encryptorimpl.hxx @@ -105,12 +105,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString EncryptorImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL EncryptorImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL EncryptorImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr) diff --git a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx index 5179df1079e7..e5bec6a3e098 100644 --- a/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx +++ b/xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx @@ -82,9 +82,11 @@ class XMLEncryptionTemplateImpl : 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 + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; diff --git a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx index 853b68ab4eb1..ad04b808a967 100644 --- a/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx +++ b/xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx @@ -90,9 +90,11 @@ class XMLSignatureTemplateImpl : 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 + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; diff --git a/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx b/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx index 8640544aba5a..d7fd1737bf3d 100644 --- a/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx +++ b/xmlsecurity/source/xmlsec/nss/nssinitializer.hxx @@ -63,12 +63,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString ONSSInitializer_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL ONSSInitializer_getSupportedServiceNames() throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL ONSSInitializer_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rSMgr ) throw ( css::uno::Exception ); diff --git a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx index 30394bb4726f..117d599c34e4 100644 --- a/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx @@ -80,9 +80,11 @@ private: //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 + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; @@ -105,13 +107,23 @@ private: static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void setCertDb( CERTCertDBHandle* aCertDb ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void adoptSymKey( PK11SymKey* aSymKey ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException PK11SymKey* getSymKey( unsigned int position ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException SECKEYPublicKey* getPubKey( unsigned int position ) throw( css::uno::Exception , css::uno::RuntimeException ) ; + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException SECKEYPrivateKey* getPriKey( unsigned int position ) throw( css::uno::Exception , css::uno::RuntimeException ) ; virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > SAL_CALL getPersonalCertificates() throw( css::uno::SecurityException , css::uno::RuntimeException, std::exception ) override ; @@ -125,12 +137,17 @@ private: //Native methods + /// @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 ) ; private: void updateSlots(); + /// @throws css::uno::Exception + /// @throws css::uno::RuntimeException void addCryptoSlot( PK11SlotInfo* aSlot ) throw( css::uno::Exception , css::uno::RuntimeException ) ; } ; diff --git a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx index 685473283195..6b051315cb93 100644 --- a/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx @@ -59,12 +59,15 @@ public: throw (css::uno::RuntimeException, std::exception) override; }; +/// @throws css::uno::RuntimeException OUString SEInitializer_NssImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL SEInitializer_NssImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL SEInitializer_NssImpl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory > & rxMSF) throw ( css::uno::Exception ); diff --git a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx index 12f23aafad5a..8c9e6ab502c8 100644 --- a/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx @@ -91,6 +91,7 @@ class X509Certificate_NssImpl : public ::cppu::WeakImplHelper< //Helper methods void setCert( CERTCertificate* cert ) ; const CERTCertificate* getNssCert() const ; + /// @throws css::uno::RuntimeException void setRawCert( const css::uno::Sequence< sal_Int8 >& rawCert ) throw ( css::uno::RuntimeException) ; } ; diff --git a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx index e96b55310421..37d66f6b1dd1 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx @@ -70,9 +70,11 @@ class XMLEncryption_NssImpl : 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 + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; diff --git a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx index d01d93580ceb..52db8b1e9517 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx @@ -85,9 +85,11 @@ class XMLSecurityContext_NssImpl : 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 + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; diff --git a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx index 2e44b2c5eafd..5e6fe23a1ca0 100644 --- a/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx +++ b/xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx @@ -69,9 +69,11 @@ class XMLSignature_NssImpl : 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 + /// @throws css::uno::RuntimeException static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) throw( css::uno::RuntimeException ) ; static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ; diff --git a/xmlsecurity/source/xmlsec/serialnumberadapter.hxx b/xmlsecurity/source/xmlsec/serialnumberadapter.hxx index 3e8a9e9a3f4f..5fb4269b92fe 100644 --- a/xmlsecurity/source/xmlsec/serialnumberadapter.hxx +++ b/xmlsecurity/source/xmlsec/serialnumberadapter.hxx @@ -36,8 +36,10 @@ namespace xml_security { namespace serial_number_adapter { css::uno::Reference< css::uno::XInterface > SAL_CALL create( css::uno::Reference< css::uno::XComponentContext > const &); +/// @throws css::uno::RuntimeException OUString implementationName() throw (css::uno::RuntimeException); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > serviceNames() throw (css::uno::RuntimeException); diff --git a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx index 4883581397f7..469ab4eef5a5 100644 --- a/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx +++ b/xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx @@ -61,6 +61,7 @@ public: /* css::lang::XUnoTunnel */ virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) throw (css::uno::RuntimeException, std::exception) override; + /// @throws css::uno::RuntimeException static css::uno::Sequence < sal_Int8 > getUnoTunnelImplementationId() throw(css::uno::RuntimeException); @@ -87,12 +88,15 @@ public: void setNativeElement(const xmlNodePtr pNode); }; +/// @throws css::uno::RuntimeException OUString XMLElementWrapper_XmlSecImpl_getImplementationName() throw ( css::uno::RuntimeException ); +/// @throws css::uno::RuntimeException css::uno::Sequence< OUString > SAL_CALL XMLElementWrapper_XmlSecImpl_getSupportedServiceNames( ) throw ( css::uno::RuntimeException ); +/// @throws css::uno::Exception css::uno::Reference< css::uno::XInterface > SAL_CALL XMLElementWrapper_XmlSecImpl_createInstance( const css::uno::Reference< css::uno::XComponentContext > &) |