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

MQe_3DESCryptor.h File Reference

MQe3DESCryptor Object. More...


Functions

MQERETURN mqe3DESCryptor_new (MQeExceptBlock *pErrStruct, MQe3DESCryptorHndl *ph3DESCryptor)
 This function constructs an MQe3DESCryptor object.

MQERETURN mqe3DESCryptor_free (MQe3DESCryptorHndl h3DESCryptor, MQeExceptBlock *pErrStruct)
 This function frees the MQe3DESCryptor handle h3DESCryptor.


Detailed Description

This object is a triple DES cryptor object that provides an attribute object with the mechanism to perform triple DES encryption. Attribute objects are associated with channel and MQeFields objects.


Function Documentation

MQERETURN mqe3DESCryptor_new MQeExceptBlock   pErrStruct,
MQe3DESCryptorHndl *    ph3DESCryptor
 

Parameters:
pErrStruct  [in/out] Pointer to a pre-allocated MQeExceptBlock structure.
ph3DESCryptor  [out] Pointer to handle for output
Precondition:
pErrStruct Points to a pre-allocated MQeExceptBlock structure (no error information is returned if pErrStruct is null).
ph3DESCryptor must not be NULL.
Returns :
Creates and returns a handle to an MQe_3DESCryptor.h
Return values:
MQERETURN_OK  Completed Successfully
MQERETURN_J_S_CIPHER  Wrong Cipher or key
Warning:
Users are expected to use mqe3DESCryptor_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 mqe3DESCryptor_free MQe3DESCryptorHndl    h3DESCryptor,
MQeExceptBlock   pErrStruct
 

Parameters:
h3DESCryptor  [in] Handle for the MQe3DESCryptor 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:17 2005 for Websphere MQ Everyplace for Multiplatforms C Bindings Reference