Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
8ccd11e1
Kaydet (Commit)
8ccd11e1
authored
Ock 19, 2017
tarafından
Stephan Bergmann
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
New loplugin:dynexcspec: Add @throws documentation, xmlsecurity
Change-Id: I2447c028add359952e4bd36dbdc1d5431fe48104
üst
843e2a9d
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
96 additions
and
0 deletions
+96
-0
certificate.hxx
xmlsecurity/inc/certificate.hxx
+2
-0
saxeventkeeperimpl.hxx
xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
+3
-0
securityengine.hxx
xmlsecurity/inc/framework/securityengine.hxx
+4
-0
signaturecreatorimpl.hxx
xmlsecurity/inc/framework/signaturecreatorimpl.hxx
+3
-0
signatureengine.hxx
xmlsecurity/inc/framework/signatureengine.hxx
+2
-0
signatureverifierimpl.hxx
xmlsecurity/inc/framework/signatureverifierimpl.hxx
+3
-0
saxhelper.hxx
xmlsecurity/inc/xmlsec/saxhelper.hxx
+14
-0
xmldocumentwrapper_xmlsecimpl.hxx
xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx
+6
-0
certificatecontainer.hxx
xmlsecurity/source/component/certificatecontainer.hxx
+5
-0
documentdigitalsignatures.hxx
xmlsecurity/source/component/documentdigitalsignatures.hxx
+6
-0
decryptorimpl.hxx
xmlsecurity/source/framework/decryptorimpl.hxx
+3
-0
encryptionengine.hxx
xmlsecurity/source/framework/encryptionengine.hxx
+2
-0
encryptorimpl.hxx
xmlsecurity/source/framework/encryptorimpl.hxx
+3
-0
xmlencryptiontemplateimpl.hxx
xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx
+2
-0
xmlsignaturetemplateimpl.hxx
xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx
+2
-0
nssinitializer.hxx
xmlsecurity/source/xmlsec/nss/nssinitializer.hxx
+3
-0
securityenvironment_nssimpl.hxx
...ecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx
+17
-0
seinitializer_nssimpl.hxx
xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx
+3
-0
x509certificate_nssimpl.hxx
xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx
+1
-0
xmlencryption_nssimpl.hxx
xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx
+2
-0
xmlsecuritycontext_nssimpl.hxx
xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx
+2
-0
xmlsignature_nssimpl.hxx
xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx
+2
-0
serialnumberadapter.hxx
xmlsecurity/source/xmlsec/serialnumberadapter.hxx
+2
-0
xmlelementwrapper_xmlsecimpl.hxx
xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx
+4
-0
No files found.
xmlsecurity/inc/certificate.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
:
...
...
xmlsecurity/inc/framework/saxeventkeeperimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/inc/framework/securityengine.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
{};
...
...
xmlsecurity/inc/framework/signaturecreatorimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
...
...
xmlsecurity/inc/framework/signatureengine.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
...
...
xmlsecurity/inc/framework/signatureverifierimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
...
...
xmlsecurity/inc/xmlsec/saxhelper.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
...
...
xmlsecurity/inc/xmlsec/xmldocumentwrapper_xmlsecimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
>
&
)
...
...
xmlsecurity/source/component/certificatecontainer.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/source/component/documentdigitalsignatures.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/source/framework/decryptorimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/source/framework/encryptionengine.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
{};
...
...
xmlsecurity/source/framework/encryptorimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
...
...
xmlsecurity/source/framework/xmlencryptiontemplateimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
...
...
xmlsecurity/source/framework/xmlsignaturetemplateimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
...
...
xmlsecurity/source/xmlsec/nss/nssinitializer.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/source/xmlsec/nss/securityenvironment_nssimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
}
;
...
...
xmlsecurity/source/xmlsec/nss/seinitializer_nssimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/source/xmlsec/nss/x509certificate_nssimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
}
;
...
...
xmlsecurity/source/xmlsec/nss/xmlencryption_nssimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
...
...
xmlsecurity/source/xmlsec/nss/xmlsecuritycontext_nssimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
...
...
xmlsecurity/source/xmlsec/nss/xmlsignature_nssimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
)
;
...
...
xmlsecurity/source/xmlsec/serialnumberadapter.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
);
...
...
xmlsecurity/source/xmlsec/xmlelementwrapper_xmlsecimpl.hxx
Dosyayı görüntüle @
8ccd11e1
...
...
@@ -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
>
&
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment