rp_algorithmsuite.h

00001 /*
00002  * Copyright 2004,2005 The Apache Software Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  *
00008  *      http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 
00017 #ifndef RP_ALGORITHMSUITE_H
00018 #define RP_ALGORITHMSUITE_H
00019 
00025 #include <rp_includes.h>
00026 
00027 #ifdef __cplusplus
00028 extern "C"
00029 {
00030 #endif
00031 
00032     typedef struct rp_algorithmsuite_t rp_algorithmsuite_t;
00033 
00034     AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
00035     rp_algorithmsuite_create(const axutil_env_t *env);
00036 
00037     AXIS2_EXTERN void AXIS2_CALL
00038     rp_algorithmsuite_free(rp_algorithmsuite_t *algorithmsuite,
00039                            const axutil_env_t *env);
00040 
00041     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00042     rp_algorithmsuite_get_algosuite_string(rp_algorithmsuite_t *algorithmsuite,
00043                                            const axutil_env_t *env);
00044 
00045     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00046     rp_algorithmsuite_set_algosuite(rp_algorithmsuite_t *algorithmsuite,
00047                                     const axutil_env_t *env,
00048                                     axis2_char_t *algosuite_string);
00049 
00050     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00051     rp_algorithmsuite_get_symmetric_signature(rp_algorithmsuite_t *algorithmsuite,
00052             const axutil_env_t *env);
00053 
00054     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00055     rp_algorithmsuite_set_symmetric_signature(rp_algorithmsuite_t *algorithmsuite,
00056             const axutil_env_t *env,
00057             axis2_char_t *symmetric_signature);
00058 
00059     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00060     rp_algorithmsuite_get_asymmetric_signature(rp_algorithmsuite_t *algorithmsuite,
00061             const axutil_env_t *env);
00062 
00063     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00064     rp_algorithmsuite_set_asymmetric_signature(rp_algorithmsuite_t *algorithmsuite,
00065             const axutil_env_t *env,
00066             axis2_char_t *asymmetric_signature);
00067 
00068     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00069     rp_algorithmsuite_get_computed_key(rp_algorithmsuite_t *algorithmsuite,
00070                                        const axutil_env_t *env);
00071 
00072     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073     rp_algorithmsuite_set_computed_key(rp_algorithmsuite_t *algorithmsuite,
00074                                        const axutil_env_t *env,
00075                                        axis2_char_t *computed_key);
00076 
00077     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00078     rp_algorithmsuite_get_digest(rp_algorithmsuite_t *algorithmsuite,
00079                                  const axutil_env_t *env);
00080 
00081     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00082     rp_algorithmsuite_get_encryption(rp_algorithmsuite_t *algorithmsuite,
00083                                      const axutil_env_t *env);
00084 
00085     AXIS2_EXTERN int AXIS2_CALL
00086     rp_algorithmsuite_get_max_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00087             const axutil_env_t *env);
00088 
00089     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00090     rp_algorithmsuite_set_max_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00091             const axutil_env_t *env,
00092             int max_symmetric_keylength);
00093 
00094     AXIS2_EXTERN int AXIS2_CALL
00095     rp_algorithmsuite_get_min_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00096             const axutil_env_t *env);
00097 
00098     AXIS2_EXTERN int AXIS2_CALL
00099     rp_algorithmsuite_get_max_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00100             const axutil_env_t *env);
00101 
00102     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00103     rp_algorithmsuite_set_max_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00104             const axutil_env_t *env,
00105             int max_asymmetric_keylength);
00106 
00107     AXIS2_EXTERN int AXIS2_CALL
00108     rp_algorithmsuite_get_min_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00109             const axutil_env_t *env);
00110 
00111     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00112     rp_algorithmsuite_set_min_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
00113             const axutil_env_t *env,
00114             int min_asymmetric_keylength);
00115 
00116     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00117     rp_algorithmsuite_get_symmetrickeywrap(rp_algorithmsuite_t *algorithmsuite,
00118                                            const axutil_env_t *env);
00119 
00120 
00121     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00122     rp_algorithmsuite_get_asymmetrickeywrap(rp_algorithmsuite_t *algorithmsuite,
00123                                             const axutil_env_t *env);
00124 
00125 
00126     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00127     rp_algorithmsuite_get_signature_key_derivation(rp_algorithmsuite_t *algorithmsuite,
00128             const axutil_env_t *env);
00129 
00130 
00131     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00132     rp_algorithmsuite_get_encryption_key_derivation(rp_algorithmsuite_t *algorithmsuite,
00133             const axutil_env_t *env);
00134 
00135 
00136     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00137     rp_algorithmsuite_get_soap_normalization(rp_algorithmsuite_t *algorithmsuite,
00138             const axutil_env_t *env);
00139 
00140     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00141     rp_algorithmsuite_set_soap_normalization(rp_algorithmsuite_t *algorithmsuite,
00142             const axutil_env_t *env,
00143             axis2_char_t *soap_normalization);
00144 
00145     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00146     rp_algorithmsuite_get_str_transformation(rp_algorithmsuite_t *algorithmsuite,
00147             const axutil_env_t *env);
00148 
00149     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00150     rp_algorithmsuite_set_str_transformation(rp_algorithmsuite_t *algorithmsuite,
00151             const axutil_env_t *env,
00152             axis2_char_t *str_transformation);
00153 
00154     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00155     rp_algorithmsuite_get_c14n(rp_algorithmsuite_t *algorithmsuite,
00156                                const axutil_env_t *env);
00157 
00158     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00159     rp_algorithmsuite_set_c14n(rp_algorithmsuite_t *algorithmsuite,
00160                                const axutil_env_t *env,
00161                                axis2_char_t *c14n);
00162 
00163     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00164     rp_algorithmsuite_get_xpath(rp_algorithmsuite_t *algorithmsuite,
00165                                 const axutil_env_t *env);
00166 
00167     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00168     rp_algorithmsuite_set_xpath(rp_algorithmsuite_t *algorithmsuite,
00169                                 const axutil_env_t *env,
00170                                 axis2_char_t *xpath);
00171 
00172     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00173     rp_algorithmsuite_increment_ref(rp_algorithmsuite_t *algorithmsuite,
00174                                     const axutil_env_t *env);
00175     
00176 
00177 #ifdef __cplusplus
00178 }
00179 #endif
00180 #endif

Generated on Wed Sep 26 09:49:21 2007 for Axis2/C by  doxygen 1.4.6