rp_supporting_tokens.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_SUPPORTING_TOKENS_H
00018 #define RP_SUPPORTING_TOKENS_H
00019 
00024 #include <rp_includes.h>
00025 #include <rp_algorithmsuite.h>
00026 #include <rp_signed_encrypted_parts.h>
00027 #include <rp_signed_encrypted_elements.h>
00028 #include <rp_property.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035     typedef struct rp_supporting_tokens_t rp_supporting_tokens_t;
00036 
00037     AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
00038     rp_supporting_tokens_create(const axutil_env_t *env);
00039 
00040     AXIS2_EXTERN void AXIS2_CALL
00041     rp_supporting_tokens_free(rp_supporting_tokens_t *supporting_tokens,
00042                               const axutil_env_t *env);
00043 
00044     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
00045     rp_supporting_tokens_get_tokens(
00046         rp_supporting_tokens_t *supporting_tokens,
00047         const axutil_env_t *env);
00048 
00049     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00050     rp_supporting_tokens_add_token(rp_supporting_tokens_t *supporting_tokens,
00051                                    const axutil_env_t *env,
00052                                    rp_property_t *token);
00053 
00054     AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
00055     rp_supporting_tokens_get_algorithmsuite(
00056         rp_supporting_tokens_t *supporting_tokens,
00057         const axutil_env_t *env);
00058 
00059     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00060     rp_supporting_tokens_set_algorithmsuite(rp_supporting_tokens_t *supporting_tokens,
00061                                             const axutil_env_t *env,
00062                                             rp_algorithmsuite_t *algorithmsuite);
00063 
00064     AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
00065     rp_supporting_tokens_get_signed_parts(
00066         rp_supporting_tokens_t *supporting_tokens,
00067         const axutil_env_t *env);
00068 
00069     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00070     rp_supporting_tokens_set_signed_parts(rp_supporting_tokens_t *supporting_tokens,
00071                                           const axutil_env_t *env,
00072                                           rp_signed_encrypted_parts_t *signed_parts);
00073 
00074     AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
00075     rp_supporting_tokens_get_signed_elements(
00076         rp_supporting_tokens_t *supporting_tokens,
00077         const axutil_env_t *env);
00078 
00079     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00080     rp_supporting_tokens_set_signed_elements(rp_supporting_tokens_t *supporting_tokens,
00081             const axutil_env_t *env,
00082             rp_signed_encrypted_elements_t *signed_elements);
00083 
00084     AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
00085     rp_supporting_tokens_get_encrypted_parts(
00086         rp_supporting_tokens_t *supporting_tokens,
00087         const axutil_env_t *env);
00088 
00089     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00090     rp_supporting_tokens_set_encrypted_parts(rp_supporting_tokens_t *supporting_tokens,
00091             const axutil_env_t *env,
00092             rp_signed_encrypted_parts_t *encrypted_parts);
00093 
00094     AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
00095     rp_supporting_tokens_get_encrypted_elements(
00096         rp_supporting_tokens_t *supporting_tokens,
00097         const axutil_env_t *env);
00098 
00099     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00100     rp_supporting_tokens_set_encrypted_elements(rp_supporting_tokens_t *supporting_tokens,
00101             const axutil_env_t *env,
00102             rp_signed_encrypted_elements_t *encrypted_elements);
00103 
00104     AXIS2_EXTERN int AXIS2_CALL
00105     rp_supporting_tokens_get_type(
00106         rp_supporting_tokens_t *supporting_tokens,
00107         const axutil_env_t *env);
00108 
00109     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00110     rp_supporting_tokens_set_type(rp_supporting_tokens_t *supporting_tokens,
00111                                   const axutil_env_t *env,
00112                                   int type);
00113 
00114     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00115     rp_supporting_tokens_increment_ref(rp_supporting_tokens_t *supporting_tokens,
00116                                        const axutil_env_t *env);
00117     
00118 
00119 
00120 #ifdef __cplusplus
00121 }
00122 #endif
00123 #endif

Generated on Wed Sep 26 09:49:21 2007 for Axis2/C by  doxygen 1.4.6