Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


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

Apache Software Foundation

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

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