# oxs_sign_part.h

Go to the documentation of this file.

    00001 /*
    00002  * Licensed to the Apache Software Foundation (ASF) under one or more
    00003  * contributor license agreements.  See the NOTICE file distributed with
    00004  * this work for additional information regarding copyright ownership.
    00005  * The ASF licenses this file to You under the Apache License, Version 2.0
    00006  * (the "License"); you may not use this file except in compliance with
    00007  * the License.  You may obtain a copy of the License at
    00008  *
    00009  *      http://www.apache.org/licenses/LICENSE-2.0
    00010  *
    00011  * Unless required by applicable law or agreed to in writing, software
    00012  * distributed under the License is distributed on an "AS IS" BASIS,
    00013  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00014  * See the License for the specific language governing permissions and
    00015  * limitations under the License.
    00016  */
    00017
    00018 #ifndef OXS_SIGN_PART_H
    00019 #define OXS_SIGN_PART_H
    00020
    00021
    00032 #include <axis2_defines.h>
    00033 #include <axutil_env.h>
    00034 #include <axiom_node.h>
    00035 #include <axiom_namespace.h>
    00036
    00037 #ifdef __cplusplus
    00038 extern "C"
    00039 {
    00040 #endif
    00041
    00042
    00043     typedef struct oxs_sign_part_t oxs_sign_part_t;
    00044
    00045     /*Create function*/
    00046     AXIS2_EXTERN oxs_sign_part_t *AXIS2_CALL
    00047     oxs_sign_part_create(const axutil_env_t *env);
    00048
    00049     /*Free*/
    00050     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00051     oxs_sign_part_free(oxs_sign_part_t *ctx,
    00052                        const axutil_env_t *env);
    00053
    00054
    00055     /**********************Getter functions******************************************/
    00056     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00057     oxs_sign_part_get_id(
    00058         const oxs_sign_part_t *sign_part,
    00059         const axutil_env_t *env);
    00060
    00061     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00062     oxs_sign_part_get_digest_mtd(
    00063         const oxs_sign_part_t *sign_part,
    00064         const axutil_env_t *env);
    00065
    00066     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00067     oxs_sign_part_get_digest_val(
    00068         const oxs_sign_part_t *sign_part,
    00069         const axutil_env_t *env);
    00070
    00071     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00072     oxs_sign_part_get_node(
    00073         const oxs_sign_part_t *sign_part,
    00074         const axutil_env_t *env);
    00075
    00076     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00077     oxs_sign_part_get_transforms(
    00078         const oxs_sign_part_t *sign_part,
    00079         const axutil_env_t *env);
    00080
    00081         AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00082         oxs_sign_part_get_id_name(
    00083                 const oxs_sign_part_t *sign_part,
    00084                 const axutil_env_t *env);
    00085
    00086         AXIS2_EXTERN axiom_namespace_t *AXIS2_CALL
    00087         oxs_sign_part_get_sign_namespace(
    00088                 const oxs_sign_part_t *sign_part,
    00089                 const axutil_env_t *env);
    00090
    00091
    00092     /**********************Setter functions******************************************/
    00093     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00094     oxs_sign_part_set_id(
    00095         oxs_sign_part_t *sign_part,
    00096         const axutil_env_t *env,
    00097         axis2_char_t *id);
    00098
    00099     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00100     oxs_sign_part_set_digest_mtd(
    00101         oxs_sign_part_t *sign_part,
    00102         const axutil_env_t *env,
    00103         axis2_char_t *digest_mtd);
    00104
    00105     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00106     oxs_sign_part_set_digest_val(
    00107         oxs_sign_part_t *sign_part,
    00108         const axutil_env_t *env,
    00109         axis2_char_t *digest_val);
    00110
    00111     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00112     oxs_sign_part_set_node(
    00113         oxs_sign_part_t *sign_part,
    00114         const axutil_env_t *env,
    00115         axiom_node_t *node);
    00116
    00117     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00118     oxs_sign_part_set_transforms(
    00119         oxs_sign_part_t *sign_part,
    00120         const axutil_env_t *env,
    00121         axutil_array_list_t *transforms);
    00122
    00123         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00124         oxs_sign_part_set_id_name(
    00125                 oxs_sign_part_t *sign_part,
    00126                 const axutil_env_t *env,
    00127                 axis2_char_t *id_name);
    00128
    00129         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00130         oxs_sign_part_set_sign_namespace(
    00131                 oxs_sign_part_t *sign_part,
    00132                 const axutil_env_t *env,
    00133                 axiom_namespace_t *sig_ns);
    00134
    00136 #ifdef __cplusplus
    00137 }
    00138 #endif
    00139
    00140 #endif                          /* OXS_SIGN_PART_H */