# neethi_options.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 NEETHI_OPTIONS_H
    00019 #define NEETHI_OPTIONS_H
    00020
    00021
    00027 #include <axis2_defines.h>
    00028 #include <axutil_env.h>
    00029 #include <neethi_includes.h>
    00030
    00031 #ifdef __cplusplus
    00032 extern "C"
    00033 {
    00034 #endif
    00035
    00036     typedef struct neethi_options_t neethi_options_t;
    00037
    00038     AXIS2_EXTERN neethi_options_t *AXIS2_CALL
    00039     neethi_options_create(const axutil_env_t *env);
    00040
    00041     AXIS2_EXTERN void AXIS2_CALL
    00042     neethi_options_free(
    00043         neethi_options_t *options,
    00044         const axutil_env_t *env);
    00045
    00046     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00047     neethi_options_get_binding(
    00048         neethi_options_t *options,
    00049         const axutil_env_t *env);
    00050
    00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00052     neethi_options_set_binding(
    00053         neethi_options_t *options,
    00054         const axutil_env_t *env,
    00055         axis2_char_t *binding);
    00056
    00057     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00058     neethi_options_get_include_timestamp(
    00059         neethi_options_t *options,
    00060         const axutil_env_t *env);
    00061
    00062     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00063     neethi_options_set_include_timestamp(
    00064         neethi_options_t *options,
    00065         const axutil_env_t *env,
    00066         axis2_bool_t include_timestamp);
    00067
    00068     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00069     neethi_options_get_is_username_token(
    00070         neethi_options_t *options,
    00071         const axutil_env_t *env);
    00072
    00073     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00074     neethi_options_set_is_username_token(
    00075         neethi_options_t *options,
    00076         const axutil_env_t *env,
    00077         axis2_bool_t is_username_token);
    00078
    00079     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00080     neethi_options_get_token_protection(
    00081         neethi_options_t *options,
    00082         const axutil_env_t *env);
    00083
    00084     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00085     neethi_options_set_token_protection(
    00086         neethi_options_t *options,
    00087         const axutil_env_t *env,
    00088         axis2_bool_t token_protection);
    00089
    00090     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00091     neethi_options_get_signature_protection(
    00092         neethi_options_t *options,
    00093         const axutil_env_t *env);
    00094
    00095     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00096     neethi_options_set_signature_protection(
    00097         neethi_options_t *options,
    00098         const axutil_env_t *env,
    00099         axis2_bool_t signature_protection);
    00100
    00101     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00102     neethi_options_get_encrypt_before_sign(
    00103         neethi_options_t *options,
    00104         const axutil_env_t *env);
    00105
    00106     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00107     neethi_options_set_encrypt_before_sign(
    00108         neethi_options_t *options,
    00109         const axutil_env_t *env,
    00110         axis2_bool_t encrypt_before_sign);
    00111
    00112     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00113     neethi_options_get_sign_body(
    00114         neethi_options_t *options,
    00115         const axutil_env_t *env);
    00116
    00117     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00118     neethi_options_set_sign_body(
    00119         neethi_options_t *options,
    00120         const axutil_env_t *env,
    00121         axis2_bool_t sign_body);
    00122
    00123     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00124     neethi_options_get_encrypt_body(
    00125         neethi_options_t *options,
    00126         const axutil_env_t *env);
    00127
    00128     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00129     neethi_options_set_encrypt_body(
    00130         neethi_options_t *options,
    00131         const axutil_env_t *env,
    00132         axis2_bool_t encrypt_body);
    00133
    00134     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00135     neethi_options_get_algorithmsuite(
    00136         neethi_options_t *options,
    00137         const axutil_env_t *env);
    00138
    00139     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00140     neethi_options_set_algorithmsuite(
    00141         neethi_options_t *options,
    00142         const axutil_env_t *env,
    00143         axis2_char_t *algorithmsuite);
    00144
    00145     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00146     neethi_options_get_keyidentifier(
    00147         neethi_options_t *options,
    00148         const axutil_env_t *env);
    00149
    00150     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00151     neethi_options_set_keyidentifier(
    00152         neethi_options_t *options,
    00153         const axutil_env_t *env,
    00154         axis2_char_t *keyidentifier);
    00155
    00156     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00157     neethi_options_get_root_node(
    00158         neethi_options_t *options,
    00159         const axutil_env_t *env);
    00160
    00161     AXIS2_EXTERN axiom_node_t *AXIS2_CALL
    00162     neethi_options_create_policy_node(
    00163         const axutil_env_t *env,
    00164         axiom_node_t *parent_node);
    00165
    00166     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00167     neethi_options_create_signed_parts_node(
    00168         neethi_options_t *options,
    00169         const axutil_env_t *env,
    00170         axiom_node_t *parent_node);
    00171
    00172     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00173     neethi_options_create_encrypted_parts_node(
    00174         neethi_options_t *options,
    00175         const axutil_env_t *env,
    00176         axiom_node_t *parent_node);
    00177
    00178         AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00179         neethi_options_create_asym_node(
    00180         neethi_options_t *options,
    00181         const axutil_env_t *env,
    00182         axiom_node_t *parent_node);
    00183
    00184     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00185         neethi_options_create_sym_node(
    00186         neethi_options_t *options,
    00187         const axutil_env_t *env,
    00188         axiom_node_t *parent_node);
    00189
    00190     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00191     neethi_options_get_server_side(
    00192         neethi_options_t *options,
    00193         const axutil_env_t *env);
    00194
    00195     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00196     neethi_options_set_server_side(
    00197         neethi_options_t *options,
    00198         const axutil_env_t *env,
    00199         axis2_bool_t server_side);
    00200
    00201
    00203 #ifdef __cplusplus
    00204 }
    00205 #endif
    00206
    00207 #endif                          /* NEETHI_OPTIONS_H */