Defines | |
#define | RAMPART_TIMESTAMP_TOKEN_DEFAULT_TIME_TO_LIVE 300 |
Functions | |
axis2_status_t | rampart_timestamp_token_build (const axutil_env_t *env, axiom_node_t *sec_node, const axiom_namespace_t *sec_ns_obj, int ttl) |
axis2_status_t | rampart_timestamp_token_validate (const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, axiom_node_t *ts_node) |
axis2_status_t rampart_timestamp_token_build | ( | const axutil_env_t * | env, | |
axiom_node_t * | sec_node, | |||
const axiom_namespace_t * | sec_ns_obj, | |||
int | ttl | |||
) |
Builds timestamp token.
env | pointer to environment struct | |
ctx | axis2 context | |
sec_node | security node | |
sec_ns_obj | Security namespace object | |
ttl | Time to live. The time difference btwn Created and Expired |
axis2_status_t rampart_timestamp_token_validate | ( | const axutil_env_t * | env, | |
axis2_msg_ctx_t * | msg_ctx, | |||
axiom_node_t * | ts_node | |||
) |
Validates time stamp token. Validation is based in expiration time of the Expired element.
env | pointer to environment struct | |
ts_node | Timestamp node |