Overview | Module | Use | Devguide | Index

Methods' Summary | Attributes' Summary | Methods' Details | Attributes' Details

:: com :: sun :: star :: security ::
unpublished | interface XDocumentDigitalSignatures |
Usage Restrictions not published Description interface for signing and verifying digital signatures in office documents This interface can be used to digitally sign different content in a office document. It can also be used to verify digital signatures.

Methods' Summary
signDocumentContent | signs the content of the document including text and pictures.
verifyDocumentContentSignatures | checks for digital signatures and their status.
showDocumentContentSignatures | shows the digital signatures of the document content
getDocumentContentSignatureDefaultStreamName | allows to get the default stream name for storing of the signature of the document content.
signScriptingContent | signs the content of the Scripting including macros and basic dialogs
verifyScriptingContentSignatures | checks for digital signatures and their status.
showScriptingContentSignatures | shows the digital signatures of the scripting content
getScriptingContentSignatureDefaultStreamName | allows to get the default stream name for storing of the signature of the scripting content.
signPackage | signs the full Package, which means everything in the storage except the content of META-INF
verifyPackageSignatures | checks for digital signatures and their status.
showPackageSignatures | shows the digital signatures of the package
getPackageSignatureDefaultStreamName | allows to get the default stream name for storing of the signature of the package.
showCertificate |
manageTrustedSources | manages trusted sources (Authors and paths )
isAuthorTrusted |
isLocationTrusted |
addAuthorToTrustedSources |
addLocationToTrustedSources |
chooseCertificate | This method shows CertificateChooser dialog, used by document and PDF signing

Methods' Details
signDocumentContent
boolean
signDocumentContent( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XStream | xSignStream );
Description signs the content of the document including text and pictures. Macros will not be signed.
verifyDocumentContentSignatures
sequence< DocumentSignatureInformation >
verifyDocumentContentSignatures( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XInputStream | xSignInStream );
Description checks for digital signatures and their status. Only document content will be checked.
showDocumentContentSignatures
void
showDocumentContentSignatures( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XInputStream | xSignInStream );
Description shows the digital signatures of the document content
getDocumentContentSignatureDefaultStreamName
string
getDocumentContentSignatureDefaultStreamName();
Description allows to get the default stream name for storing of the signature of the document content.
signScriptingContent
boolean
signScriptingContent( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XStream | xSignStream );
Description signs the content of the Scripting including macros and basic dialogs The rest of document content will not be signed.
verifyScriptingContentSignatures
sequence< DocumentSignatureInformation >
verifyScriptingContentSignatures( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XInputStream | xSignInStream );
Description checks for digital signatures and their status. Only Scripting content will be checked.
showScriptingContentSignatures
void
showScriptingContentSignatures( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XInputStream | xSignInStream );
Description shows the digital signatures of the scripting content
getScriptingContentSignatureDefaultStreamName
string
getScriptingContentSignatureDefaultStreamName();
Description allows to get the default stream name for storing of the signature of the scripting content.
signPackage
boolean
signPackage( | [in] ::com::sun::star::embed::XStorage | Storage,
| [in] ::com::sun::star::io::XStream | xSignStream );
Description signs the full Package, which means everything in the storage except the content of META-INF
verifyPackageSignatures
sequence< DocumentSignatureInformation >
verifyPackageSignatures( | [in] ::com::sun::star::embed::XStorage | Storage,
| [in] ::com::sun::star::io::XInputStream | xSignInStream );
Description checks for digital signatures and their status. Only Package content will be checked.
showPackageSignatures
void
showPackageSignatures( | [in] ::com::sun::star::embed::XStorage | xStorage,
| [in] ::com::sun::star::io::XInputStream | xSignInStream );
Description shows the digital signatures of the package
getPackageSignatureDefaultStreamName
string
getPackageSignatureDefaultStreamName();
Description allows to get the default stream name for storing of the signature of the package.
showCertificate
void
showCertificate( | [in] XCertificate | Certificate );
manageTrustedSources
void
manageTrustedSources();
Description manages trusted sources (Authors and paths )
isAuthorTrusted
boolean
isAuthorTrusted( | [in] XCertificate | Author );
isLocationTrusted
boolean
isLocationTrusted( | [in] string | Location );
addAuthorToTrustedSources
void
addAuthorToTrustedSources( | [in] XCertificate | Author );
addLocationToTrustedSources
void
addLocationToTrustedSources( | [in] string | Location );
chooseCertificate
XCertificate
chooseCertificate();
Description This method shows CertificateChooser dialog, used by document and PDF signing

Top of Page

Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.

LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.

The Document Foundation acknowledges all community members, please find more info at our website.

Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.