rampart_issued_token.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef RAMPART_ISSUED_TOKEN_H
00018 #define RAMPART_ISSUED_TOKEN_H
00019
00020 #include <rp_property.h>
00021 #include <rp_includes.h>
00022 #include <rp_secpolicy.h>
00023 #include <axutil_property.h>
00024 #include <axis2_key_type.h>
00025 #include <axis2_msg_ctx.h>
00026 #include <axutil_array_list.h>
00027 #include <axiom.h>
00028
00029 #ifdef __cplusplus
00030 extern "C"
00031 {
00032 #endif
00033
00034 typedef struct rampart_issued_token_t rampart_issued_token_t;
00035
00036 typedef rampart_issued_token_t *(AXIS2_CALL * issued_token_callback_func)(
00037 const axutil_env_t *env,
00038 rp_property_t *issued_token,
00039 void *ctx);
00048 AXIS2_EXTERN rampart_issued_token_t * AXIS2_CALL
00049 rampart_issued_token_create(
00050 const axutil_env_t *env);
00051
00060 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00061 rampart_issued_token_free(
00062 rampart_issued_token_t *token,
00063 const axutil_env_t *env);
00064
00075 AXIS2_EXTERN axis2_status_t AXIS2_CALL
00076 rampart_issued_token_set_token(
00077 rampart_issued_token_t *issued_token,
00078 const axutil_env_t *env, void *token,
00079 rp_property_type_t token_type);
00088 AXIS2_EXTERN rp_property_type_t AXIS2_CALL
00089 rampart_issued_token_get_token_type(
00090 rampart_issued_token_t *token,
00091 const axutil_env_t *env);
00092
00101 AXIS2_EXTERN void * AXIS2_CALL
00102 rampart_issued_token_get_token(
00103 rampart_issued_token_t *token,
00104 const axutil_env_t *env);
00105
00106 #ifdef __cplusplus
00107 }
00108 #endif
00109
00110 #endif
00111