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.
|
|
getEncryptionAlgorithms
- Description
- allows to get the encryption algorithms of the object.
|
|
Top of Page
Copyright © 2012, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.