:: com :: sun :: star :: embed ::
|
unpublished |
interface XEncryptionProtectedStorage |
|
|
- Base Interfaces
XEncryptionProtectedStorage
┗ XEncryptionProtectedSource2
┗ XEncryptionProtectedSource
-
|
- Usage Restrictions
- not published
- Description
- This interface allows to set a password for an object.
This unpublished interface was introduced into a micro update of
LibreOffice 3.4; it is unclear in what exact form it will be included in
LibreOffice 3.5. A corresponding OOo interface (which is also unpublished)
is scheduled for inclusion into OOo 3.4 and contains an additional
getEncryptionAlgorithms method.
|
Methods' Details |
setEncryptionAlgorithms
- Description
- allows to set the encryption algorithms for the object.
The algorithms will of course be used only for streams that have been
marked to be encrypted. If no stream in the storage is marked to be
encrypted, the algorithms-related information may have no effect to
the result package.
The following values could be part of the provided sequence:
- StartKeyGenerationAlgorithm
-
specifies the algorithm that was used to generate
the EncryptionKey from the original password; in case
the contents should be decrypted, the algorithm might
be already known by the object; if a different one is
set an exception should be thrown to indicate the
error; it should take values from
com::sun::star::xml:crypto::DigestID.
- EncryptionAlgorithm
-
specifies the algorithm that should be used to
encrypt/decrypt the contents; in case the contents
should be decrypted, the algorithm might be already
known by the object; if a different one is set
an exception should be thrown to indicate the error;
it should take values from
com::sun::star::xml:crypto::CipherID.
- ChecksumAlgorithm
-
specifies the algorithm that was used to generate
the checksum of the encrypted data; in case
the contents should be decrypted, the algorithm might
be already known by the object; if a different one is
set an exception should be thrown to indicate the
error; it should take values from
com::sun::star::xml:crypto::DigestID.
|
|
Top of Page
Copyright © 1995, 2012, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.