# C14N
[OMXMLSecurity]

## Files
file | oxs_c14n.h
| Cannonicalization implementation for OMXMLSecurity.

## Functions
AXIS2_EXTERN axis2_status_t | oxs_c14n_apply_algo (const axutil_env_t *env, const axiom_document_t *doc, axis2_char_t **outbuf, const axutil_array_list_t *ns_prefixes, const axiom_node_t *node, const axis2_char_t *algo)

## Detailed Description

XML Canonicalization (XML-C14N).

## Function Documentation

AXIS2_EXTERN axis2_status_t oxs_c14n_apply_algo | ( | const axutil_env_t * | env,
|  | const axiom_document_t * | doc,
|  | axis2_char_t ** | outbuf,
|  | const axutil_array_list_t * | ns_prefixes,
|  | const axiom_node_t * | node,
|  | const axis2_char_t * | algo |
| ) |  |  |

Perform given XML-Canonicalization (XML-C14N) method and returns the result as an

    axis2_char_t

buffer.

Parameters:

  | env | Pointer to the Axis2/C environment.
  | doc | Document on which the canonicalization is performed.
  | outbuf | Output buffer. A new buffer is allocated by the function, should be free'd by the caller.
  | ns_prefixes | List of inclusive namespace prefixes.
  | node | Node that defines the subdocument to be canonicalized. When it is
      NULL
  the whole document will be canonicalized.
  | algo | Canonicalization method to be used.