LibreOffice
LibreOffice 6.2 SDK API Reference
Public Member Functions | List of all members
XCipherContextSupplier Interface Reference

This interface allows to get an object that allows to encrypt/decrypt data using the specified algorithm. More...

import"XCipherContextSupplier.idl";

Inheritance diagram for XCipherContextSupplier:
XInterface XNSSInitializer NSSInitializer

Public Member Functions

XCipherContext getCipherContext ([in] long nCipherID, [in] sequence< byte > aKey, [in] sequence< byte > aInitializationVector, [in] boolean bEncryption, [in] sequence< ::com::sun::star::beans::NamedValue > aParams) raises ( ::com::sun::star::lang::IllegalArgumentException )
 returns an object that allows to encrypt/decrypt data. 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 get an object that allows to encrypt/decrypt data using the specified algorithm.

Since
OOo 3.4

Member Function Documentation

XCipherContext getCipherContext ( [in] long  nCipherID,
[in] sequence< byte >  aKey,
[in] sequence< byte >  aInitializationVector,
[in] boolean  bEncryption,
[in] sequence< ::com::sun::star::beans::NamedValue aParams 
)
raises (::com::sun::star::lang::IllegalArgumentException
)

returns an object that allows to encrypt/decrypt data.

Parameters
nCipherIDthe internal ID specifying the algorithm, should take value from CipherID
aKeythe key that should be used for the encryption
aInitializationVectorthe initialization vector that should be used for the encryption
bEncryptionwhether an encryption or decryption cipher should be created TRUE - Encryption FALSE - Decryption
aParamsoptional parameters that could be used to initialize the cipher,
Exceptions
com::sun::star::lang::IllegalArgumentExceptionone of provided arguments is illegal

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