# rp_saml_token.h

    00001 /*
    00002  * Copyright 2004,2005 The Apache Software Foundation.
    00003  *
    00004  * Licensed under the Apache License, Version 2.0 (the "License");
    00005  * you may not use this file except in compliance with the License.
    00006  * You may obtain a copy of the License at
    00007  *
    00008  *      http://www.apache.org/licenses/LICENSE-2.0
    00009  *
    00010  * Unless required by applicable law or agreed to in writing, software
    00011  * distributed under the License is distributed on an "AS IS" BASIS,
    00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    00013  * See the License for the specific language governing permissions and
    00014  * limitations under the License.
    00015  */
    00016
    00017 #ifndef RP_SAML_TOKEN_H
    00018 #define RP_SAML_TOKEN_H
    00019
    00020 #include <rp_includes.h>
    00021 #include <axutil_utils.h>
    00022 #include <neethi_operator.h>
    00023 #include <neethi_policy.h>
    00024 #include <neethi_exactlyone.h>
    00025 #include <neethi_all.h>
    00026 #include <neethi_engine.h>
    00027
    00028 #ifdef __cplusplus
    00029 extern "C"
    00030 {
    00031 #endif
    00032
    00033     typedef struct rp_saml_token rp_saml_token_t;
    00034
    00035     AXIS2_EXTERN rp_saml_token_t * AXIS2_CALL
    00036     rp_saml_token_create(
    00037         const axutil_env_t *env);
    00038
    00039     AXIS2_EXTERN void AXIS2_CALL
    00040     rp_saml_token_free(
    00041         rp_saml_token_t *saml_token,
    00042         const axutil_env_t *env);
    00043
    00044     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
    00045     rp_saml_token_get_inclusion(
    00046             rp_saml_token_t *saml_token,
    00047             const axutil_env_t *env);
    00048
    00049     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00050     rp_saml_token_set_inclusion(
    00051             rp_saml_token_t *saml_token,
    00052             const axutil_env_t *env,
    00053             axis2_char_t * inclusion);
    00054
    00055     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00056     rp_saml_token_get_derivedkeys(
    00057                     rp_saml_token_t *saml_token,
    00058                     const axutil_env_t *env);
    00059
    00060     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00061     rp_saml_token_set_derivedkeys(
    00062                     rp_saml_token_t *saml_token,
    00063                     const axutil_env_t *env,
    00064                     axis2_bool_t derivedkeys);
    00065
    00066     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00067     rp_saml_token_get_require_key_identifier_reference(
    00068         rp_saml_token_t * saml_token,
    00069         const axutil_env_t * env);
    00070
    00071     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00072     rp_saml_token_set_require_key_identifier_reference(
    00073         rp_saml_token_t * saml_token,
    00074         const axutil_env_t * env,
    00075         axis2_bool_t require_key_identifier_reference);
    00076
    00077     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00078     rp_saml_token_get_token_version_and_type(
    00079         rp_saml_token_t * saml_token,
    00080         const axutil_env_t * env);
    00081
    00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00083     rp_saml_token_set_token_version_and_type(
    00084         rp_saml_token_t * saml_token,
    00085         const axutil_env_t * env,
    00086         axis2_char_t * token_version_and_type);
    00087
    00088     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00089     rp_saml_token_increment_ref(
    00090         rp_saml_token_t * saml_token,
    00091         const axutil_env_t * env);
    00092
    00093
    00094 #ifdef __cplusplus
    00095 }
    00096 #endif
    00097 #endif