Axis2/C: rp_supporting_tokens.h Source File

- Main Page
- Modules
- Classes
- Files
- Directories
- Related Pages
- Examples

- Search for |

# rp_supporting_tokens.h

    00001
    00002 /*
    00003  * Copyright 2004,2005 The Apache Software Foundation.
    00004  *
    00005  * Licensed under the Apache License, Version 2.0 (the "License");
    00006  * you may not use this file except in compliance with the License.
    00007  * 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 RP_SUPPORTING_TOKENS_H
    00019 #define RP_SUPPORTING_TOKENS_H
    00020
    00025 #include <rp_includes.h>
    00026 #include <rp_algorithmsuite.h>
    00027 #include <rp_signed_encrypted_parts.h>
    00028 #include <rp_signed_encrypted_elements.h>
    00029 #include <rp_property.h>
    00030
    00031 #ifdef __cplusplus
    00032 extern "C"
    00033 {
    00034 #endif
    00035
    00036     typedef struct rp_supporting_tokens_t rp_supporting_tokens_t;
    00037
    00038     AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
    00039     rp_supporting_tokens_create(
    00040         const axutil_env_t * env);
    00041
    00042     AXIS2_EXTERN void AXIS2_CALL
    00043     rp_supporting_tokens_free(
    00044         rp_supporting_tokens_t * supporting_tokens,
    00045         const axutil_env_t * env);
    00046
    00047     AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
    00048     rp_supporting_tokens_get_tokens(
    00049         rp_supporting_tokens_t * supporting_tokens,
    00050         const axutil_env_t * env);
    00051
    00052     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00053     rp_supporting_tokens_add_token(
    00054         rp_supporting_tokens_t * supporting_tokens,
    00055         const axutil_env_t * env,
    00056         rp_property_t * token);
    00057
    00058     AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
    00059     rp_supporting_tokens_get_algorithmsuite(
    00060         rp_supporting_tokens_t * supporting_tokens,
    00061         const axutil_env_t * env);
    00062
    00063     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00064     rp_supporting_tokens_set_algorithmsuite(
    00065         rp_supporting_tokens_t * supporting_tokens,
    00066         const axutil_env_t * env,
    00067         rp_algorithmsuite_t * algorithmsuite);
    00068
    00069     AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
    00070     rp_supporting_tokens_get_signed_parts(
    00071         rp_supporting_tokens_t * supporting_tokens,
    00072         const axutil_env_t * env);
    00073
    00074     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00075     rp_supporting_tokens_set_signed_parts(
    00076         rp_supporting_tokens_t * supporting_tokens,
    00077         const axutil_env_t * env,
    00078         rp_signed_encrypted_parts_t * signed_parts);
    00079
    00080     AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
    00081     rp_supporting_tokens_get_signed_elements(
    00082         rp_supporting_tokens_t * supporting_tokens,
    00083         const axutil_env_t * env);
    00084
    00085     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00086     rp_supporting_tokens_set_signed_elements(
    00087         rp_supporting_tokens_t * supporting_tokens,
    00088         const axutil_env_t * env,
    00089         rp_signed_encrypted_elements_t * signed_elements);
    00090
    00091     AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
    00092     rp_supporting_tokens_get_encrypted_parts(
    00093         rp_supporting_tokens_t * supporting_tokens,
    00094         const axutil_env_t * env);
    00095
    00096     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00097     rp_supporting_tokens_set_encrypted_parts(
    00098         rp_supporting_tokens_t * supporting_tokens,
    00099         const axutil_env_t * env,
    00100         rp_signed_encrypted_parts_t * encrypted_parts);
    00101
    00102     AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
    00103     rp_supporting_tokens_get_encrypted_elements(
    00104         rp_supporting_tokens_t * supporting_tokens,
    00105         const axutil_env_t * env);
    00106
    00107     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00108     rp_supporting_tokens_set_encrypted_elements(
    00109         rp_supporting_tokens_t * supporting_tokens,
    00110         const axutil_env_t * env,
    00111         rp_signed_encrypted_elements_t * encrypted_elements);
    00112
    00113     AXIS2_EXTERN int AXIS2_CALL
    00114     rp_supporting_tokens_get_type(
    00115         rp_supporting_tokens_t * supporting_tokens,
    00116         const axutil_env_t * env);
    00117
    00118     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00119     rp_supporting_tokens_set_type(
    00120         rp_supporting_tokens_t * supporting_tokens,
    00121         const axutil_env_t * env,
    00122         int type);
    00123
    00124     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00125     rp_supporting_tokens_increment_ref(
    00126         rp_supporting_tokens_t * supporting_tokens,
    00127         const axutil_env_t * env);
    00128
    00129 #ifdef __cplusplus
    00130 }
    00131 #endif
    00132 #endif