LibreOffice
LibreOffice 24.2 SDK API Reference
|
This interface allows to encrypt/decrypt data using the cipher context. More...
import"XCipherContext.idl";
Public Member Functions | |
sequence< byte > | convertWithCipherContext ([in] sequence< byte > aData) raises ( ::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::lang::DisposedException ) |
encrypts/decrypts the data using the cipher. More... | |
sequence< byte > | finalizeCipherContextAndDispose () raises ( ::com::sun::star::lang::DisposedException ) |
finalizes cipher and disposes context. More... | |
Public Member Functions inherited from XInterface | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. More... | |
void | acquire () |
increases the reference counter by one. More... | |
void | release () |
decreases the reference counter by one. More... | |
This interface allows to encrypt/decrypt data using the cipher context.
The algorithm as well as encryption data are specified on object creation.
sequence<byte> convertWithCipherContext | ( | [in] sequence< byte > | aData | ) | |
raises | ( | ::com::sun::star::lang::IllegalArgumentException, | |||
::com::sun::star::lang::DisposedException | |||||
) |
encrypts/decrypts the data using the cipher.
Please have in mind, the cipher object state might depend from the already encrypted/decrypted data ( it depends from the used algorithm ).
Whether the object does encryption or decryption is specified by creation of the object.
aData | data that should be encrypted/decrypted |
sequence<byte> finalizeCipherContextAndDispose | ( | ) | ||
raises | ( | ::com::sun::star::lang::DisposedException | ||
) |
finalizes cipher and disposes context.