Replay Detector
[Rampart Utilities]


Classes

struct  rampart_replay_detector_ops
struct  rampart_replay_detector

Defines

#define RAMPART_REPLAY_DETECTOR_IS_REPLAYED(replay_detector, env, msg_ctx, rampart_context)   ((replay_detector)->ops->is_replayed(replay_detector, env, msg_ctx, rampart_context))
#define RAMPART_REPLAY_DETECTOR_FREE(replay_detector, env)   ((replay_detector)->ops->free(replay_detector, env))

Typedefs

typedef struct
rampart_replay_detector_ops 
rampart_replay_detector_ops_t
typedef struct
rampart_replay_detector 
rampart_replay_detector_t

Functions

AXIS2_EXTERN axis2_status_t rampart_replay_detector_default (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, rampart_context_t *rampart_context)
AXIS2_EXTERN axutil_hash_t * rampart_replay_detector_set_default_db (const axutil_env_t *env, axis2_ctx_t *ctx)
AXIS2_EXTERN axis2_status_t rampart_replay_detector_with_linked_list (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, rampart_context_t *rampart_context)
AXIS2_EXTERN axutil_linked_list_t * rampart_replay_detector_set_ll_db (const axutil_env_t *env, axis2_ctx_t *ctx)
AXIS2_EXTERN axis2_status_t rampart_replay_detector_final_cleanup (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx)
AXIS2_EXTERN axis2_bool_t rampart_replay_detector_linked_list_contains (axutil_linked_list_t *linked_list, const axutil_env_t *env, axis2_char_t *id)
AXIS2_EXTERN axis2_char_t * rampart_replay_detector_get_ts (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx)

Typedef Documentation

Type name for struct rampart_replay_detector_ops

typedef struct rampart_replay_detector rampart_replay_detector_t

Type name for struct rampart_replay_detector


Function Documentation

AXIS2_EXTERN axis2_status_t rampart_replay_detector_default ( const axutil_env_t *  env,
axis2_msg_ctx_t *  msg_ctx,
rampart_context_t *  rampart_context 
)

The default impl for RRD

Parameters:
env pointer to environment struct,Must not be NULL.
msg_ctx 
rampart_context 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axis2_status_t rampart_replay_detector_final_cleanup ( const axutil_env_t *  env,
axis2_msg_ctx_t *  msg_ctx 
)

Parameters:
env pointer to environment struct,Must not be NULL.
msg_ctx 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axis2_char_t* rampart_replay_detector_get_ts ( const axutil_env_t *  env,
axis2_msg_ctx_t *  msg_ctx 
)

Parameters:
env pointer to environment struct,Must not be NULL.
msg_ctx 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axis2_bool_t rampart_replay_detector_linked_list_contains ( axutil_linked_list_t *  linked_list,
const axutil_env_t *  env,
axis2_char_t *  id 
)

Parameters:
linked_list 
env pointer to environment struct,Must not be NULL.
id 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axutil_hash_t* rampart_replay_detector_set_default_db ( const axutil_env_t *  env,
axis2_ctx_t *  ctx 
)

Parameters:
env pointer to environment struct,Must not be NULL.
ctx 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axutil_linked_list_t* rampart_replay_detector_set_ll_db ( const axutil_env_t *  env,
axis2_ctx_t *  ctx 
)

Parameters:
env pointer to environment struct,Must not be NULL.
ctx 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axis2_status_t rampart_replay_detector_with_linked_list ( const axutil_env_t *  env,
axis2_msg_ctx_t *  msg_ctx,
rampart_context_t *  rampart_context 
)

A linked list based implementation for RRD This doesnt required addressing headers to be present

Parameters:
env pointer to environment struct,Must not be NULL.
msg_ctx 
rampart_context 
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error


Generated on Thu May 22 15:02:57 2008 for Rampart/C by  doxygen 1.5.5