gpg4libre: Remove deprecated dynamic exception specifications
Change-Id: I3bec4570149af50fad5eef33bafb9842ab598798 Reviewed-on: https://gerrit.libreoffice.org/34967 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
This commit is contained in:
@@ -43,8 +43,7 @@ bool Plugin::ignoreLocation( SourceLocation loc )
|
|||||||
const char* bufferName = compiler.getSourceManager().getPresumedLoc( expansionLoc ).getFilename();
|
const char* bufferName = compiler.getSourceManager().getPresumedLoc( expansionLoc ).getFilename();
|
||||||
if (bufferName == NULL
|
if (bufferName == NULL
|
||||||
|| strncmp( bufferName, SRCDIR "/external/", strlen( SRCDIR "/external/" )) == 0
|
|| strncmp( bufferName, SRCDIR "/external/", strlen( SRCDIR "/external/" )) == 0
|
||||||
|| strcmp( bufferName, SRCDIR "/sdext/source/pdfimport/wrapper/keyword_list" ) == 0
|
|| strcmp( bufferName, SRCDIR "/sdext/source/pdfimport/wrapper/keyword_list" ) == 0 )
|
||||||
|| strncmp( bufferName, SRCDIR "/xmlsecurity/source/gpg", strlen( SRCDIR "/xmlsecurity/source/gpg" )) == 0 )
|
|
||||||
// workdir/CustomTarget/sdext/pdfimport/hash.cxx is generated from
|
// workdir/CustomTarget/sdext/pdfimport/hash.cxx is generated from
|
||||||
// sdext/source/pdfimport/wrapper/keyword_list by gperf, which
|
// sdext/source/pdfimport/wrapper/keyword_list by gperf, which
|
||||||
// inserts various #line directives denoting the latter into the
|
// inserts various #line directives denoting the latter into the
|
||||||
|
@@ -27,25 +27,21 @@ CertificateImpl::~CertificateImpl()
|
|||||||
|
|
||||||
//Methods from XCertificateImpl
|
//Methods from XCertificateImpl
|
||||||
sal_Int16 SAL_CALL CertificateImpl::getVersion()
|
sal_Int16 SAL_CALL CertificateImpl::getVersion()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSerialNumber()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSerialNumber()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SAL_CALL CertificateImpl::getIssuerName()
|
OUString SAL_CALL CertificateImpl::getIssuerName()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return OStringToOUString(m_pKey.userID(0).name(), RTL_TEXTENCODING_UTF8);
|
return OStringToOUString(m_pKey.userID(0).name(), RTL_TEXTENCODING_UTF8);
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SAL_CALL CertificateImpl::getSubjectName()
|
OUString SAL_CALL CertificateImpl::getSubjectName()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return OUString("");
|
return OUString("");
|
||||||
}
|
}
|
||||||
@@ -66,7 +62,6 @@ namespace {
|
|||||||
}
|
}
|
||||||
|
|
||||||
DateTime SAL_CALL CertificateImpl::getNotValidBefore()
|
DateTime SAL_CALL CertificateImpl::getNotValidBefore()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
const GpgME::Subkey subkey = m_pKey.subkey(0);
|
const GpgME::Subkey subkey = m_pKey.subkey(0);
|
||||||
if (subkey.isNull())
|
if (subkey.isNull())
|
||||||
@@ -76,7 +71,6 @@ DateTime SAL_CALL CertificateImpl::getNotValidBefore()
|
|||||||
}
|
}
|
||||||
|
|
||||||
DateTime SAL_CALL CertificateImpl::getNotValidAfter()
|
DateTime SAL_CALL CertificateImpl::getNotValidAfter()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
const GpgME::Subkey subkey = m_pKey.subkey(0);
|
const GpgME::Subkey subkey = m_pKey.subkey(0);
|
||||||
if (subkey.isNull() || subkey.neverExpires())
|
if (subkey.isNull() || subkey.neverExpires())
|
||||||
@@ -86,80 +80,67 @@ DateTime SAL_CALL CertificateImpl::getNotValidAfter()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getIssuerUniqueID()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getIssuerUniqueID()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSubjectUniqueID()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSubjectUniqueID()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< Reference< XCertificateExtension > > SAL_CALL CertificateImpl::getExtensions()
|
Sequence< Reference< XCertificateExtension > > SAL_CALL CertificateImpl::getExtensions()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< Reference< XCertificateExtension > > ();
|
return Sequence< Reference< XCertificateExtension > > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XCertificateExtension > SAL_CALL CertificateImpl::findCertificateExtension( const Sequence< sal_Int8 >& /*oid*/ )
|
Reference< XCertificateExtension > SAL_CALL CertificateImpl::findCertificateExtension( const Sequence< sal_Int8 >& /*oid*/ )
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Reference< XCertificateExtension > ();
|
return Reference< XCertificateExtension > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getEncoded()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getEncoded()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SAL_CALL CertificateImpl::getSubjectPublicKeyAlgorithm()
|
OUString SAL_CALL CertificateImpl::getSubjectPublicKeyAlgorithm()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return OUString();
|
return OUString();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSubjectPublicKeyValue()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSubjectPublicKeyValue()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SAL_CALL CertificateImpl::getSignatureAlgorithm()
|
OUString SAL_CALL CertificateImpl::getSignatureAlgorithm()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return OUString();
|
return OUString();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSHA1Thumbprint()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSHA1Thumbprint()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Sequence<sal_Int8> CertificateImpl::getSHA256Thumbprint()
|
uno::Sequence<sal_Int8> CertificateImpl::getSHA256Thumbprint()
|
||||||
throw (uno::RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getMD5Thumbprint()
|
Sequence< sal_Int8 > SAL_CALL CertificateImpl::getMD5Thumbprint()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return Sequence< sal_Int8 > ();
|
return Sequence< sal_Int8 > ();
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 SAL_CALL CertificateImpl::getCertificateUsage()
|
sal_Int32 SAL_CALL CertificateImpl::getCertificateUsage()
|
||||||
throw ( RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XUnoTunnel */
|
/* XUnoTunnel */
|
||||||
sal_Int64 SAL_CALL CertificateImpl::getSomething(const Sequence< sal_Int8 >& aIdentifier)
|
sal_Int64 SAL_CALL CertificateImpl::getSomething(const Sequence< sal_Int8 >& aIdentifier)
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
if( aIdentifier.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), aIdentifier.getConstArray(), 16 ) ) {
|
if( aIdentifier.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), aIdentifier.getConstArray(), 16 ) ) {
|
||||||
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
||||||
|
@@ -39,63 +39,44 @@ public:
|
|||||||
virtual ~CertificateImpl() override;
|
virtual ~CertificateImpl() override;
|
||||||
|
|
||||||
//Methods from XCertificate
|
//Methods from XCertificate
|
||||||
virtual sal_Int16 SAL_CALL getVersion()
|
virtual sal_Int16 SAL_CALL getVersion() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSerialNumber()
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSerialNumber() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual OUString SAL_CALL getIssuerName()
|
virtual OUString SAL_CALL getIssuerName() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
virtual OUString SAL_CALL getSubjectName() override;
|
||||||
virtual OUString SAL_CALL getSubjectName()
|
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::util::DateTime SAL_CALL getNotValidBefore()
|
virtual css::util::DateTime SAL_CALL getNotValidBefore() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
virtual css::util::DateTime SAL_CALL getNotValidAfter() override;
|
||||||
virtual css::util::DateTime SAL_CALL getNotValidAfter()
|
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getIssuerUniqueID()
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getIssuerUniqueID() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectUniqueID() override;
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectUniqueID()
|
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificateExtension > > SAL_CALL getExtensions()
|
virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificateExtension > > SAL_CALL getExtensions() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference< css::security::XCertificateExtension > SAL_CALL findCertificateExtension(const css::uno::Sequence< sal_Int8 >& oid)
|
virtual css::uno::Reference< css::security::XCertificateExtension > SAL_CALL findCertificateExtension(const css::uno::Sequence< sal_Int8 >& oid) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getEncoded()
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getEncoded() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual OUString SAL_CALL getSubjectPublicKeyAlgorithm()
|
virtual OUString SAL_CALL getSubjectPublicKeyAlgorithm() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectPublicKeyValue()
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSubjectPublicKeyValue() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual OUString SAL_CALL getSignatureAlgorithm()
|
virtual OUString SAL_CALL getSignatureAlgorithm() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSHA1Thumbprint()
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getSHA1Thumbprint() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getMD5Thumbprint()
|
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getMD5Thumbprint() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual sal_Int32 SAL_CALL getCertificateUsage()
|
virtual sal_Int32 SAL_CALL getCertificateUsage() override;
|
||||||
throw ( css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
//Methods from XUnoTunnel
|
//Methods from XUnoTunnel
|
||||||
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 >& aIdentifier)
|
virtual sal_Int64 SAL_CALL getSomething(const css::uno::Sequence< sal_Int8 >& aIdentifier) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId();
|
static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId();
|
||||||
|
|
||||||
/// @see xmlsecurity::Certificate::getSHA256Thumbprint().
|
/// @see xmlsecurity::Certificate::getSHA256Thumbprint().
|
||||||
virtual css::uno::Sequence<sal_Int8> getSHA256Thumbprint()
|
virtual css::uno::Sequence<sal_Int8> getSHA256Thumbprint() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
// Helper methods
|
// Helper methods
|
||||||
void setCertificate(GpgME::Key key);
|
void setCertificate(GpgME::Key key);
|
||||||
|
@@ -14,17 +14,13 @@ using namespace css::uno;
|
|||||||
using namespace css::lang;
|
using namespace css::lang;
|
||||||
|
|
||||||
Sequence< sal_Int8 > SAL_CALL CipherContext::convertWithCipherContext( const Sequence< sal_Int8 >& /*aData*/ )
|
Sequence< sal_Int8 > SAL_CALL CipherContext::convertWithCipherContext( const Sequence< sal_Int8 >& /*aData*/ )
|
||||||
throw ( IllegalArgumentException, DisposedException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
Sequence<sal_Int8> seq(0);
|
return Sequence<sal_Int8>();
|
||||||
return seq;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL CipherContext::finalizeCipherContextAndDispose()
|
uno::Sequence< sal_Int8 > SAL_CALL CipherContext::finalizeCipherContextAndDispose()
|
||||||
throw (DisposedException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
Sequence<sal_Int8> seq(0);
|
return Sequence<sal_Int8>();
|
||||||
return seq;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -22,10 +22,8 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
// XCipherContext
|
// XCipherContext
|
||||||
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL convertWithCipherContext(const css::uno::Sequence< ::sal_Int8 >& aData)
|
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL convertWithCipherContext(const css::uno::Sequence< ::sal_Int8 >& aData) override;
|
||||||
throw (css::lang::IllegalArgumentException, css::lang::DisposedException, css::uno::RuntimeException, std::exception) override;
|
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL finalizeCipherContextAndDispose() override;
|
||||||
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL finalizeCipherContextAndDispose()
|
|
||||||
throw (css::lang::DisposedException, css::uno::RuntimeException, std::exception) override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -15,16 +15,13 @@ using namespace css::uno;
|
|||||||
using namespace css::lang;
|
using namespace css::lang;
|
||||||
|
|
||||||
|
|
||||||
void SAL_CALL DigestContext::updateDigest( const uno::Sequence< ::sal_Int8 >& /*aData*/ )
|
void SAL_CALL DigestContext::updateDigest(const Sequence< sal_Int8 >& /*aData*/)
|
||||||
throw (DisposedException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Sequence< sal_Int8 > SAL_CALL DigestContext::finalizeDigestAndDispose()
|
uno::Sequence< sal_Int8 > SAL_CALL DigestContext::finalizeDigestAndDispose()
|
||||||
throw (DisposedException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
Sequence<sal_Int8> seq(0);
|
return Sequence<sal_Int8>();
|
||||||
return seq;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|
||||||
|
@@ -20,10 +20,8 @@ class DigestContext : public cppu::WeakImplHelper< css::xml::crypto::XDigestCont
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// XDigestContext
|
// XDigestContext
|
||||||
virtual void SAL_CALL updateDigest( const css::uno::Sequence< ::sal_Int8 >& aData )
|
virtual void SAL_CALL updateDigest( const css::uno::Sequence< ::sal_Int8 >& aData ) override;
|
||||||
throw (css::lang::DisposedException, css::uno::RuntimeException, std::exception) override;
|
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL finalizeDigestAndDispose() override;
|
||||||
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL finalizeDigestAndDispose()
|
|
||||||
throw (css::lang::DisposedException, css::uno::RuntimeException, std::exception) override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
@@ -33,7 +33,6 @@ SEInitializerGpg::~SEInitializerGpg()
|
|||||||
|
|
||||||
/* XSEInitializer */
|
/* XSEInitializer */
|
||||||
Reference< XXMLSecurityContext > SAL_CALL SEInitializerGpg::createSecurityContext( const OUString& )
|
Reference< XXMLSecurityContext > SAL_CALL SEInitializerGpg::createSecurityContext( const OUString& )
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -55,43 +54,36 @@ Reference< XXMLSecurityContext > SAL_CALL SEInitializerGpg::createSecurityContex
|
|||||||
}
|
}
|
||||||
|
|
||||||
void SAL_CALL SEInitializerGpg::freeSecurityContext( const uno::Reference< XXMLSecurityContext >& )
|
void SAL_CALL SEInitializerGpg::freeSecurityContext( const uno::Reference< XXMLSecurityContext >& )
|
||||||
throw (uno::RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
OUString SEInitializer_getImplementationName()
|
OUString SEInitializer_getImplementationName()
|
||||||
throw (uno::RuntimeException)
|
|
||||||
{
|
{
|
||||||
return OUString("com.sun.star.xml.security.SEInitializer_Gpg");
|
return OUString("com.sun.star.xml.security.SEInitializer_Gpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Sequence< OUString > SAL_CALL SEInitializer_getSupportedServiceNames( )
|
uno::Sequence< OUString > SAL_CALL SEInitializer_getSupportedServiceNames()
|
||||||
throw (uno::RuntimeException)
|
|
||||||
{
|
{
|
||||||
return {"com.sun.star.xml.crypto.gpg.GpgSEInitializer"};
|
return {"com.sun.star.xml.crypto.gpg.GpgSEInitializer"};
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Reference< uno::XInterface > SAL_CALL SEInitializer_createInstance( const uno::Reference< lang::XMultiServiceFactory > & rxMSF)
|
uno::Reference< uno::XInterface > SAL_CALL SEInitializer_createInstance( const uno::Reference< lang::XMultiServiceFactory > & rxMSF)
|
||||||
throw( uno::Exception )
|
|
||||||
{
|
{
|
||||||
return static_cast<cppu::OWeakObject*>(new SEInitializerGpg(comphelper::getComponentContext(rxMSF)));
|
return static_cast<cppu::OWeakObject*>(new SEInitializerGpg(comphelper::getComponentContext(rxMSF)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
OUString SAL_CALL SEInitializerGpg::getImplementationName()
|
OUString SAL_CALL SEInitializerGpg::getImplementationName()
|
||||||
throw (uno::RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return SEInitializer_getImplementationName();
|
return SEInitializer_getImplementationName();
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Bool SAL_CALL SEInitializerGpg::supportsService( const OUString& rServiceName )
|
sal_Bool SAL_CALL SEInitializerGpg::supportsService( const OUString& rServiceName )
|
||||||
throw (uno::RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return cppu::supportsService(this, rServiceName);
|
return cppu::supportsService(this, rServiceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
uno::Sequence< OUString > SAL_CALL SEInitializerGpg::getSupportedServiceNames()
|
uno::Sequence< OUString > SAL_CALL SEInitializerGpg::getSupportedServiceNames()
|
||||||
throw (uno::RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return SEInitializer_getSupportedServiceNames();
|
return SEInitializer_getSupportedServiceNames();
|
||||||
}
|
}
|
||||||
|
@@ -32,36 +32,25 @@ public:
|
|||||||
|
|
||||||
/* XSEInitializer */
|
/* XSEInitializer */
|
||||||
virtual css::uno::Reference< css::xml::crypto::XXMLSecurityContext >
|
virtual css::uno::Reference< css::xml::crypto::XXMLSecurityContext >
|
||||||
SAL_CALL createSecurityContext( const OUString& )
|
SAL_CALL createSecurityContext( const OUString& ) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual void SAL_CALL freeSecurityContext( const css::uno::Reference<
|
virtual void SAL_CALL freeSecurityContext( const css::uno::Reference<
|
||||||
css::xml::crypto::XXMLSecurityContext >& securityContext )
|
css::xml::crypto::XXMLSecurityContext >& securityContext ) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
virtual OUString SAL_CALL getImplementationName( )
|
virtual OUString SAL_CALL getImplementationName() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
|
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames( )
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/// @throws css::uno::RuntimeException
|
OUString SEInitializer_getImplementationName();
|
||||||
OUString SEInitializer_getImplementationName()
|
|
||||||
throw ( css::uno::RuntimeException );
|
|
||||||
|
|
||||||
/// @throws css::uno::RuntimeException
|
css::uno::Sequence< OUString > SAL_CALL SEInitializer_getSupportedServiceNames();
|
||||||
css::uno::Sequence< OUString > SAL_CALL SEInitializer_getSupportedServiceNames()
|
|
||||||
throw ( css::uno::RuntimeException );
|
|
||||||
|
|
||||||
/// @throws css::uno::Exception
|
|
||||||
css::uno::Reference< css::uno::XInterface > SAL_CALL SEInitializer_createInstance(
|
css::uno::Reference< css::uno::XInterface > SAL_CALL SEInitializer_createInstance(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory > & rxMSF)
|
const css::uno::Reference< css::lang::XMultiServiceFactory > & rxMSF);
|
||||||
throw ( css::uno::Exception );
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@@ -34,21 +34,18 @@ SecurityEnvironmentGpg::~SecurityEnvironmentGpg()
|
|||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
OUString SAL_CALL SecurityEnvironmentGpg::getImplementationName()
|
OUString SAL_CALL SecurityEnvironmentGpg::getImplementationName()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getImplementationName();
|
return impl_getImplementationName();
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
sal_Bool SAL_CALL SecurityEnvironmentGpg::supportsService( const OUString& serviceName)
|
sal_Bool SAL_CALL SecurityEnvironmentGpg::supportsService(const OUString& serviceName)
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return cppu::supportsService(this, serviceName);
|
return cppu::supportsService(this, serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
Sequence< OUString > SAL_CALL SecurityEnvironmentGpg::getSupportedServiceNames()
|
Sequence< OUString > SAL_CALL SecurityEnvironmentGpg::getSupportedServiceNames()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getSupportedServiceNames() ;
|
return impl_getSupportedServiceNames() ;
|
||||||
}
|
}
|
||||||
@@ -60,14 +57,12 @@ Sequence< OUString > SecurityEnvironmentGpg::impl_getSupportedServiceNames()
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString SecurityEnvironmentGpg::impl_getImplementationName()
|
OUString SecurityEnvironmentGpg::impl_getImplementationName()
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return OUString("com.sun.star.xml.security.SecurityEnvironment_Gpg");
|
return OUString("com.sun.star.xml.security.SecurityEnvironment_Gpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
//Helper for registry
|
//Helper for registry
|
||||||
Reference< XInterface > SAL_CALL SecurityEnvironmentGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
Reference< XInterface > SAL_CALL SecurityEnvironmentGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return Reference< XInterface >( *new SecurityEnvironmentGpg ) ;
|
return Reference< XInterface >( *new SecurityEnvironmentGpg ) ;
|
||||||
}
|
}
|
||||||
@@ -78,7 +73,6 @@ Reference< XSingleServiceFactory > SecurityEnvironmentGpg::impl_createFactory( c
|
|||||||
|
|
||||||
/* XUnoTunnel */
|
/* XUnoTunnel */
|
||||||
sal_Int64 SAL_CALL SecurityEnvironmentGpg::getSomething( const Sequence< sal_Int8 >& aIdentifier )
|
sal_Int64 SAL_CALL SecurityEnvironmentGpg::getSomething( const Sequence< sal_Int8 >& aIdentifier )
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
if( aIdentifier.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), aIdentifier.getConstArray(), 16 ) ) {
|
if( aIdentifier.getLength() == 16 && 0 == memcmp( getUnoTunnelId().getConstArray(), aIdentifier.getConstArray(), 16 ) ) {
|
||||||
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this));
|
||||||
@@ -98,13 +92,11 @@ const Sequence< sal_Int8>& SecurityEnvironmentGpg::getUnoTunnelId() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString SecurityEnvironmentGpg::getSecurityEnvironmentInformation()
|
OUString SecurityEnvironmentGpg::getSecurityEnvironmentInformation()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return OUString("");
|
return OUString("");
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getPersonalCertificates()
|
Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getPersonalCertificates()
|
||||||
throw( SecurityException , RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
GpgME::initializeLibrary();
|
GpgME::initializeLibrary();
|
||||||
GpgME::Error err = GpgME::checkEngine(GpgME::OpenPGP);
|
GpgME::Error err = GpgME::checkEngine(GpgME::OpenPGP);
|
||||||
@@ -142,39 +134,33 @@ Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::getPersonalCertif
|
|||||||
}
|
}
|
||||||
|
|
||||||
Reference< XCertificate > SecurityEnvironmentGpg::getCertificate( const OUString& /*issuerName*/, const Sequence< sal_Int8 >& /*serialNumber*/ )
|
Reference< XCertificate > SecurityEnvironmentGpg::getCertificate( const OUString& /*issuerName*/, const Sequence< sal_Int8 >& /*serialNumber*/ )
|
||||||
throw( SecurityException , RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::buildCertificatePath( const Reference< XCertificate >& /*begin*/ )
|
Sequence< Reference < XCertificate > > SecurityEnvironmentGpg::buildCertificatePath( const Reference< XCertificate >& /*begin*/ )
|
||||||
throw( SecurityException , RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return Sequence< Reference < XCertificate > >();
|
return Sequence< Reference < XCertificate > >();
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XCertificate > SecurityEnvironmentGpg::createCertificateFromRaw( const Sequence< sal_Int8 >& /*rawCertificate*/ )
|
Reference< XCertificate > SecurityEnvironmentGpg::createCertificateFromRaw( const Sequence< sal_Int8 >& /*rawCertificate*/ )
|
||||||
throw( SecurityException , RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XCertificate > SecurityEnvironmentGpg::createCertificateFromAscii( const OUString& /*asciiCertificate*/ )
|
Reference< XCertificate > SecurityEnvironmentGpg::createCertificateFromAscii( const OUString& /*asciiCertificate*/ )
|
||||||
throw( SecurityException , RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 SecurityEnvironmentGpg::verifyCertificate( const Reference< XCertificate >& /*aCert*/,
|
sal_Int32 SecurityEnvironmentGpg::verifyCertificate( const Reference< XCertificate >& /*aCert*/,
|
||||||
const Sequence< Reference< XCertificate > >& /*intermediateCerts*/ )
|
const Sequence< Reference< XCertificate > >& /*intermediateCerts*/ )
|
||||||
throw( SecurityException, RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 SecurityEnvironmentGpg::getCertificateCharacters(
|
sal_Int32 SecurityEnvironmentGpg::getCertificateCharacters(
|
||||||
const Reference< XCertificate >& /*aCert*/)
|
const Reference< XCertificate >& /*aCert*/)
|
||||||
throw( SecurityException, RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
// const CertificateImpl* xCert;
|
// const CertificateImpl* xCert;
|
||||||
// const GpgME::Key* key;
|
// const GpgME::Key* key;
|
||||||
|
@@ -38,26 +38,19 @@ public:
|
|||||||
//Methods from XSecurityEnvironment
|
//Methods from XSecurityEnvironment
|
||||||
|
|
||||||
//Methods from XServiceInfo
|
//Methods from XServiceInfo
|
||||||
virtual OUString SAL_CALL getImplementationName()
|
virtual OUString SAL_CALL getImplementationName() override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
|
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
//Helper for XServiceInfo
|
//Helper for XServiceInfo
|
||||||
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
|
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
|
||||||
|
|
||||||
/// @throws css::uno::RuntimeException
|
static OUString impl_getImplementationName();
|
||||||
static OUString impl_getImplementationName()
|
|
||||||
throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
//Helper for registry
|
//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);
|
||||||
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 ) ;
|
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory( const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ;
|
||||||
|
|
||||||
@@ -66,37 +59,28 @@ public:
|
|||||||
css::security::XCertificate >& xCert,
|
css::security::XCertificate >& xCert,
|
||||||
const css::uno::Sequence<
|
const css::uno::Sequence<
|
||||||
css::uno::Reference< css::security::XCertificate > > &
|
css::uno::Reference< css::security::XCertificate > > &
|
||||||
intermediateCerts)
|
intermediateCerts) override;
|
||||||
throw (css::uno::SecurityException, css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual ::sal_Int32 SAL_CALL getCertificateCharacters( const css::uno::Reference< css::security::XCertificate >& xCert )
|
virtual ::sal_Int32 SAL_CALL getCertificateCharacters( const css::uno::Reference< css::security::XCertificate >& xCert ) override;
|
||||||
throw (css::uno::SecurityException, css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual OUString SAL_CALL getSecurityEnvironmentInformation()
|
virtual OUString SAL_CALL getSecurityEnvironmentInformation() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
//Methods from XUnoTunnel
|
//Methods from XUnoTunnel
|
||||||
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier )
|
virtual sal_Int64 SAL_CALL getSomething( const css::uno::Sequence< sal_Int8 >& aIdentifier ) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() ;
|
static const css::uno::Sequence< sal_Int8 >& getUnoTunnelId() ;
|
||||||
|
|
||||||
virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > SAL_CALL getPersonalCertificates()
|
virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > SAL_CALL getPersonalCertificates() override;
|
||||||
throw( css::uno::SecurityException , css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference< css::security::XCertificate > SAL_CALL getCertificate( const OUString& issuerName, const css::uno::Sequence< sal_Int8 >& serialNumber )
|
virtual css::uno::Reference< css::security::XCertificate > SAL_CALL getCertificate( const OUString& issuerName, const css::uno::Sequence< sal_Int8 >& serialNumber ) override;
|
||||||
throw( css::uno::SecurityException , css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > SAL_CALL buildCertificatePath(
|
virtual css::uno::Sequence< css::uno::Reference< css::security::XCertificate > > SAL_CALL buildCertificatePath(
|
||||||
const css::uno::Reference< css::security::XCertificate >& beginCert )
|
const css::uno::Reference< css::security::XCertificate >& beginCert ) override;
|
||||||
throw( css::uno::SecurityException , css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference< css::security::XCertificate > SAL_CALL createCertificateFromRaw(
|
virtual css::uno::Reference< css::security::XCertificate > SAL_CALL createCertificateFromRaw(
|
||||||
const css::uno::Sequence< sal_Int8 >& rawCertificate )
|
const css::uno::Sequence< sal_Int8 >& rawCertificate ) override;
|
||||||
throw( css::uno::SecurityException , css::uno::RuntimeException, std::exception ) override;
|
|
||||||
virtual css::uno::Reference< css::security::XCertificate > SAL_CALL createCertificateFromAscii(
|
virtual css::uno::Reference< css::security::XCertificate > SAL_CALL createCertificateFromAscii(
|
||||||
const OUString& asciiCertificate )
|
const OUString& asciiCertificate ) override;
|
||||||
throw( css::uno::SecurityException , css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
|
@@ -25,7 +25,6 @@ XMLEncryptionGpg::~XMLEncryptionGpg() {
|
|||||||
/* XXMLEncryption */
|
/* XXMLEncryption */
|
||||||
Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::encrypt(const Reference< XXMLEncryptionTemplate >& /*aTemplate*/,
|
Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::encrypt(const Reference< XXMLEncryptionTemplate >& /*aTemplate*/,
|
||||||
const Reference< XSecurityEnvironment >& /*aEnvironment*/)
|
const Reference< XSecurityEnvironment >& /*aEnvironment*/)
|
||||||
throw (XMLEncryptionException, SecurityException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
@@ -33,28 +32,24 @@ Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::encrypt(const Ref
|
|||||||
/* XXMLEncryption */
|
/* XXMLEncryption */
|
||||||
Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::decrypt(const Reference< XXMLEncryptionTemplate >& /*aTemplate*/,
|
Reference< XXMLEncryptionTemplate > SAL_CALL XMLEncryptionGpg::decrypt(const Reference< XXMLEncryptionTemplate >& /*aTemplate*/,
|
||||||
const Reference< XXMLSecurityContext >& /*aSecurityCtx*/)
|
const Reference< XXMLSecurityContext >& /*aSecurityCtx*/)
|
||||||
throw (XMLEncryptionException, SecurityException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
OUString SAL_CALL XMLEncryptionGpg::getImplementationName()
|
OUString SAL_CALL XMLEncryptionGpg::getImplementationName()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getImplementationName() ;
|
return impl_getImplementationName() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
sal_Bool SAL_CALL XMLEncryptionGpg::supportsService( const OUString& serviceName)
|
sal_Bool SAL_CALL XMLEncryptionGpg::supportsService(const OUString& serviceName)
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return cppu::supportsService(this, serviceName);
|
return cppu::supportsService(this, serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
Sequence< OUString > SAL_CALL XMLEncryptionGpg::getSupportedServiceNames()
|
Sequence< OUString > SAL_CALL XMLEncryptionGpg::getSupportedServiceNames()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getSupportedServiceNames() ;
|
return impl_getSupportedServiceNames() ;
|
||||||
}
|
}
|
||||||
@@ -66,14 +61,12 @@ Sequence< OUString > XMLEncryptionGpg::impl_getSupportedServiceNames()
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString XMLEncryptionGpg::impl_getImplementationName()
|
OUString XMLEncryptionGpg::impl_getImplementationName()
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return OUString("com.sun.star.xml.security.XMLEncryption_Gpg");
|
return OUString("com.sun.star.xml.security.XMLEncryption_Gpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
//Helper for registry
|
//Helper for registry
|
||||||
Reference< XInterface > SAL_CALL XMLEncryptionGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
Reference< XInterface > SAL_CALL XMLEncryptionGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return Reference< XInterface >(*new XMLEncryptionGpg);
|
return Reference< XInterface >(*new XMLEncryptionGpg);
|
||||||
}
|
}
|
||||||
|
@@ -33,43 +33,31 @@ public:
|
|||||||
|
|
||||||
// XXMLEncryption
|
// XXMLEncryption
|
||||||
virtual css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate > SAL_CALL encrypt(
|
virtual css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate > SAL_CALL encrypt(
|
||||||
const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& aTemplate ,
|
const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& aTemplate,
|
||||||
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aEnvironment)
|
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aEnvironment) override;
|
||||||
// ) throw( css::uno::Exception , css::uno::RuntimeException ) ;
|
|
||||||
throw (css::xml::crypto::XMLEncryptionException ,
|
|
||||||
css::uno::SecurityException,
|
|
||||||
css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate > SAL_CALL decrypt(
|
virtual css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate > SAL_CALL decrypt(
|
||||||
const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& aTemplate ,
|
const css::uno::Reference< css::xml::crypto::XXMLEncryptionTemplate >& aTemplate,
|
||||||
const css::uno::Reference< css::xml::crypto::XXMLSecurityContext >& aContext
|
const css::uno::Reference< css::xml::crypto::XXMLSecurityContext >& aContext) override;
|
||||||
) throw (css::xml::crypto::XMLEncryptionException ,
|
|
||||||
css::uno::SecurityException,
|
|
||||||
css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
// XServiceInfo
|
// XServiceInfo
|
||||||
virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
|
virtual OUString SAL_CALL getImplementationName() override;
|
||||||
|
|
||||||
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
|
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
// Helper for XServiceInfo
|
// Helper for XServiceInfo
|
||||||
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
|
static css::uno::Sequence< OUString > impl_getSupportedServiceNames();
|
||||||
|
|
||||||
/// @throws css::uno::RuntimeException
|
static OUString impl_getImplementationName();
|
||||||
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
// Helper for registry
|
// Helper for registry
|
||||||
/// @throws css::uno::RuntimeException
|
|
||||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance(
|
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager )
|
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager);
|
||||||
throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory(
|
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ;
|
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager);
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
#endif // INCLUDED_XMLSECURITY_SOURCE_GPG_XMLENCRYPTION_HXX
|
#endif // INCLUDED_XMLSECURITY_SOURCE_GPG_XMLENCRYPTION_HXX
|
||||||
|
@@ -27,7 +27,6 @@ XMLSecurityContextGpg::~XMLSecurityContextGpg()
|
|||||||
|
|
||||||
sal_Int32 SAL_CALL XMLSecurityContextGpg::addSecurityEnvironment(
|
sal_Int32 SAL_CALL XMLSecurityContextGpg::addSecurityEnvironment(
|
||||||
const Reference< XSecurityEnvironment >& aSecurityEnvironment)
|
const Reference< XSecurityEnvironment >& aSecurityEnvironment)
|
||||||
throw (css::security::SecurityInfrastructureException, RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
if(!aSecurityEnvironment.is())
|
if(!aSecurityEnvironment.is())
|
||||||
throw RuntimeException("Invalid SecurityEnvironment given!");
|
throw RuntimeException("Invalid SecurityEnvironment given!");
|
||||||
@@ -38,13 +37,11 @@ sal_Int32 SAL_CALL XMLSecurityContextGpg::addSecurityEnvironment(
|
|||||||
|
|
||||||
|
|
||||||
sal_Int32 SAL_CALL XMLSecurityContextGpg::getSecurityEnvironmentNumber()
|
sal_Int32 SAL_CALL XMLSecurityContextGpg::getSecurityEnvironmentNumber()
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return m_vSecurityEnvironments.size();
|
return m_vSecurityEnvironments.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
Reference< XSecurityEnvironment > SAL_CALL XMLSecurityContextGpg::getSecurityEnvironmentByIndex(sal_Int32 index)
|
Reference< XSecurityEnvironment > SAL_CALL XMLSecurityContextGpg::getSecurityEnvironmentByIndex(sal_Int32 index)
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
if (index < 0 || index >= ( sal_Int32 )m_vSecurityEnvironments.size())
|
if (index < 0 || index >= ( sal_Int32 )m_vSecurityEnvironments.size())
|
||||||
throw RuntimeException("Invalid index");
|
throw RuntimeException("Invalid index");
|
||||||
@@ -53,7 +50,6 @@ Reference< XSecurityEnvironment > SAL_CALL XMLSecurityContextGpg::getSecurityEnv
|
|||||||
}
|
}
|
||||||
|
|
||||||
Reference< XSecurityEnvironment > SAL_CALL XMLSecurityContextGpg::getSecurityEnvironment()
|
Reference< XSecurityEnvironment > SAL_CALL XMLSecurityContextGpg::getSecurityEnvironment()
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
if (m_nDefaultEnvIndex < 0 || m_nDefaultEnvIndex >= (sal_Int32) m_vSecurityEnvironments.size())
|
if (m_nDefaultEnvIndex < 0 || m_nDefaultEnvIndex >= (sal_Int32) m_vSecurityEnvironments.size())
|
||||||
throw RuntimeException("Invalid index");
|
throw RuntimeException("Invalid index");
|
||||||
@@ -62,34 +58,29 @@ Reference< XSecurityEnvironment > SAL_CALL XMLSecurityContextGpg::getSecurityEnv
|
|||||||
}
|
}
|
||||||
|
|
||||||
sal_Int32 SAL_CALL XMLSecurityContextGpg::getDefaultSecurityEnvironmentIndex()
|
sal_Int32 SAL_CALL XMLSecurityContextGpg::getDefaultSecurityEnvironmentIndex()
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
return m_nDefaultEnvIndex ;
|
return m_nDefaultEnvIndex ;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SAL_CALL XMLSecurityContextGpg::setDefaultSecurityEnvironmentIndex(sal_Int32 nDefaultEnvIndex)
|
void SAL_CALL XMLSecurityContextGpg::setDefaultSecurityEnvironmentIndex(sal_Int32 nDefaultEnvIndex)
|
||||||
throw (RuntimeException, std::exception)
|
|
||||||
{
|
{
|
||||||
m_nDefaultEnvIndex = nDefaultEnvIndex;
|
m_nDefaultEnvIndex = nDefaultEnvIndex;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
OUString SAL_CALL XMLSecurityContextGpg::getImplementationName()
|
OUString SAL_CALL XMLSecurityContextGpg::getImplementationName()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getImplementationName() ;
|
return impl_getImplementationName() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
sal_Bool SAL_CALL XMLSecurityContextGpg::supportsService( const OUString& serviceName)
|
sal_Bool SAL_CALL XMLSecurityContextGpg::supportsService( const OUString& serviceName)
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return cppu::supportsService(this, serviceName);
|
return cppu::supportsService(this, serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
Sequence< OUString > SAL_CALL XMLSecurityContextGpg::getSupportedServiceNames()
|
Sequence< OUString > SAL_CALL XMLSecurityContextGpg::getSupportedServiceNames()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getSupportedServiceNames() ;
|
return impl_getSupportedServiceNames() ;
|
||||||
}
|
}
|
||||||
@@ -101,14 +92,12 @@ Sequence< OUString > XMLSecurityContextGpg::impl_getSupportedServiceNames()
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString XMLSecurityContextGpg::impl_getImplementationName()
|
OUString XMLSecurityContextGpg::impl_getImplementationName()
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return OUString("com.sun.star.xml.security.XMLSecurityContext_Gpg");
|
return OUString("com.sun.star.xml.security.XMLSecurityContext_Gpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
//Helper for registry
|
//Helper for registry
|
||||||
Reference< XInterface > SAL_CALL XMLSecurityContextGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
Reference< XInterface > SAL_CALL XMLSecurityContextGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return Reference< XInterface >( *new XMLSecurityContextGpg ) ;
|
return Reference< XInterface >( *new XMLSecurityContextGpg ) ;
|
||||||
}
|
}
|
||||||
|
@@ -40,47 +40,36 @@ public:
|
|||||||
|
|
||||||
// XXMLSecurityContext
|
// XXMLSecurityContext
|
||||||
virtual sal_Int32 SAL_CALL addSecurityEnvironment(
|
virtual sal_Int32 SAL_CALL addSecurityEnvironment(
|
||||||
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aSecurityEnvironment
|
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aSecurityEnvironment) override;
|
||||||
) throw (css::security::SecurityInfrastructureException, css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual ::sal_Int32 SAL_CALL getSecurityEnvironmentNumber( )
|
virtual ::sal_Int32 SAL_CALL getSecurityEnvironmentNumber() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference<css::xml::crypto::XSecurityEnvironment > SAL_CALL getSecurityEnvironmentByIndex(sal_Int32 index)
|
virtual css::uno::Reference<css::xml::crypto::XSecurityEnvironment > SAL_CALL getSecurityEnvironmentByIndex(sal_Int32 index) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference<css::xml::crypto::XSecurityEnvironment > SAL_CALL getSecurityEnvironment()
|
virtual css::uno::Reference<css::xml::crypto::XSecurityEnvironment > SAL_CALL getSecurityEnvironment() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual sal_Int32 SAL_CALL getDefaultSecurityEnvironmentIndex( )
|
virtual sal_Int32 SAL_CALL getDefaultSecurityEnvironmentIndex() override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual void SAL_CALL setDefaultSecurityEnvironmentIndex( sal_Int32 nDefaultEnvIndex )
|
virtual void SAL_CALL setDefaultSecurityEnvironmentIndex( sal_Int32 nDefaultEnvIndex ) override;
|
||||||
throw (css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
// XServiceInfo
|
// XServiceInfo
|
||||||
virtual OUString SAL_CALL getImplementationName() throw( css::uno::RuntimeException, std::exception ) override;
|
virtual OUString SAL_CALL getImplementationName() override;
|
||||||
|
|
||||||
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
|
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
// XServiceInfo
|
// XServiceInfo
|
||||||
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
|
static css::uno::Sequence< OUString > impl_getSupportedServiceNames();
|
||||||
|
|
||||||
/// @throws css::uno::RuntimeException
|
static OUString impl_getImplementationName();
|
||||||
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
//Helper for registry
|
//Helper for registry
|
||||||
/// @throws css::uno::RuntimeException
|
|
||||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance(
|
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager )
|
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager);
|
||||||
throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory(
|
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ;
|
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager);
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
#endif // INCLUDED_XMLSECURITY_SOURCE_GPG_XMLSECURITYCONTEXT_HXX
|
#endif // INCLUDED_XMLSECURITY_SOURCE_GPG_XMLSECURITYCONTEXT_HXX
|
||||||
|
@@ -29,7 +29,6 @@ XMLSignatureGpg::~XMLSignatureGpg()
|
|||||||
/* XXMLSignature */
|
/* XXMLSignature */
|
||||||
Reference< XXMLSignatureTemplate > SAL_CALL XMLSignatureGpg::generate(const Reference< XXMLSignatureTemplate >& /*aTemplate*/,
|
Reference< XXMLSignatureTemplate > SAL_CALL XMLSignatureGpg::generate(const Reference< XXMLSignatureTemplate >& /*aTemplate*/,
|
||||||
const Reference< XSecurityEnvironment >& /*aEnvironment*/)
|
const Reference< XSecurityEnvironment >& /*aEnvironment*/)
|
||||||
throw( css::xml::crypto::XMLSignatureException, css::uno::SecurityException, css::uno::RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
@@ -37,27 +36,24 @@ Reference< XXMLSignatureTemplate > SAL_CALL XMLSignatureGpg::generate(const Refe
|
|||||||
/* XXMLSignature */
|
/* XXMLSignature */
|
||||||
Reference< XXMLSignatureTemplate > SAL_CALL XMLSignatureGpg::validate(const Reference< XXMLSignatureTemplate >& /*aTemplate*/,
|
Reference< XXMLSignatureTemplate > SAL_CALL XMLSignatureGpg::validate(const Reference< XXMLSignatureTemplate >& /*aTemplate*/,
|
||||||
const Reference< XXMLSecurityContext >& /*aSecurityCtx*/)
|
const Reference< XXMLSecurityContext >& /*aSecurityCtx*/)
|
||||||
throw(css::uno::RuntimeException, css::uno::SecurityException, css::xml::crypto::XMLSignatureException, std::exception)
|
|
||||||
{
|
{
|
||||||
return nullptr;
|
return nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
OUString SAL_CALL XMLSignatureGpg::getImplementationName()
|
OUString SAL_CALL XMLSignatureGpg::getImplementationName()
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return impl_getImplementationName() ;
|
return impl_getImplementationName() ;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
sal_Bool SAL_CALL XMLSignatureGpg::supportsService( const OUString& serviceName)
|
sal_Bool SAL_CALL XMLSignatureGpg::supportsService( const OUString& serviceName)
|
||||||
throw( RuntimeException, std::exception )
|
|
||||||
{
|
{
|
||||||
return cppu::supportsService(this, serviceName);
|
return cppu::supportsService(this, serviceName);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* XServiceInfo */
|
/* XServiceInfo */
|
||||||
Sequence< OUString > SAL_CALL XMLSignatureGpg::getSupportedServiceNames() throw( RuntimeException, std::exception )
|
Sequence< OUString > SAL_CALL XMLSignatureGpg::getSupportedServiceNames()
|
||||||
{
|
{
|
||||||
return impl_getSupportedServiceNames() ;
|
return impl_getSupportedServiceNames() ;
|
||||||
}
|
}
|
||||||
@@ -69,14 +65,12 @@ Sequence< OUString > XMLSignatureGpg::impl_getSupportedServiceNames()
|
|||||||
}
|
}
|
||||||
|
|
||||||
OUString XMLSignatureGpg::impl_getImplementationName()
|
OUString XMLSignatureGpg::impl_getImplementationName()
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return OUString("com.sun.star.xml.security.XMLSignature_Gpg");
|
return OUString("com.sun.star.xml.security.XMLSignature_Gpg");
|
||||||
}
|
}
|
||||||
|
|
||||||
//Helper for registry
|
//Helper for registry
|
||||||
Reference< XInterface > SAL_CALL XMLSignatureGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
Reference< XInterface > SAL_CALL XMLSignatureGpg::impl_createInstance( const Reference< XMultiServiceFactory >& )
|
||||||
throw( RuntimeException )
|
|
||||||
{
|
{
|
||||||
return Reference< XInterface >( *new XMLSignatureGpg ) ;
|
return Reference< XInterface >( *new XMLSignatureGpg ) ;
|
||||||
}
|
}
|
||||||
|
@@ -35,41 +35,31 @@ public:
|
|||||||
virtual css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate > SAL_CALL generate(
|
virtual css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate > SAL_CALL generate(
|
||||||
const css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate >& aTemplate ,
|
const css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate >& aTemplate ,
|
||||||
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aEnvironment
|
const css::uno::Reference< css::xml::crypto::XSecurityEnvironment >& aEnvironment
|
||||||
) throw (css::xml::crypto::XMLSignatureException,
|
) override;
|
||||||
css::uno::SecurityException,
|
|
||||||
css::uno::RuntimeException, std::exception) override;
|
|
||||||
|
|
||||||
virtual css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate > SAL_CALL validate(
|
virtual css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate > SAL_CALL validate(
|
||||||
const css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate >& aTemplate ,
|
const css::uno::Reference< css::xml::crypto::XXMLSignatureTemplate >& aTemplate ,
|
||||||
const css::uno::Reference< css::xml::crypto::XXMLSecurityContext >& aContext
|
const css::uno::Reference< css::xml::crypto::XXMLSecurityContext >& aContext
|
||||||
) throw(css::uno::RuntimeException,
|
) override;
|
||||||
css::uno::SecurityException,
|
|
||||||
css::xml::crypto::XMLSignatureException, std::exception) override;
|
|
||||||
|
|
||||||
// XServiceInfo
|
// XServiceInfo
|
||||||
virtual OUString SAL_CALL getImplementationName()
|
virtual OUString SAL_CALL getImplementationName() override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName)
|
virtual sal_Bool SAL_CALL supportsService(const OUString& ServiceName) override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
|
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
|
||||||
throw( css::uno::RuntimeException, std::exception ) override;
|
|
||||||
|
|
||||||
// Helper for XServiceInfo
|
// Helper for XServiceInfo
|
||||||
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
|
static css::uno::Sequence< OUString > impl_getSupportedServiceNames() ;
|
||||||
|
|
||||||
/// @throws css::uno::RuntimeException
|
static OUString impl_getImplementationName();
|
||||||
static OUString impl_getImplementationName() throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
//Helper for registry
|
//Helper for registry
|
||||||
/// @throws css::uno::RuntimeException
|
|
||||||
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance(
|
static css::uno::Reference< css::uno::XInterface > SAL_CALL impl_createInstance(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager )
|
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager);
|
||||||
throw( css::uno::RuntimeException ) ;
|
|
||||||
|
|
||||||
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory(
|
static css::uno::Reference< css::lang::XSingleServiceFactory > impl_createFactory(
|
||||||
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager ) ;
|
const css::uno::Reference< css::lang::XMultiServiceFactory >& aServiceManager);
|
||||||
} ;
|
} ;
|
||||||
|
|
||||||
#endif // INCLUDED_XMLSECURITY_SOURCE_XMLSEC_GPG_XMLSIGNATURE_HXX
|
#endif // INCLUDED_XMLSECURITY_SOURCE_XMLSEC_GPG_XMLSIGNATURE_HXX
|
||||||
|
Reference in New Issue
Block a user