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

unpublished interface XCipherContextSupplier
Usage Restrictions
not published
Description
This interface allows to get an object that allows to encrypt/decrypt data using the specified algorithm.
Since
OOo 3.4

Methods' Summary
getCipherContext returns an object that allows to encrypt/decrypt data.  
Methods' Details
getCipherContext
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 );

Description
returns an object that allows to encrypt/decrypt data.
Parameter nCipherID
the internal ID specifying the algorithm, should take value from CipherID
Parameter aKey
the key that should be used for the encryption
Parameter aInitializationVector
the initialization vector that should be used for the encryption
Parameter bEncryption
whether an encryption or decryption cipher should be created true - Encryption false - Decryption
Parameter aParams
optional parameters that could be used to initialize the cipher,
Throws
::com::sun::star::lang::IllegalArgumentException one of provided arguments is illegal
Top of Page