LibreOffice
LibreOffice 24.2 SDK API Reference
|
Status of digital signatures in a document. More...
import"DocumentSignatureInformation.idl";
Public Attributes | |
XCertificate | Signer |
long | SignatureDate |
long | SignatureTime |
Time of day, in 100th of seconds. More... | |
boolean | SignatureIsValid |
long | CertificateStatus |
Reflects the validity of the certificate. More... | |
boolean | PartialDocumentSignature |
Indicates what content of a document is signed. More... | |
string | SignatureLineId |
The ID of the Signature Line. More... | |
com::sun::star::graphic::XGraphic | ValidSignatureLineImage |
The Signature Line Image which is shown when the signature is valid. More... | |
com::sun::star::graphic::XGraphic | InvalidSignatureLineImage |
The Signature Line Image which is shown when the signature is invalid. More... | |
Status of digital signatures in a document.
This structure has the information about a digital signature in a document, and the status if the signature is valid.
long CertificateStatus |
Reflects the validity of the certificate.
Contains a value from the constants of com::sun::star::security::CertificateValidity.
com::sun::star::graphic::XGraphic InvalidSignatureLineImage |
The Signature Line Image which is shown when the signature is invalid.
boolean PartialDocumentSignature |
Indicates what content of a document is signed.
This value can be ignored when this struct is returned as part of a macro signature validation. As of OpenOffice.org 3.2 and ODF 1.2 the document signature comprises all files except the signature file itself. Signatures in OOo 2.x were only applied to the files in the root of the document, except mimetype, the Pictures and ObjectReplacements/Objects folder. That is, macros were not part of the document signature. OOo 3.0 signed everything, except mimetype and the META-INF folder.
If PartialDocumentSignature is true, then the signature was created by OOo with a version lower than 3.2. In this case, not all files are signed. The signature can still be regarded as valid, as long as SignatureIsValid is true and the certificate could be validated. However, users should be notified about the fact, that not everything in this document is signed.
long SignatureDate |
boolean SignatureIsValid |
string SignatureLineId |
The ID of the Signature Line.
long SignatureTime |
Time of day, in 100th of seconds.
XCertificate Signer |
com::sun::star::graphic::XGraphic ValidSignatureLineImage |
The Signature Line Image which is shown when the signature is valid.