- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# rp_rampart_config.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_RAMPART_CONFIG_H
    00019 #define RP_RAMPART_CONFIG_H
    00020
    00026 #include <rp_includes.h>
    00027
    00028 #ifdef __cplusplus
    00029 extern "C"
    00030 {
    00031 #endif
    00032
    00033     typedef struct rp_rampart_config_t rp_rampart_config_t;
    00034
    00035     AXIS2_EXTERN rp_rampart_config_t *AXIS2_CALL
    00036     rp_rampart_config_create(
    00037         const axutil_env_t * env);
    00038
    00039     AXIS2_EXTERN void AXIS2_CALL
    00040     rp_rampart_config_free(
    00041         rp_rampart_config_t * rampart_config,
    00042         const axutil_env_t * env);
    00043
    00044     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00045     rp_rampart_config_get_user(
    00046         rp_rampart_config_t * rampart_config,
    00047         const axutil_env_t * env);
    00048
    00049     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00050     rp_rampart_config_set_user(
    00051         rp_rampart_config_t * rampart_config,
    00052         const axutil_env_t * env,
    00053         axis2_char_t * user);
    00054
    00055     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00056     rp_rampart_config_get_encryption_user(
    00057         rp_rampart_config_t * rampart_config,
    00058         const axutil_env_t * env);
    00059
    00060     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00061     rp_rampart_config_set_encryption_user(
    00062         rp_rampart_config_t * rampart_config,
    00063         const axutil_env_t * env,
    00064         axis2_char_t * encryption_user);
    00065
    00066     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00067     rp_rampart_config_get_password_callback_class(
    00068         rp_rampart_config_t * rampart_config,
    00069         const axutil_env_t * env);
    00070
    00071     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00072     rp_rampart_config_set_password_callback_class(
    00073         rp_rampart_config_t * rampart_config,
    00074         const axutil_env_t * env,
    00075         axis2_char_t * passwprd_callback_class);
    00076
    00077     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00078     rp_rampart_config_get_authenticate_module(
    00079         rp_rampart_config_t * rampart_config,
    00080         const axutil_env_t * env);
    00081
    00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00083     rp_rampart_config_set_authenticate_module(
    00084         rp_rampart_config_t * rampart_config,
    00085         const axutil_env_t * env,
    00086         axis2_char_t * authenticate_module);
    00087
    00088     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00089     rp_rampart_config_get_replay_detector(
    00090         rp_rampart_config_t * rampart_config,
    00091         const axutil_env_t * env);
    00092
    00093     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00094     rp_rampart_config_set_replay_detector(
    00095         rp_rampart_config_t * rampart_config,
    00096         const axutil_env_t * env,
    00097         axis2_char_t * replay_detector);
    00098
    00099     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00100     rp_rampart_config_get_sct_provider(
    00101         rp_rampart_config_t * rampart_config,
    00102         const axutil_env_t * env);
    00103
    00104     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00105     rp_rampart_config_set_sct_provider(
    00106         rp_rampart_config_t * rampart_config,
    00107         const axutil_env_t * env,
    00108         axis2_char_t * sct_module);
    00109
    00110     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00111     rp_rampart_config_get_password_type(
    00112         rp_rampart_config_t * rampart_config,
    00113         const axutil_env_t * env);
    00114
    00115     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00116     rp_rampart_config_set_password_type(
    00117         rp_rampart_config_t * rampart_config,
    00118         const axutil_env_t * env,
    00119         axis2_char_t * password_type);
    00120
    00121     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00122     rp_rampart_config_get_private_key_file(
    00123         rp_rampart_config_t * rampart_config,
    00124         const axutil_env_t * env);
    00125
    00126     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00127     rp_rampart_config_set_private_key_file(
    00128         rp_rampart_config_t * rampart_config,
    00129         const axutil_env_t * env,
    00130         axis2_char_t * private_key_file);
    00131
    00132     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00133     rp_rampart_config_get_receiver_certificate_file(
    00134         rp_rampart_config_t * rampart_config,
    00135         const axutil_env_t * env);
    00136
    00137     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00138     rp_rampart_config_set_receiver_certificate_file(
    00139         rp_rampart_config_t * rampart_config,
    00140         const axutil_env_t * env,
    00141         axis2_char_t * receiver_certificate_file);
    00142
    00143     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00144     rp_rampart_config_get_certificate_file(
    00145         rp_rampart_config_t * rampart_config,
    00146         const axutil_env_t * env);
    00147
    00148     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00149     rp_rampart_config_set_certificate_file(
    00150         rp_rampart_config_t * rampart_config,
    00151         const axutil_env_t * env,
    00152         axis2_char_t * certificate_file);
    00153
    00154     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00155     rp_rampart_config_get_time_to_live(
    00156         rp_rampart_config_t * rampart_config,
    00157         const axutil_env_t * env);
    00158
    00159     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00160     rp_rampart_config_set_time_to_live(
    00161         rp_rampart_config_t * rampart_config,
    00162         const axutil_env_t * env,
    00163         axis2_char_t * time_to_live);
    00164
    00165     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00166     rp_rampart_config_get_clock_skew_buffer(
    00167         rp_rampart_config_t * rampart_config,
    00168         const axutil_env_t * env);
    00169
    00170     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00171     rp_rampart_config_set_clock_skew_buffer(
    00172         rp_rampart_config_t * rampart_config,
    00173         const axutil_env_t * env,
    00174         axis2_char_t * clock_skew_buffer);
    00175
    00176     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00177     rp_rampart_config_get_need_millisecond_precision(
    00178         rp_rampart_config_t * rampart_config,
    00179         const axutil_env_t * env);
    00180
    00181     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00182     rp_rampart_config_set_need_millisecond_precision(
    00183         rp_rampart_config_t * rampart_config,
    00184         const axutil_env_t * env,
    00185         axis2_char_t * need_millisecond_precision);
    00186
    00187     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00188     rp_rampart_config_get_rd_val(
    00189         rp_rampart_config_t * rampart_config,
    00190         const axutil_env_t * env);
    00191
    00192     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00193     rp_rampart_config_set_rd_val(
    00194         rp_rampart_config_t * rampart_config,
    00195         const axutil_env_t * env,
    00196         axis2_char_t * rd_val);
    00197
    00198     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00199     rp_rampart_config_increment_ref(
    00200         rp_rampart_config_t * rampart_config,
    00201         const axutil_env_t * env);
    00202
    00203         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00204         rp_rampart_config_set_pkcs12_file(
    00205                 rp_rampart_config_t * rampart_config,
    00206                 const axutil_env_t *env,
    00207                 axis2_char_t * pkcs12_file);
    00208
    00209         AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00210         rp_rampart_config_get_pkcs12_file(
    00211                 rp_rampart_config_t * rampart_config,
    00212                 const axutil_env_t * env);
    00213
    00214 #ifdef __cplusplus
    00215 }
    00216 #endif
    00217 #endif