LibreOffice
LibreOffice 7.4 SDK API Reference
Public Member Functions | List of all members
XCipherContext Interface Reference

This interface allows to encrypt/decrypt data using the cipher context. More...

import"XCipherContext.idl";

Inheritance diagram for XCipherContext:
XInterface

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

Detailed Description

This interface allows to encrypt/decrypt data using the cipher context.

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

See also
XCipherContextSupplier
Since
OOo 3.4

Member Function Documentation

◆ convertWithCipherContext()

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.

Parameters
aDatadata that should be encrypted/decrypted

◆ finalizeCipherContextAndDispose()

sequence<byte> finalizeCipherContextAndDispose ( )
raises (::com::sun::star::lang::DisposedException
)

finalizes cipher and disposes context.


The documentation for this interface was generated from the following file: