Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

API

SDK

Tips ‘n’ Tricks

Miscellaneous


:: com :: sun :: star :: xml :: crypto ::

unpublished interface XCipherContext
Usage Restrictions
not published
Description
This interface allows to encrypt/decrypt data using the cipher context.

The algorithm as well as encryption data are specified on object creation.

Since
OOo 3.4
See also
XCipherContextSupplier

Methods' Summary
convertWithCipherContext encrypts/decrypts the data using the cipher.  
finalizeCipherContextAndDispose finalizes cipher and disposes context.  
Methods' Details
convertWithCipherContext
sequence< byte >
convertWithCipherContext( [in] sequence< byte >  aData )
raises( ::com::sun::star::lang::IllegalArgumentException,
::com::sun::star::lang::DisposedException );

Description
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.

Parameter aData
data that should be encrypted/decrypted
finalizeCipherContextAndDispose
sequence< byte >
finalizeCipherContextAndDispose()
raises( ::com::sun::star::lang::DisposedException );

Description
finalizes cipher and disposes context.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.