oxs_saml_token.h
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
00030 #define OXS_ST_KEY_ID_VALUE_TYPE "http://docs.oasis-open.org/wss/oass-wss-saml-token-profile-1.0#SAMLAssertionID"
00031
00032 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00033 oxs_saml_token_build_key_identifier_reference_local(const axutil_env_t *env,
00034 axiom_node_t *parent,
00035 axiom_node_t *assertion);
00036 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00037 oxs_saml_token_build_key_identifier_reference_remote(const axutil_env_t *env,
00038 axiom_node_t *parent,
00039 axiom_node_t *assertion,
00040 axiom_node_t *auth_bind);
00041
00042 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00043 oxs_saml_token_build_embeded_reference(const axutil_env_t *env,
00044 axiom_node_t *parent,
00045 axiom_node_t *assertion);
00046
00047 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00048 oxs_saml_token_get_from_key_identifer_reference(const axutil_env_t *env,
00049 axiom_node_t *key_id,
00050 axiom_node_t *scope);
00051
00052 AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00053 oxs_saml_token_get_from_embeded_reference(const axutil_env_t *env,
00054 axiom_node_t *embeded);
00055
00056
00057 #ifdef __cplusplus
00058 }
00059 #endif
00060
00061
00062 #endif
00063