LibreOffice
LibreOffice 5.2 SDK API Reference
DocumentSignatureInformation.idl
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
5  * This Source Code Form is subject to the terms of the Mozilla Public
6  * License, v. 2.0. If a copy of the MPL was not distributed with this
7  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8  *
9  * This file incorporates work covered by the following license notice:
10  *
11  * Licensed to the Apache Software Foundation (ASF) under one or more
12  * contributor license agreements. See the NOTICE file distributed
13  * with this work for additional information regarding copyright
14  * ownership. The ASF licenses this file to you under the Apache
15  * License, Version 2.0 (the "License"); you may not use this file
16  * except in compliance with the License. You may obtain a copy of
17  * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18  */
19 
20 #ifndef __com_sun_star_security_DocumentSignatureInformation_idl__
21 #define __com_sun_star_security_DocumentSignatureInformation_idl__
22 
25 
26 
27 
28 module com { module sun { module star { module security {
29 
30 
39 {
44  /* reflects the validity of the certificate.
45  Contains a value from the constants of
46  com::sun::star::security::CertificateValidity.
47  */
49  /* indicates what content of a document is signed.
50  <p>
51  This value can be ignored when this struct is returned as part of
52  a macro signature validation.
53  As of OpenOffice.org 3.2 and ODF 1.2 the document signature comprises
54  all files except the signature file itself.
55  Signatures in OOo 2.x were only
56  applied to the files in the root of the document, except mimetype, the
57  Pictures and ObjectReplacements/Objects folder. That is, macros
58  were not part of the document signature.
59  OOo 3.0 signed everything, except mimetype and the META-INF folder.
60  <p>
61  If PartialDocumentSignature is true, then the signature was created by OOo
62  with a version less then 3.2. In this case, not all files are signed. The
63  signature can still be regarded as valid, as long as SignatureIsValid is true
64  and the certificate could be validated. However, users should be notified about
65  the fact, that not everything in this document is signed.
66  */
68 
69 };
70 
71 
72 }; }; }; };
73 
74 #endif
75 
76 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
Status of digital signatures in a document.
Definition: DocumentSignatureInformation.idl:38
long SignatureTime
Definition: DocumentSignatureInformation.idl:42
Definition: Ambiguous.idl:22
long SignatureDate
Definition: DocumentSignatureInformation.idl:41
XCertificate Signer
Definition: DocumentSignatureInformation.idl:40
long CertificateStatus
Definition: DocumentSignatureInformation.idl:48
boolean PartialDocumentSignature
Definition: DocumentSignatureInformation.idl:67
boolean SignatureIsValid
Definition: DocumentSignatureInformation.idl:43
Interface of a PKI Certificate.
Definition: XCertificate.idl:34