diff options
Diffstat (limited to 'xmlsecurity/source/gpg/CertificateImpl.cxx')
-rw-r--r-- | xmlsecurity/source/gpg/CertificateImpl.cxx | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/xmlsecurity/source/gpg/CertificateImpl.cxx b/xmlsecurity/source/gpg/CertificateImpl.cxx index 8c12da6ddf29..258098cc3efb 100644 --- a/xmlsecurity/source/gpg/CertificateImpl.cxx +++ b/xmlsecurity/source/gpg/CertificateImpl.cxx @@ -27,25 +27,21 @@ CertificateImpl::~CertificateImpl() //Methods from XCertificateImpl sal_Int16 SAL_CALL CertificateImpl::getVersion() - throw ( RuntimeException, std::exception) { return 0; } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSerialNumber() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } OUString SAL_CALL CertificateImpl::getIssuerName() - throw ( RuntimeException, std::exception) { return OStringToOUString(m_pKey.userID(0).name(), RTL_TEXTENCODING_UTF8); } OUString SAL_CALL CertificateImpl::getSubjectName() - throw ( RuntimeException, std::exception) { return OUString(""); } @@ -66,7 +62,6 @@ namespace { } DateTime SAL_CALL CertificateImpl::getNotValidBefore() - throw ( RuntimeException, std::exception) { const GpgME::Subkey subkey = m_pKey.subkey(0); if (subkey.isNull()) @@ -76,7 +71,6 @@ DateTime SAL_CALL CertificateImpl::getNotValidBefore() } DateTime SAL_CALL CertificateImpl::getNotValidAfter() - throw ( RuntimeException, std::exception) { const GpgME::Subkey subkey = m_pKey.subkey(0); if (subkey.isNull() || subkey.neverExpires()) @@ -86,80 +80,67 @@ DateTime SAL_CALL CertificateImpl::getNotValidAfter() } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getIssuerUniqueID() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSubjectUniqueID() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } Sequence< Reference< XCertificateExtension > > SAL_CALL CertificateImpl::getExtensions() - throw ( RuntimeException, std::exception) { return Sequence< Reference< XCertificateExtension > > (); } Reference< XCertificateExtension > SAL_CALL CertificateImpl::findCertificateExtension( const Sequence< sal_Int8 >& /*oid*/ ) - throw (RuntimeException, std::exception) { return Reference< XCertificateExtension > (); } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getEncoded() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } OUString SAL_CALL CertificateImpl::getSubjectPublicKeyAlgorithm() - throw ( RuntimeException, std::exception) { return OUString(); } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSubjectPublicKeyValue() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } OUString SAL_CALL CertificateImpl::getSignatureAlgorithm() - throw ( RuntimeException, std::exception) { return OUString(); } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getSHA1Thumbprint() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } uno::Sequence<sal_Int8> CertificateImpl::getSHA256Thumbprint() - throw (uno::RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } Sequence< sal_Int8 > SAL_CALL CertificateImpl::getMD5Thumbprint() - throw ( RuntimeException, std::exception) { return Sequence< sal_Int8 > (); } sal_Int32 SAL_CALL CertificateImpl::getCertificateUsage() - throw ( RuntimeException, std::exception) { return 0; } /* XUnoTunnel */ 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 ) ) { return sal::static_int_cast<sal_Int64>(reinterpret_cast<sal_uIntPtr>(this)); |