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 
00036 #ifdef __cplusplus
00037 extern "C"
00038 {
00039 #endif
00040 
00041 
00042     typedef struct oxs_sign_part_t oxs_sign_part_t;
00043 
00044     /*Create function*/
00045     AXIS2_EXTERN oxs_sign_part_t *AXIS2_CALL
00046     oxs_sign_part_create(const axutil_env_t *env);
00047 
00048     /*Free*/
00049     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00050     oxs_sign_part_free(oxs_sign_part_t *ctx,
00051                        const axutil_env_t *env);
00052 
00053 
00054     /**********************Getter functions******************************************/
00055     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00056     oxs_sign_part_get_id(
00057         const oxs_sign_part_t *sign_part,
00058         const axutil_env_t *env);
00059 
00060     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00061     oxs_sign_part_get_digest_mtd(
00062         const oxs_sign_part_t *sign_part,
00063         const axutil_env_t *env);
00064 
00065     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00066     oxs_sign_part_get_digest_val(
00067         const oxs_sign_part_t *sign_part,
00068         const axutil_env_t *env);
00069 
00070     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00071     oxs_sign_part_get_node(
00072         const oxs_sign_part_t *sign_part,
00073         const axutil_env_t *env);
00074 
00075     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00076     oxs_sign_part_get_transforms(
00077         const oxs_sign_part_t *sign_part,
00078         const axutil_env_t *env);
00079 
00080     /**********************Setter functions******************************************/
00081     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00082     oxs_sign_part_set_id(
00083         oxs_sign_part_t *sign_part,
00084         const axutil_env_t *env,
00085         axis2_char_t *id);
00086 
00087     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00088     oxs_sign_part_set_digest_mtd(
00089         oxs_sign_part_t *sign_part,
00090         const axutil_env_t *env,
00091         axis2_char_t *digest_mtd);
00092 
00093     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00094     oxs_sign_part_set_digest_val(
00095         oxs_sign_part_t *sign_part,
00096         const axutil_env_t *env,
00097         axis2_char_t *digest_val);
00098 
00099     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00100     oxs_sign_part_set_node(
00101         oxs_sign_part_t *sign_part,
00102         const axutil_env_t *env,
00103         axiom_node_t *node);
00104 
00105     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00106     oxs_sign_part_set_transforms(
00107         oxs_sign_part_t *sign_part,
00108         const axutil_env_t *env,
00109         axutil_array_list_t *transforms);
00110 
00111 
00112 
00114 #ifdef __cplusplus
00115 }
00116 #endif
00117 
00118 #endif                          /* OXS_SIGN_PART_H */

Generated on Thu Oct 4 17:37:07 2007 for Rampart/C by  doxygen 1.4.7