Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISymmetricCrypto::initialize ( P6SYMETRICFLAGS  flags,
P6CRYPTOCIPHER  mode 
)
pure virtual

This method initlizes the component for use and must be called prior to calling any other method.

Parameters
flags[ in ] Control specific aspects of encryption / decryption
mode[ in ] Specifies the crypto cipher to use for encryption and decryption.
Returns
SuccessP6R::eOk 
Failure<eAlreadyInitializedThis function can only be called once successfully.
eInvalidCipherThe mode parameter does no represent a supported cipher.
eNoMemoryInsufficient memory to initialize the object.