trust_claims.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 TRUST_CLAIMS_H
00019 #define TRUST_CLAIMS_H
00020 
00021 #include <axutil_utils.h>
00022 #include <axutil_array_list.h>
00023 #include <axiom.h>
00024 
00025 #include <trust_constants.h>
00026 #include <trust_util.h>
00027 
00028 #ifdef __cplusplus
00029 extern "C"
00030 {
00031 #endif
00032     
00033     typedef struct trust_claims trust_claims_t;
00034     
00035     AXIS2_EXTERN trust_claims_t * AXIS2_CALL
00036     trust_claims_create(
00037         const axutil_env_t *env);
00038     
00039     AXIS2_EXTERN  axis2_status_t AXIS2_CALL
00040     trust_claims_free(
00041         trust_claims_t *claims,
00042         const axutil_env_t *env);
00043     
00044     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00045     trust_claims_deserialize(
00046         trust_claims_t *claims,
00047         const axutil_env_t *env,
00048         axiom_node_t *claims_node);
00049     
00050     AXIS2_EXTERN axiom_node_t * AXIS2_CALL
00051     trust_claims_serialize(
00052         trust_claims_t *claims,
00053         const axutil_env_t *env,
00054         axiom_node_t *parent);
00055         
00056     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00057     trust_claims_set_attr_dialect(
00058         trust_claims_t *claims,
00059         const axutil_env_t *env,
00060         axis2_char_t *dialect_attr);
00061 
00062     AXIS2_EXTERN axis2_char_t * AXIS2_CALL
00063     trust_claims_get_attr_dialect(
00064         trust_claims_t *claims,
00065         const axutil_env_t *env);
00066 
00067     AXIS2_EXTERN axutil_array_list_t * AXIS2_CALL
00068     trust_claims_get_claim_list(
00069         trust_claims_t *claims,
00070         const axutil_env_t *env);
00071 
00072         AXIS2_EXTERN axis2_status_t AXIS2_CALL
00073     trust_claims_set_claim_list(
00074         trust_claims_t *claims,
00075                 axutil_array_list_t *claims_list,
00076         const axutil_env_t *env);
00077 
00078     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00079     trust_claims_set_wst_ns_uri(
00080         trust_claims_t *claims,
00081         const axutil_env_t *env,
00082         axis2_char_t *wst_ns_uri);
00083 
00084     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00085     trust_claims_get_wst_ns_uri(
00086         trust_claims_t *claims,
00087         const axutil_env_t *env);
00088         
00089             
00090     
00091 #ifdef __cplusplus
00092 }
00093 #endif
00094 
00095 #endif /*TRUST_CLAIMS_H*/

Generated on Wed Oct 14 01:02:16 2009 for Rampart/C by  doxygen 1.5.7.1