rp_algorithmsuite.h

00001 
00002 /*
00003  * Copyright 2004,2005 The Apache Software Foundation.
00004  *
00005  * Licensed under the Apache License, Version 2.0 (the "License");
00006  * you may not use this file except in compliance with the License.
00007  * 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 RP_ALGORITHMSUITE_H
00019 #define RP_ALGORITHMSUITE_H
00020 
00026 #include <rp_includes.h>
00027 
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032 
00033     typedef struct rp_algorithmsuite_t rp_algorithmsuite_t;
00034 
00035     AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
00036     rp_algorithmsuite_create(
00037         const axutil_env_t * env);
00038 
00039     AXIS2_EXTERN void AXIS2_CALL
00040     rp_algorithmsuite_free(
00041         rp_algorithmsuite_t * algorithmsuite,
00042         const axutil_env_t * env);
00043 
00044     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00045     rp_algorithmsuite_get_algosuite_string(
00046         rp_algorithmsuite_t * algorithmsuite,
00047         const axutil_env_t * env);
00048 
00049     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00050     rp_algorithmsuite_set_algosuite(
00051         rp_algorithmsuite_t * algorithmsuite,
00052         const axutil_env_t * env,
00053         axis2_char_t * algosuite_string);
00054 
00055     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00056     rp_algorithmsuite_get_symmetric_signature(
00057         rp_algorithmsuite_t * algorithmsuite,
00058         const axutil_env_t * env);
00059 
00060     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00061     rp_algorithmsuite_set_symmetric_signature(
00062         rp_algorithmsuite_t * algorithmsuite,
00063         const axutil_env_t * env,
00064         axis2_char_t * symmetric_signature);
00065 
00066     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00067     rp_algorithmsuite_get_asymmetric_signature(
00068         rp_algorithmsuite_t * algorithmsuite,
00069         const axutil_env_t * env);
00070 
00071     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00072     rp_algorithmsuite_set_asymmetric_signature(
00073         rp_algorithmsuite_t * algorithmsuite,
00074         const axutil_env_t * env,
00075         axis2_char_t * asymmetric_signature);
00076 
00077     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00078     rp_algorithmsuite_get_computed_key(
00079         rp_algorithmsuite_t * algorithmsuite,
00080         const axutil_env_t * env);
00081 
00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00083     rp_algorithmsuite_set_computed_key(
00084         rp_algorithmsuite_t * algorithmsuite,
00085         const axutil_env_t * env,
00086         axis2_char_t * computed_key);
00087 
00088     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00089     rp_algorithmsuite_get_digest(
00090         rp_algorithmsuite_t * algorithmsuite,
00091         const axutil_env_t * env);
00092 
00093     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00094     rp_algorithmsuite_get_encryption(
00095         rp_algorithmsuite_t * algorithmsuite,
00096         const axutil_env_t * env);
00097 
00098     AXIS2_EXTERN int AXIS2_CALL
00099     rp_algorithmsuite_get_max_symmetric_keylength(
00100         rp_algorithmsuite_t * algorithmsuite,
00101         const axutil_env_t * env);
00102 
00103     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00104     rp_algorithmsuite_set_max_symmetric_keylength(
00105         rp_algorithmsuite_t * algorithmsuite,
00106         const axutil_env_t * env,
00107         int max_symmetric_keylength);
00108 
00109     AXIS2_EXTERN int AXIS2_CALL
00110     rp_algorithmsuite_get_min_symmetric_keylength(
00111         rp_algorithmsuite_t * algorithmsuite,
00112         const axutil_env_t * env);
00113 
00114     AXIS2_EXTERN int AXIS2_CALL
00115     rp_algorithmsuite_get_max_asymmetric_keylength(
00116         rp_algorithmsuite_t * algorithmsuite,
00117         const axutil_env_t * env);
00118 
00119     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00120     rp_algorithmsuite_set_max_asymmetric_keylength(
00121         rp_algorithmsuite_t * algorithmsuite,
00122         const axutil_env_t * env,
00123         int max_asymmetric_keylength);
00124 
00125     AXIS2_EXTERN int AXIS2_CALL
00126     rp_algorithmsuite_get_min_asymmetric_keylength(
00127         rp_algorithmsuite_t * algorithmsuite,
00128         const axutil_env_t * env);
00129 
00130     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00131     rp_algorithmsuite_set_min_asymmetric_keylength(
00132         rp_algorithmsuite_t * algorithmsuite,
00133         const axutil_env_t * env,
00134         int min_asymmetric_keylength);
00135 
00136     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00137     rp_algorithmsuite_get_symmetrickeywrap(
00138         rp_algorithmsuite_t * algorithmsuite,
00139         const axutil_env_t * env);
00140 
00141     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00142     rp_algorithmsuite_get_asymmetrickeywrap(
00143         rp_algorithmsuite_t * algorithmsuite,
00144         const axutil_env_t * env);
00145 
00146     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00147     rp_algorithmsuite_get_signature_key_derivation(
00148         rp_algorithmsuite_t * algorithmsuite,
00149         const axutil_env_t * env);
00150 
00151     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00152     rp_algorithmsuite_get_encryption_key_derivation(
00153         rp_algorithmsuite_t * algorithmsuite,
00154         const axutil_env_t * env);
00155 
00156     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00157     rp_algorithmsuite_get_soap_normalization(
00158         rp_algorithmsuite_t * algorithmsuite,
00159         const axutil_env_t * env);
00160 
00161     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00162     rp_algorithmsuite_set_soap_normalization(
00163         rp_algorithmsuite_t * algorithmsuite,
00164         const axutil_env_t * env,
00165         axis2_char_t * soap_normalization);
00166 
00167     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00168     rp_algorithmsuite_get_str_transformation(
00169         rp_algorithmsuite_t * algorithmsuite,
00170         const axutil_env_t * env);
00171 
00172     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00173     rp_algorithmsuite_set_str_transformation(
00174         rp_algorithmsuite_t * algorithmsuite,
00175         const axutil_env_t * env,
00176         axis2_char_t * str_transformation);
00177 
00178     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00179     rp_algorithmsuite_get_c14n(
00180         rp_algorithmsuite_t * algorithmsuite,
00181         const axutil_env_t * env);
00182 
00183     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00184     rp_algorithmsuite_set_c14n(
00185         rp_algorithmsuite_t * algorithmsuite,
00186         const axutil_env_t * env,
00187         axis2_char_t * c14n);
00188 
00189     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00190     rp_algorithmsuite_get_xpath(
00191         rp_algorithmsuite_t * algorithmsuite,
00192         const axutil_env_t * env);
00193 
00194     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00195     rp_algorithmsuite_set_xpath(
00196         rp_algorithmsuite_t * algorithmsuite,
00197         const axutil_env_t * env,
00198         axis2_char_t * xpath);
00199 
00200     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00201     rp_algorithmsuite_increment_ref(
00202         rp_algorithmsuite_t * algorithmsuite,
00203         const axutil_env_t * env);
00204 
00205     AXIS2_EXTERN int AXIS2_CALL
00206     rp_algorithmsuite_get_encryption_derivation_keylength(
00207         rp_algorithmsuite_t * algorithmsuite,
00208         const axutil_env_t * env);
00209 
00210     AXIS2_EXTERN int AXIS2_CALL
00211     rp_algorithmsuite_get_signature_derivation_keylength(
00212         rp_algorithmsuite_t * algorithmsuite,
00213         const axutil_env_t * env);
00214 
00215 #ifdef __cplusplus
00216 }
00217 #endif
00218 #endif

Generated on Fri Apr 17 11:49:43 2009 for Axis2/C by  doxygen 1.5.3