Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

MQe_RC4Cryptor.h File Reference

MQeRC4Cryptor object. More...


Functions

MQERETURN mqeRC4Cryptor_new (MQeExceptBlock *pErrStruct, MQeRC4CryptorHndl *phRC4Cryptor)
 This function constructs an MQeRC4Cryptor object.

MQERETURN mqeRC4Cryptor_free (MQeRC4CryptorHndl hRC4Cryptor, MQeExceptBlock *pErrStruct)
 frees the MQeRC4Cryptor handle hRC4Cryptor


Detailed Description

It describes MQe_RC4Cryptor C API prototypes.


Function Documentation

MQERETURN mqeRC4Cryptor_new MQeExceptBlock   pErrStruct,
MQeRC4CryptorHndl *    phRC4Cryptor
 

Parameters:
pErrStruct  [in/out] Pointer to a pre-allocated MQeExceptBlock structure.
phRC4Cryptor  [out] Pointer to handle for output
Precondition:
pErrStruct points to a pre-allocated MQeExceptBlock structure (no error information is returned if pErrStruct is null).
phRC4Cryptor must not be NULL.
Returns :
output in (*phRC4Cryptor).
Return values:
MQERETURN_OK  Completed Successfully
MQERETURN_J_S_CIPHER  Wrong security cipher or key
Warning:
Users are expected to use mqeRC4Cryptor_free() to free the object returned by this call when it is no longer needed. This enables reuse of system resources and can help to avoid system problems caused by shortage of resources.

MQERETURN mqeRC4Cryptor_free MQeRC4CryptorHndl    hRC4Cryptor,
MQeExceptBlock   pErrStruct
 

Parameters:
hRC4Cryptor  [in] handle for the MQeRC4Cryptor to be freed.
pErrStruct  [in/out] Pointer to a pre-allocated MQeExceptBlock structure.
Precondition:
pErrStruct points to a pre-allocated MQeExceptBlock structure (no error information is returned if pErrStruct is null).
Return values:
MQERETURN_OK  Completed Successfully


Generated Thu Aug 11 23:41:23 2005 for Websphere MQ Everyplace for Multiplatforms C Bindings Reference