00001 
00002 
00003 
00004 
00005 
00006 
00007 
00008 
00009 
00010 
00011 
00012 
00013 
00014 
00015 
00016 
00017 
00018 #ifndef OXS_SAML_TOKEN_H
00019 #define OXS_SAML_TOKEN_H
00020 
00021 #include <oxs_tokens.h>
00022 #include <oxs_axiom.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C"
00026 {
00027 #endif
00028 
00029 #define OXS_ST_KEY_ID_VALUE_TYPE    "http://docs.oasis-open.org/wss/oass-wss-saml-token-profile-1.0#SAMLAssertionID"
00030 
00031 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00032 oxs_saml_token_build_key_identifier_reference_local(const axutil_env_t *env, 
00033                                              axiom_node_t *parent, 
00034                                              axiom_node_t *assertion);
00035 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00036 oxs_saml_token_build_key_identifier_reference_remote(const axutil_env_t *env, 
00037                                              axiom_node_t *parent, 
00038                                              axiom_node_t *assertion, 
00039                                              axiom_node_t *auth_bind);
00040 
00041 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00042 oxs_saml_token_build_embeded_reference(const axutil_env_t *env, 
00043                                              axiom_node_t *parent, 
00044                                              axiom_node_t *assertion);
00045 
00046 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00047 oxs_saml_token_get_from_key_identifer_reference(const axutil_env_t *env, 
00048                                                     axiom_node_t *key_id,
00049                                                     axiom_node_t *scope);
00050 
00051 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00052 oxs_saml_token_get_from_embeded_reference(const axutil_env_t *env, 
00053                                                   axiom_node_t *embeded);
00054 
00055 
00056 #ifdef __cplusplus
00057 }
00058 #endif
00059 
00060 
00061 #endif 
00062