# oxs_ctx.h File Reference

Keeps configurations for the OMXMLSecurity. More...

`#include <axis2_defines.h>`
`#include <axutil_env.h>`
`#include <axiom_node.h>`
`#include <oxs_buffer.h>`
`#include <oxs_key.h>`

Go to the source code of this file.

## Typedefs
typedef struct oxs_ctx_t | oxs_ctx_t
## Enumerations
enum | oxs_ctx_operation_t { OXS_CTX_OPERATION_NONE = 0, OXS_CTX_OPERATION_ENCRYPT, OXS_CTX_OPERATION_DECRYPT }
enum | oxs_ctx_mode_t { OXS_CTX_MODE_ENCRYPTED_DATA = 0, OXS_CTX_MODE_ENCRYPTED_KEY }
## Functions
AXIS2_EXTERN axis2_status_t | oxs_ctx_free (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN oxs_ctx_mode_t | oxs_ctx_get_mode (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN oxs_ctx_operation_t | oxs_ctx_get_operation (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN oxs_key_t * | oxs_ctx_get_key (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_id (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_type (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_mime_type (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_encoding (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_recipient (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_ref_key_name (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_enc_mtd_algorithm (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_char_t * | oxs_ctx_get_input_data (oxs_ctx_t *ctx, const axutil_env_t *env)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_mode (oxs_ctx_t *ctx, const axutil_env_t *env, oxs_ctx_mode_t mode)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_operation (oxs_ctx_t *ctx, const axutil_env_t *env, oxs_ctx_operation_t operation)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_key (oxs_ctx_t *ctx, const axutil_env_t *env, oxs_key_t *key)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_id (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *id)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_type (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *type)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_mime_type (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *mime_type)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_encoding (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *encoding)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_recipient (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *recipient)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_ref_key_name (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *ref_key_name)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_enc_mtd_algorithm (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *enc_mtd_algorithm)
AXIS2_EXTERN axis2_status_t | oxs_ctx_set_input_data (oxs_ctx_t *ctx, const axutil_env_t *env, axis2_char_t *input_data)
AXIS2_EXTERN oxs_ctx_t * | oxs_ctx_create (const axutil_env_t *env)

## Detailed Description

Keeps configurations for the OMXMLSecurity.