summaryrefslogtreecommitdiff
path: root/offapi/com/sun/star
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2012-09-04 11:42:03 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-09-04 16:41:37 +0200
commit197a79e57131c976a489882479a679ba2ab61b82 (patch)
treea97c4d81a9a2549b9463ad9a06ba5ebf10cf02bc /offapi/com/sun/star
parentba425a1788421b63caa84ac364341bac2f88f103 (diff)
fdo#46808, Adapt DocumentDigitalSignatures UNO service to new style
Rename service from "Decryptor" to "DocumentDigitalSignatures" to be consistent with the other UNO services, and with it's own header file name. Add service constructor for passing in arguments. Change-Id: Iaca0c40bb2f1a1af2ef9ca29361bfd023ade2678
Diffstat (limited to 'offapi/com/sun/star')
-rw-r--r--offapi/com/sun/star/security/DocumentDigitalSignatures.idl18
1 files changed, 16 insertions, 2 deletions
diff --git a/offapi/com/sun/star/security/DocumentDigitalSignatures.idl b/offapi/com/sun/star/security/DocumentDigitalSignatures.idl
index 9eb7a9c375c6..b406cfd4ab8f 100644
--- a/offapi/com/sun/star/security/DocumentDigitalSignatures.idl
+++ b/offapi/com/sun/star/security/DocumentDigitalSignatures.idl
@@ -33,8 +33,22 @@ module com { module sun { module star { module security {
* Service of DocumentDigitalSignatures
*/
- service Decryptor {
- interface XDocumentDigitalSignatures ;
+service DocumentDigitalSignatures : XDocumentDigitalSignatures
+{
+ /* default constructor */
+ createDefault();
+
+ /**
+ @param ODFVersion
+ the version of the signature
+ */
+ createWithVersion([in] string ODFVersion);
+
+ /**
+ @param ODFVersion
+ the version of the signature
+ */
+ createWithVersionAndValidSignature([in] string ODFVersion, [in] boolean HasValidDocumentSignature);
};
} ; } ; } ; } ;