:: com :: sun :: star :: security ::

interface XDocumentDigitalSignatures
Base Interfaces
::com::sun::star::uno::XInterface
  |  
  +--XDocumentDigitalSignatures
::com::sun::star::uno::XInterface
(referenced interface's summary:)
base interface of all UNO interfaces
Usage Restrictions
not published
Description
interface for signing and verifying digital signatures in office documents

This interface can be used to digitaly sign different content in a office document. It can also be used to verify digital signatures.


Methods' Summary
signDocumentContent * Sign the content of the document including text and pictures. Macros will not be signed.  
verifyDocumentContentSignatures * Check for digital signatures and their status. Only document content will be checked.  
showDocumentContentSignatures * Show 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 * Sign the content of the Scripting including macros and basic dialogs Rest of document content will not be signed.  
verifyScriptingContentSignatures * Check for digital signatures and their status. Only Scripting content will be checked.  
showScriptingContentSignatures * Show 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 * Sign the full Package, which means everything in the storage excecpt the content of META-INF  
verifyPackageSignatures * Check for digital signatures and their status. Only Package content will be checked.  
showPackageSignatures * Show the digital signatures of the package  
getPackageSignatureDefaultStreamName * allows to get the default stream name for storing of the signature of the package.  
showCertificate  
manageTrustedSources * Manage trusted sources (Authors and pathes )  
isAuthorTrusted  
isLocationTrusted  
addAuthorToTrustedSources  
addLocationToTrustedSources  
Methods' Details
signDocumentContent
boolean
signDocumentContent( [in] ::com::sun::star::embed::XStorage  xStorage,
[in] ::com::sun::star::io::XStream  xSignStream );

Description
* Sign the content of the document including text and pictures. Macros will not be signed.
verifyDocumentContentSignatures
sequence< DocumentSignaturesInformation >
verifyDocumentContentSignatures( [in] ::com::sun::star::embed::XStorage  xStorage,
[in] ::com::sun::star::io::XInputStream  xSignInStream );

Description
* Check 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
* Show 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
* Sign the content of the Scripting including macros and basic dialogs Rest of document content will not be signed.
verifyScriptingContentSignatures
sequence< DocumentSignaturesInformation >
verifyScriptingContentSignatures( [in] ::com::sun::star::embed::XStorage  xStorage,
[in] ::com::sun::star::io::XInputStream  xSignInStream );

Description
* Check 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
* Show 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
* Sign the full Package, which means everything in the storage excecpt the content of META-INF
verifyPackageSignatures
sequence< DocumentSignaturesInformation >
verifyPackageSignatures( [in] ::com::sun::star::embed::XStorage  Storage,
[in] ::com::sun::star::io::XInputStream  xSignInStream );

Description
* Check 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
* Show 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
* Manage trusted sources (Authors and pathes )
isAuthorTrusted
boolean
isAuthorTrusted( [in] XCertificate  Author );

isLocationTrusted
boolean
isLocationTrusted( [in] string  Location );

addAuthorToTrustedSources
void
addAuthorToTrustedSources( [in] XCertificate  Author );

addLocationToTrustedSources
void
addLocationToTrustedSources( [in] string  Location );

Top of Page