oxs_saml_token.h

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 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 

Generated on Wed May 13 10:52:52 2009 for Rampart/C by  doxygen 1.5.5