# oxs_xml_encryption.h File Reference

Does the XML encryption for OMXMLSecurity. More...

`#include <axis2_defines.h>`
`#include <oxs_ctx.h>`
`#include <axutil_env.h>`
`#include <axiom_node.h>`
`#include <axiom_element.h>`
`#include <axutil_qname.h>`

Go to the source code of this file.

## Functions
AXIS2_EXTERN axis2_status_t | oxs_xml_enc_encrypt_node (const axutil_env_t *env, oxs_ctx_t *enc_ctx, axiom_node_t *node, axiom_node_t **enc_type_node, axiom_node_t *key_reference_node)
AXIS2_EXTERN axis2_status_t | oxs_xml_enc_decrypt_node (const axutil_env_t *env, oxs_ctx_t *enc_ctx, axiom_node_t *enc_type_node, axiom_node_t **decrypted_node)
AXIS2_EXTERN axis2_status_t | oxs_xml_enc_encrypt_data (const axutil_env_t *env, oxs_ctx_t *enc_ctx, oxs_buffer_t *content_buf, axiom_node_t **enc_type_node, axiom_node_t *key_reference_node)
AXIS2_EXTERN axis2_status_t | oxs_xml_enc_decrypt_data (const axutil_env_t *env, oxs_ctx_t *enc_ctx, axiom_node_t *enc_type_node, oxs_buffer_t *result_buf)
AXIS2_EXTERN axis2_status_t | oxs_xml_enc_encrypt_key (const axutil_env_t *env, oxs_asym_ctx_t *asym_ctx, axiom_node_t *parent, oxs_key_t *sym_key, axutil_array_list_t *id_list)
AXIS2_EXTERN axis2_status_t | oxs_xml_enc_decrypt_key (const axutil_env_t *env, oxs_asym_ctx_t *asym_ctx, axiom_node_t *parent, axiom_node_t *encrypted_key_node, oxs_key_t *key)

## Detailed Description

Does the XML encryption for OMXMLSecurity.