Files | |
file | oxs_c14n.h |
Cannonicalization implementation for OMXMLSecurity. | |
Functions | |
AXIS2_EXTERN axis2_status_t | oxs_c14n_apply_stream_algo (const axutil_env_t *env, const axiom_document_t *doc, axutil_stream_t *stream, const axutil_array_list_t *ns_prefixes, const axiom_node_t *node, const axis2_char_t *algo) |
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) |
AXIS2_EXTERN axis2_status_t | oxs_c14n_apply_stream (const axutil_env_t *env, const axiom_document_t *doc, axis2_bool_t comments, axutil_stream_t *stream, const axis2_bool_t exclusive, const axutil_array_list_t *ns_prefixes, const axiom_node_t *node) |
AXIS2_EXTERN axis2_status_t | oxs_c14n_apply (const axutil_env_t *env, const axiom_document_t *doc, const axis2_bool_t comments, axis2_char_t **outbuf, const axis2_bool_t exclusive, const axutil_array_list_t *ns_prefixes, const axiom_node_t *node) |
AXIS2_EXTERN axis2_status_t oxs_c14n_apply | ( | const axutil_env_t * | env, | |
const axiom_document_t * | doc, | |||
const axis2_bool_t | comments, | |||
axis2_char_t ** | outbuf, | |||
const axis2_bool_t | exclusive, | |||
const axutil_array_list_t * | ns_prefixes, | |||
const axiom_node_t * | node | |||
) |
Perform given XML-Canonicalization (XML-C14N) method and returns the result as an
axis2_char_tbuffer.
env | Pointer to the Axis2/C environment. | |
doc | Document on which the canonicalization is performed. | |
comments | TRUEif comments should be included in the output; FALSEotherwise. | |
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. | |
exclusive | TRUEif exclusive cannonicalization should be used; FALSEotherwise. | |
node | Node that defines the subdocument to be canonicalized. When it is NULLthe whole document will be canonicalized. |
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_tbuffer.
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 NULLthe whole document will be canonicalized. | |
algo | Canonicalization method to be used. |
AXIS2_EXTERN axis2_status_t oxs_c14n_apply_stream | ( | const axutil_env_t * | env, | |
const axiom_document_t * | doc, | |||
axis2_bool_t | comments, | |||
axutil_stream_t * | stream, | |||
const axis2_bool_t | exclusive, | |||
const axutil_array_list_t * | ns_prefixes, | |||
const axiom_node_t * | node | |||
) |
Perform given XML-Canonicalization (XML-C14N) method and returns the result as an
axutil_stream.
env | Pointer to the Axis2/C environment. | |
doc | Document on which the canonicalization is performed. | |
comments | TRUEif comments should be included in the output; FALSEotherwise. | |
stream | Output stream. | |
ns_prefixes | List of inclusive namespace prefixes. | |
exclusive | TRUEif exclusive cannonicalization should be used; FALSEotherwise. | |
node | Node that defines the subdocument to be canonicalized. When it is NULLthe whole document will be canonicalized. |
AXIS2_EXTERN axis2_status_t oxs_c14n_apply_stream_algo | ( | const axutil_env_t * | env, | |
const axiom_document_t * | doc, | |||
axutil_stream_t * | stream, | |||
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
axutil_stream.
env | Pointer to the Axis2/C environment. | |
doc | Document on which the canonicalization is performed. | |
stream | Output stream. | |
ns_prefixes | List of inclusive namespace prefixes. | |
node | Node that defines the subdocument to be canonicalized. When it is NULLthe whole document will be canonicalized. | |
algo | Canonicalization method to be used. |