Functions | |
axis2_status_t | rampart_timestamp_token_build (const axutil_env_t *env, axiom_node_t *sec_node, int ttl, axis2_bool_t with_millisecond) |
axis2_status_t | rampart_timestamp_token_validate (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, axiom_node_t *ts_node, int clock_skew_buffer) |
axis2_status_t rampart_timestamp_token_build | ( | const axutil_env_t * | env, | |
axiom_node_t * | sec_node, | |||
int | ttl, | |||
axis2_bool_t | with_millisecond | |||
) |
Builds timestamp token.
env | pointer to environment struct | |
sec_node | security node | |
ttl | Time to live. The time difference btwn Created and Expired. If it is zero or less than zero, then Expired element will not be created. | |
with_millisecond | shows whether millisecond precision is needed |
axis2_status_t rampart_timestamp_token_validate | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx, | |||
axiom_node_t * | ts_node, | |||
int | clock_skew_buffer | |||
) |
Validates time stamp token. Validation is based in expiration time of the Expired element.
env | pointer to environment struct | |
msg_ctx | pointer to message context structure | |
ts_node | Timestamp node | |
clock_skew_buffer | buffer of allowable skew of time between sender and receiver |