:: 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