00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
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
00037 typedef struct neethi_options_t neethi_options_t;
00038
00039 AXIS2_EXTERN neethi_options_t *AXIS2_CALL
00040 neethi_options_create(const axutil_env_t *env);
00041
00042 AXIS2_EXTERN void AXIS2_CALL
00043 neethi_options_free(
00044 neethi_options_t *options,
00045 const axutil_env_t *env);
00046
00047 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00048 neethi_options_get_include_timestamp(
00049 neethi_options_t *options,
00050 const axutil_env_t *env);
00051
00052 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00053 neethi_options_set_include_timestamp(
00054 neethi_options_t *options,
00055 const axutil_env_t *env,
00056 axis2_bool_t include_timestamp);
00057
00058 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00059 neethi_options_get_is_username_token(
00060 neethi_options_t *options,
00061 const axutil_env_t *env);
00062
00063 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00064 neethi_options_set_is_username_token(
00065 neethi_options_t *options,
00066 const axutil_env_t *env,
00067 axis2_bool_t is_username_token);
00068
00069 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00070 neethi_options_get_token_protection(
00071 neethi_options_t *options,
00072 const axutil_env_t *env);
00073
00074 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00075 neethi_options_set_token_protection(
00076 neethi_options_t *options,
00077 const axutil_env_t *env,
00078 axis2_bool_t token_protection);
00079
00080 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00081 neethi_options_get_signature_protection(
00082 neethi_options_t *options,
00083 const axutil_env_t *env);
00084
00085 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00086 neethi_options_set_signature_protection(
00087 neethi_options_t *options,
00088 const axutil_env_t *env,
00089 axis2_bool_t signature_protection);
00090
00091 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00092 neethi_options_get_encrypt_before_sign(
00093 neethi_options_t *options,
00094 const axutil_env_t *env);
00095
00096 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00097 neethi_options_set_encrypt_before_sign(
00098 neethi_options_t *options,
00099 const axutil_env_t *env,
00100 axis2_bool_t encrypt_before_sign);
00101
00102 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00103 neethi_options_get_sign_body(
00104 neethi_options_t *options,
00105 const axutil_env_t *env);
00106
00107 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00108 neethi_options_set_sign_body(
00109 neethi_options_t *options,
00110 const axutil_env_t *env,
00111 axis2_bool_t sign_body);
00112
00113 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00114 neethi_options_get_encrypt_body(
00115 neethi_options_t *options,
00116 const axutil_env_t *env);
00117
00118 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00119 neethi_options_set_encrypt_body(
00120 neethi_options_t *options,
00121 const axutil_env_t *env,
00122 axis2_bool_t encrypt_body);
00123
00124 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00125 neethi_options_get_algorithmsuite(
00126 neethi_options_t *options,
00127 const axutil_env_t *env);
00128
00129 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00130 neethi_options_set_algorithmsuite(
00131 neethi_options_t *options,
00132 const axutil_env_t *env,
00133 axis2_char_t *algorithmsuite);
00134
00135 AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00136 neethi_options_get_keyidentifier(
00137 neethi_options_t *options,
00138 const axutil_env_t *env);
00139
00140 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00141 neethi_options_set_keyidentifier(
00142 neethi_options_t *options,
00143 const axutil_env_t *env,
00144 axis2_char_t *keyidentifier);
00145
00146 AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00147 neethi_options_get_root_node(
00148 neethi_options_t *options,
00149 const axutil_env_t *env);
00150
00151 AXIS2_EXTERN axiom_node_t *AXIS2_CALL
00152 neethi_options_create_policy_node(
00153 const axutil_env_t *env,
00154 axiom_node_t *parent_node);
00155
00156 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00157 neethi_options_create_signed_parts_node(
00158 neethi_options_t *options,
00159 const axutil_env_t *env,
00160 axiom_node_t *parent_node);
00161
00162 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00163 neethi_options_create_encrypted_parts_node(
00164 neethi_options_t *options,
00165 const axutil_env_t *env,
00166 axiom_node_t *parent_node);
00167
00168 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00169 neethi_options_create_asym_node(
00170 neethi_options_t *options,
00171 const axutil_env_t *env,
00172 axiom_node_t *parent_node);
00173
00174 AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00175 neethi_options_get_server_side(
00176 neethi_options_t *options,
00177 const axutil_env_t *env);
00178
00179 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00180 neethi_options_set_server_side(
00181 neethi_options_t *options,
00182 const axutil_env_t *env,
00183 axis2_bool_t server_side);
00184
00185
00187 #ifdef __cplusplus
00188 }
00189 #endif
00190
00191 #endif