System Interface CATIUExitCrypt

Usage: you can freely reimplement this interface.


interface CATIUExitCrypt

Interface to enable some user specific encryption mechanism.
Role: This interface is a user exit, that allows an user to perform encryption/decryption of data. It is called when transmitting passwords.
You should implement it on the CATUExitCrypt component by creating a data extension.


Method Index


o Code(void*,size_t,void**,size_t*)
Code a given buffer.
o Decode(void*,size_t,void**,size_t*)
Decode a given Buffer.

Methods


o Code
public virtual Code( const iBuffer,
iLen,
CodedBuffer,
oCodedLen)
Code a given buffer.
Parameters:
iBuffer
Input Buffer to be coded
iLen
Length of the input buffer
oCodedBuffer
Output Buffer. It must be allocated by the method Code
oCodedLen
Length of the output buffer
Returns:
S_OK E_FAIL if the coding is not succesfull
o Decode
public virtual Decode( const iCodedBuffer,
iCodedLen,
DecodedBuffer,
oDecodedLen)
Decode a given Buffer.
Parameters:
iCodedBuffer
Input Buffer to be decoded
iCodedLen
Length of the input buffer
oDecodedBuffer
Output Buffer. It must be allocated by the method Decode
oDecodedLen
Length of the output buffer
Returns:
S_OK E_FAIL if the decoding is not succesfull

This object is included in the file: CATIUExitCrypt.h
If needed, your Imakefile.mk should include the module: JS0CRYPTEXIT

Copyright © 1999-2015, Dassault Systèmes. All rights reserved.