Rampart Context
[Rampart Utilities]


Typedefs

typedef struct rampart_context_t rampart_context_t
typedef axis2_char_t *(* password_callback_fn )(const axutil_env_t *env, const axis2_char_t *username, void *ctx)
typedef axis2_status_t(* rampart_is_replayed_fn )(const axutil_env_t *env, axis2_msg_ctx_t *msg_ctx, rampart_context_t *rampart_context)
typedef
rampart_authn_provider_status_t(* 
auth_password_func )(const axutil_env_t *env, const axis2_char_t *username, const axis2_char_t *password, void *ctx)
typedef
rampart_authn_provider_status_t(* 
auth_digest_func )(const axutil_env_t *env, const axis2_char_t *username, const axis2_char_t *nonce, const axis2_char_t *created, const char *digest, void *ctx)

Functions

AXIS2_EXTERN rampart_context_t * rampart_context_create (const axutil_env_t *env)
AXIS2_EXTERN void rampart_context_free (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_policy_node (rampart_context_t *rampart_context, const axutil_env_t *env, axiom_node_t *policy_node)
AXIS2_EXTERN axis2_status_t rampart_context_set_prv_key (rampart_context_t *rampart_context, const axutil_env_t *env, void *prv_key)
AXIS2_EXTERN axis2_status_t rampart_context_set_prv_key_type (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_key_type_t type)
AXIS2_EXTERN axis2_status_t rampart_context_set_certificate (rampart_context_t *rampart_context, const axutil_env_t *env, void *certificate)
AXIS2_EXTERN axis2_status_t rampart_context_set_certificate_type (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_key_type_t type)
AXIS2_EXTERN axis2_status_t rampart_context_set_receiver_certificate (rampart_context_t *rampart_context, const axutil_env_t *env, void *receiver_certificate)
AXIS2_EXTERN axis2_status_t rampart_context_set_receiver_certificate_type (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_key_type_t type)
AXIS2_EXTERN axis2_status_t rampart_context_set_user (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *user)
AXIS2_EXTERN axis2_status_t rampart_context_set_password (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *password)
AXIS2_EXTERN axis2_status_t rampart_context_set_prv_key_password (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *prv_key_password)
AXIS2_EXTERN axis2_status_t rampart_context_set_pwcb_function (rampart_context_t *rampart_context, const axutil_env_t *env, password_callback_fn pwcb_function, void *ctx)
AXIS2_EXTERN axis2_status_t rampart_context_set_replay_detect_function (rampart_context_t *rampart_context, const axutil_env_t *env, rampart_is_replayed_fn is_replayed_function)
AXIS2_EXTERN axis2_status_t rampart_context_set_password_type (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *password_type)
AXIS2_EXTERN axis2_status_t rampart_context_set_ttl (rampart_context_t *rampart_context, const axutil_env_t *env, int ttl)
AXIS2_EXTERN axis2_status_t rampart_context_set_rd_val (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *rd_val)
AXIS2_EXTERN axis2_status_t rampart_context_set_private_key_file (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *private_key_file)
AXIS2_EXTERN axis2_status_t rampart_context_set_certificate_file (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *certificate_file)
AXIS2_EXTERN axis2_status_t rampart_context_set_reciever_certificate_file (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *reciever_certificate_file)
AXIS2_EXTERN axis2_status_t rampart_context_add_key (rampart_context_t *rampart_context, const axutil_env_t *env, oxs_key_t *key)
AXIS2_EXTERN axiom_node_t * rampart_context_get_policy_node (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN void * rampart_context_get_prv_key (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_key_type_t rampart_context_get_prv_key_type (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN void * rampart_context_get_certificate (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_key_type_t rampart_context_get_certificate_type (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN void * rampart_context_get_receiver_certificate (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_key_type_t rampart_context_get_receiver_certificate_type (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_user (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_password (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_prv_key_password (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN password_callback_fn rampart_context_get_pwcb_function (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN rampart_is_replayed_fn rampart_context_get_replay_detect_function (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN void * rampart_context_get_ctx (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN int rampart_context_get_ttl (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_rd_val (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_password_type (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axutil_array_list_t * rampart_context_get_keys (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN oxs_key_trampart_context_get_key (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *key_id)
AXIS2_EXTERN oxs_key_trampart_context_get_key_using_hash (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *hash)
AXIS2_EXTERN rp_secpolicy_t * rampart_context_get_secpolicy (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_secpolicy (rampart_context_t *rampart_context, const axutil_env_t *env, rp_secpolicy_t *secpolicy)
AXIS2_EXTERN rampart_callback_trampart_context_get_password_callback (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_password_callback (rampart_context_t *rampart_context, const axutil_env_t *env, rampart_callback_t *password_callback_module)
AXIS2_EXTERN auth_password_func rampart_context_get_auth_password_function (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_auth_password_function (rampart_context_t *rampart_context, const axutil_env_t *env, auth_password_func authenticate_with_password)
AXIS2_EXTERN auth_digest_func rampart_context_get_auth_digest_function (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_auth_digest_function (rampart_context_t *rampart_context, const axutil_env_t *env, auth_digest_func authenticate_with_digest)
AXIS2_EXTERN
rampart_authn_provider_t
rampart_context_get_authn_provider (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN void * rampart_context_get_replay_detector (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN void * rampart_context_get_sct_provider (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_authn_provider (rampart_context_t *rampart_context, const axutil_env_t *env, rampart_authn_provider_t *authn_provider)
AXIS2_EXTERN axis2_status_t rampart_context_set_replay_detector (rampart_context_t *rampart_context, const axutil_env_t *env, void *replay_detector)
AXIS2_EXTERN axis2_status_t rampart_context_set_sct_provider (rampart_context_t *rampart_context, const axutil_env_t *env, void *sct_module)
AXIS2_EXTERN axis2_bool_t rampart_context_get_require_timestamp (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_get_require_ut (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN rp_property_type_t rampart_context_get_binding_type (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_include_timestamp (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_include_username_token (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_include_supporting_token (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_bool_t server_side, axis2_bool_t is_inpath, rp_property_type_t token_type)
AXIS2_EXTERN axis2_bool_t rampart_context_is_include_protection_saml_token (rampart_context_t *rampart_context, axis2_bool_t server_side, axis2_bool_t is_inpath, const axutil_env_t *env)
AXIS2_EXTERN rp_property_t * rampart_context_get_supporting_token (rampart_context_t *rampart_context, const axutil_env_t *env, rp_property_type_t token_type)
AXIS2_EXTERN axis2_char_t * rampart_context_get_password_callback_class (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_authn_module_name (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_replay_detector_name (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_sct_provider_name (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_encrypt_before_sign (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_encrypt_signature (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_get_nodes_to_encrypt (rampart_context_t *rampart_context, const axutil_env_t *env, axiom_soap_envelope_t *soap_envelope, axutil_array_list_t *nodes_to_encrypt)
AXIS2_EXTERN axis2_status_t rampart_context_get_nodes_to_sign (rampart_context_t *rampart_context, const axutil_env_t *env, axiom_soap_envelope_t *soap_envelope, axutil_array_list_t *nodes_to_sign)
AXIS2_EXTERN axis2_status_t rampart_context_get_elements_to_encrypt (rampart_context_t *rampart_context, const axutil_env_t *env, axiom_soap_envelope_t *soap_envelope, axutil_array_list_t *nodes_to_encrypt)
AXIS2_EXTERN axis2_status_t rampart_context_get_elements_to_sign (rampart_context_t *rampart_context, const axutil_env_t *env, axiom_soap_envelope_t *soap_envelope, axutil_array_list_t *nodes_to_sign)
AXIS2_EXTERN rp_property_t * rampart_context_get_token (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_bool_t for_encryption, axis2_bool_t server_side, axis2_bool_t is_inpath)
AXIS2_EXTERN rp_property_t * rampart_context_get_endorsing_token (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_check_is_derived_keys (const axutil_env_t *env, rp_property_t *token)
AXIS2_EXTERN axis2_char_t * rampart_context_get_enc_sym_algo (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_enc_asym_algo (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_asym_sig_algo (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_digest_mtd (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_encryption_user (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_token_include (rampart_context_t *rampart_context, rp_property_t *token, rp_property_type_t token_type, axis2_bool_t server_side, axis2_bool_t is_inpath, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_key_identifier (rampart_context_t *rampart_context, rp_property_t *token, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_token_type_supported (rp_property_type_t token_type, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_key_identifier_type_supported (rampart_context_t *rampart_context, rp_property_t *token, axis2_char_t *identifier, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_layout (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_check_whether_to_encrypt (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_check_whether_to_sign (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_user_from_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_password_type_from_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_certificate_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_receiver_certificate_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_private_key_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_ttl_from_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_rd_val_from_file (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN oxs_key_trampart_context_get_encryption_session_key (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_encryption_session_key (rampart_context_t *rampart_context, const axutil_env_t *env, oxs_key_t *session_key)
AXIS2_EXTERN oxs_key_trampart_context_get_signature_session_key (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_signature_session_key (rampart_context_t *rampart_context, const axutil_env_t *env, oxs_key_t *session_key)
AXIS2_EXTERN axis2_status_t rampart_context_increment_ref (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_bool_t rampart_context_is_sig_confirmation_reqd (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_encryption_token_id (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * rampart_context_get_signature_token_id (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_encryption_token_id (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *sct_id)
AXIS2_EXTERN axis2_status_t rampart_context_set_signature_token_id (rampart_context_t *rampart_context, const axutil_env_t *env, axis2_char_t *sct_id)
AXIS2_EXTERN rampart_saml_token_t * rampart_context_get_saml_token (rampart_context_t *rampart_context, const axutil_env_t *env, rp_property_type_t token_type)
AXIS2_EXTERN axis2_status_t rampart_context_add_saml_token (rampart_context_t *rampart_context, const axutil_env_t *env, rampart_saml_token_t *token)
AXIS2_EXTERN axis2_status_t rampart_context_set_saml_tokens (rampart_context_t *rampart_context, const axutil_env_t *env, axutil_array_list_t *tokens)
AXIS2_EXTERN
issued_token_callback_func 
rampart_context_get_issued_token_aquire_function (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_issued_token_aquire_function (rampart_context_t *rampart_context, const axutil_env_t *env, issued_token_callback_func issued_token_aquire)
AXIS2_EXTERN int rampart_context_get_encryption_derived_key_len (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN int rampart_context_get_signature_derived_key_len (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN rp_algorithmsuite_t * rampart_context_get_algorithmsuite (rampart_context_t *rampart_context, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t rampart_context_set_custom_tokens (rampart_context_t *rampart_context, const axutil_env_t *env, axutil_array_list_t *tokens)
AXIS2_EXTERN axutil_array_list_t * rampart_context_get_custom_tokens (rampart_context_t *rampart_context, const axutil_env_t *env)

Function Documentation

AXIS2_EXTERN axis2_status_t rampart_context_add_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
oxs_key_t key 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_add_saml_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rampart_saml_token_t *  token 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_check_is_derived_keys ( const axutil_env_t *  env,
rp_property_t *  token 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_check_whether_to_encrypt ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_check_whether_to_sign ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rampart_context_t* rampart_context_create ( const axutil_env_t *  env  ) 

Create a rampart_context.rampart_context is the wrapper of secpolicy and the main configuration for rampart.

Parameters:
env pointer to environment struct,Must not be NULL.
Returns:
ramaprt_context_t* on successful creation.Else NULL;

AXIS2_EXTERN void rampart_context_free ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

Frees a rampart_context.

Parameters:
rampart_context the rampart_context pointer to environment struct,Must not be NULL.

AXIS2_EXTERN rp_algorithmsuite_t* rampart_context_get_algorithmsuite ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_asym_sig_algo ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN auth_digest_func rampart_context_get_auth_digest_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN auth_password_func rampart_context_get_auth_password_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_authn_module_name ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rampart_authn_provider_t* rampart_context_get_authn_provider ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rp_property_type_t rampart_context_get_binding_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN void* rampart_context_get_certificate ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_certificate_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_key_type_t rampart_context_get_certificate_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN void* rampart_context_get_ctx ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axutil_array_list_t* rampart_context_get_custom_tokens ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

Get the node or the token list as an array. If the size is 0 that means there are no custom tokens specified by the client

Parameters:
rampart_context 
env pointer to environment struct,Must not be NULL.
Returns:
the custom tokens list

AXIS2_EXTERN axis2_char_t* rampart_context_get_digest_mtd ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_get_elements_to_encrypt ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axiom_soap_envelope_t *  soap_envelope,
axutil_array_list_t *  nodes_to_encrypt 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_get_elements_to_sign ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axiom_soap_envelope_t *  soap_envelope,
axutil_array_list_t *  nodes_to_sign 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_enc_asym_algo ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_enc_sym_algo ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN int rampart_context_get_encryption_derived_key_len ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN oxs_key_t* rampart_context_get_encryption_session_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_encryption_token_id ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_encryption_user ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rp_property_t* rampart_context_get_endorsing_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN issued_token_callback_func rampart_context_get_issued_token_aquire_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN oxs_key_t* rampart_context_get_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  key_id 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_key_identifier ( rampart_context_t *  rampart_context,
rp_property_t *  token,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN oxs_key_t* rampart_context_get_key_using_hash ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  hash 
)

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

AXIS2_EXTERN axutil_array_list_t* rampart_context_get_keys ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_layout ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_get_nodes_to_encrypt ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axiom_soap_envelope_t *  soap_envelope,
axutil_array_list_t *  nodes_to_encrypt 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_get_nodes_to_sign ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axiom_soap_envelope_t *  soap_envelope,
axutil_array_list_t *  nodes_to_sign 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_password ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rampart_callback_t* rampart_context_get_password_callback ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_password_callback_class ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_password_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axiom_node_t* rampart_context_get_policy_node ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_private_key_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN void* rampart_context_get_prv_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_prv_key_password ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_key_type_t rampart_context_get_prv_key_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN password_callback_fn rampart_context_get_pwcb_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_rd_val ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN void* rampart_context_get_receiver_certificate ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_receiver_certificate_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_key_type_t rampart_context_get_receiver_certificate_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rampart_is_replayed_fn rampart_context_get_replay_detect_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN void* rampart_context_get_replay_detector ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_replay_detector_name ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_get_require_timestamp ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_get_require_ut ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rampart_saml_token_t* rampart_context_get_saml_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rp_property_type_t  token_type 
)

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

AXIS2_EXTERN void* rampart_context_get_sct_provider ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_sct_provider_name ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rp_secpolicy_t* rampart_context_get_secpolicy ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN int rampart_context_get_signature_derived_key_len ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN oxs_key_t* rampart_context_get_signature_session_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_signature_token_id ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN rp_property_t* rampart_context_get_supporting_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rp_property_type_t  token_type 
)

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

AXIS2_EXTERN rp_property_t* rampart_context_get_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_bool_t  for_encryption,
axis2_bool_t  server_side,
axis2_bool_t  is_inpath 
)

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

AXIS2_EXTERN int rampart_context_get_ttl ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_char_t* rampart_context_get_user ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_increment_ref ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_encrypt_before_sign ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_encrypt_signature ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_include_protection_saml_token ( rampart_context_t *  rampart_context,
axis2_bool_t  server_side,
axis2_bool_t  is_inpath,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_include_supporting_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_bool_t  server_side,
axis2_bool_t  is_inpath,
rp_property_type_t  token_type 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_include_timestamp ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_include_username_token ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_key_identifier_type_supported ( rampart_context_t *  rampart_context,
rp_property_t *  token,
axis2_char_t *  identifier,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_sig_confirmation_reqd ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_token_include ( rampart_context_t *  rampart_context,
rp_property_t *  token,
rp_property_type_t  token_type,
axis2_bool_t  server_side,
axis2_bool_t  is_inpath,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_bool_t rampart_context_is_token_type_supported ( rp_property_type_t  token_type,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_auth_digest_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
auth_digest_func  authenticate_with_digest 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_auth_password_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
auth_password_func  authenticate_with_password 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_authn_provider ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rampart_authn_provider_t authn_provider 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_certificate ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
void *  certificate 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_certificate_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  certificate_file 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_certificate_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_key_type_t  type 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_custom_tokens ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axutil_array_list_t *  tokens 
)

Set the a node list to the context. These nodes will be append to the Security header

Parameters:
rampart_context 
env pointer to environment struct,Must not be NULL.
tokens the token list as an array
Returns:
status of the op. AXIS2_SUCCESS on success and AXIS2_FAILURE on error

AXIS2_EXTERN axis2_status_t rampart_context_set_encryption_session_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
oxs_key_t session_key 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_encryption_token_id ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  sct_id 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_issued_token_aquire_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
issued_token_callback_func  issued_token_aquire 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_password ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  password 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_password_callback ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rampart_callback_t password_callback_module 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_password_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  password_type 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_password_type_from_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_policy_node ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axiom_node_t *  policy_node 
)

Sets the policy node which is an om_node containing policy.This om_node can be build outside rampart.

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

AXIS2_EXTERN axis2_status_t rampart_context_set_private_key_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  private_key_file 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_prv_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
void *  prv_key 
)

Sets private key of sender as a buffer.This can be set from outside rampart.

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

AXIS2_EXTERN axis2_status_t rampart_context_set_prv_key_password ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  prv_key_password 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_prv_key_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_key_type_t  type 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_pwcb_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
password_callback_fn  pwcb_function,
void *  ctx 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_rd_val ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  rd_val 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_rd_val_from_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_receiver_certificate ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
void *  receiver_certificate 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_receiver_certificate_type ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_key_type_t  type 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_reciever_certificate_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  reciever_certificate_file 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_replay_detect_function ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rampart_is_replayed_fn  is_replayed_function 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_replay_detector ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
void *  replay_detector 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_saml_tokens ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axutil_array_list_t *  tokens 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_sct_provider ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
void *  sct_module 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_secpolicy ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
rp_secpolicy_t *  secpolicy 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_signature_session_key ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
oxs_key_t session_key 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_signature_token_id ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  sct_id 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_ttl ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
int  ttl 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_ttl_from_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_user ( rampart_context_t *  rampart_context,
const axutil_env_t *  env,
axis2_char_t *  user 
)

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

AXIS2_EXTERN axis2_status_t rampart_context_set_user_from_file ( rampart_context_t *  rampart_context,
const axutil_env_t *  env 
)

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


Generated on Fri May 23 15:50:25 2008 for Rampart/C by  doxygen 1.5.5