diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2024-09-13 09:02:16 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2024-09-13 10:27:14 +0200 |
commit | 81d3aefd8598fba835eeb21404fc4bd7dddf98b9 (patch) | |
tree | 20062fb46d254bf4971fd7f96e78cb9854b22737 /offapi/com/sun | |
parent | e6e7b8498aba69af8eee8edd1d3a1fb17c36836a (diff) |
[API CHANGE] XDocumentDigitalSignatures: remove deprecated / unused functions
Some functions were already a stub and only aborted on calling them.
The *Package* functions were added in commit
c9ed2f359a9e899c3046c8151c831e24250fddbb (INTEGRATION: CWS xmlsec08
(1.4.24); FILE MERGED 2005/02/22 13:07:19 mt 1.4.24.1: #i36682# Accept
separate Stream for signatures..., 2005-03-10), but it seems nobody
called them.
This also means that DocumentSignatureMode is now never set to
DocumentSignatureMode::Package, so remove that as well.
It seems to be unlikely that this non-published service was used by
3rd-party code, since it was specific to the needs of sfx2/ code, not
generic functionality that could be useful in other contexts.
Change-Id: Icfed9a0e6568f6eb21f9236901af01f1915bf2f8
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/173313
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'offapi/com/sun')
-rw-r--r-- | offapi/com/sun/star/security/XDocumentDigitalSignatures.idl | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl b/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl index 04f9ef95c1e5..c21bb0317934 100644 --- a/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl +++ b/offapi/com/sun/star/security/XDocumentDigitalSignatures.idl @@ -29,15 +29,6 @@ module com { module sun { module star { module security { interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface { - /** signs the content of the document including text and pictures. - - <p>Macros will not be signed.</p> - - Deprecated, this synchronous version would block the UI till signing is in progress. - */ - boolean signDocumentContent( [in] ::com::sun::star::embed::XStorage xStorage, - [in] ::com::sun::star::io::XStream xSignStream); - /** Signs the content of the document including text and pictures using the given XCertificate. @@ -75,15 +66,6 @@ interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface */ string getDocumentContentSignatureDefaultStreamName(); - /** signs the content of the Scripting including macros and basic dialogs - - <p>The rest of document content will not be signed.</p> - - Deprecated, this synchronous version would block the UI till signing is in progress. - */ - boolean signScriptingContent( [in] ::com::sun::star::embed::XStorage xStorage, - [in] ::com::sun::star::io::XStream xSignStream); - /** checks for digital signatures and their status. <p>Only Scripting content will be checked.</p> @@ -103,33 +85,6 @@ interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface */ string getScriptingContentSignatureDefaultStreamName(); - /** signs the full Package, which means everything in the storage except the content of META-INF - - Deprecated, this synchronous version would block the UI till signing is in progress. - */ - boolean signPackage( [in] ::com::sun::star::embed::XStorage Storage, - [in] ::com::sun::star::io::XStream xSignStream); - - /** checks for digital signatures and their status. - - <p>Only Package content will be checked.</p> - */ - sequence< com::sun::star::security::DocumentSignatureInformation > verifyPackageSignatures( - [in] ::com::sun::star::embed::XStorage Storage, - [in] ::com::sun::star::io::XInputStream xSignInStream ); - - /** shows the digital signatures of the package - */ - void showPackageSignatures( - [in] ::com::sun::star::embed::XStorage xStorage, - [in] ::com::sun::star::io::XInputStream xSignInStream ); - - /** allows to get the default stream name for storing of the signature of - the package. - */ - string getPackageSignatureDefaultStreamName(); - - void showCertificate( [in] com::sun::star::security::XCertificate Certificate ); @@ -220,14 +175,6 @@ interface XDocumentDigitalSignatures : com::sun::star::uno::XInterface [in] ::com::sun::star::embed::XStorage xStorage, [in] ::com::sun::star::io::XStream xStream); - /** signs the full Package, which means everything in the storage except the content of META-INF with the provided certificate. - - @since LibreOffice 7.0 - */ - boolean signPackageWithCertificate([in] ::com::sun::star::security::XCertificate xCertificate, - [in] ::com::sun::star::embed::XStorage xStorage, - [in] ::com::sun::star::io::XStream xStream); - /** queries the user if they want to trust an untrusted certificate. @since LibreOffice 24.8 |