C14N
[OMXMLSecurity]


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)

Detailed Description

XML Canonicalization (XML-C14N).

Function Documentation

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_t
buffer.

Parameters:
env Pointer to the Axis2/C environment.
doc Document on which the canonicalization is performed.
comments 
TRUE
if comments should be included in the output;
FALSE
otherwise.
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 
TRUE
if exclusive cannonicalization should be used;
FALSE
otherwise.
node Node that defines the subdocument to be canonicalized. When it is
NULL
the 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_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.

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
.

Parameters:
env Pointer to the Axis2/C environment.
doc Document on which the canonicalization is performed.
comments 
TRUE
if comments should be included in the output;
FALSE
otherwise.
stream Output stream.
ns_prefixes List of inclusive namespace prefixes.
exclusive 
TRUE
if exclusive cannonicalization should be used;
FALSE
otherwise.
node Node that defines the subdocument to be canonicalized. When it is
NULL
the 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
.

Parameters:
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
NULL
the whole document will be canonicalized.
algo Canonicalization method to be used.


Generated on Wed May 13 10:52:54 2009 for Rampart/C by  doxygen 1.5.5