rp_x509_token.h

00001 
00002 /*
00003  * Licensed to the Apache Software Foundation (ASF) under one or more
00004  * contributor license agreements.  See the NOTICE file distributed with
00005  * this work for additional information regarding copyright ownership.
00006  * The ASF licenses this file to You under the Apache License, Version 2.0
00007  * (the "License"); you may not use this file except in compliance with
00008  * the License.  You may obtain a copy of the License at
00009  *
00010  *      http://www.apache.org/licenses/LICENSE-2.0
00011  *
00012  * Unless required by applicable law or agreed to in writing, software
00013  * distributed under the License is distributed on an "AS IS" BASIS,
00014  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00015  * See the License for the specific language governing permissions and
00016  * limitations under the License.
00017  */
00018 
00019 #ifndef RP_X509_TOKEN_H
00020 #define RP_X509_TOKEN_H
00021 
00027 #include <rp_includes.h>
00028 #include <rp_token.h>
00029 
00030 #ifdef __cplusplus
00031 extern "C"
00032 {
00033 #endif
00034 
00035     typedef struct rp_x509_token_t rp_x509_token_t;
00036 
00037     AXIS2_EXTERN rp_x509_token_t *AXIS2_CALL
00038     rp_x509_token_create(
00039         const axutil_env_t * env);
00040 
00041     AXIS2_EXTERN void AXIS2_CALL
00042     rp_x509_token_free(
00043         rp_x509_token_t * x509_token,
00044         const axutil_env_t * env);
00045 
00046     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00047     rp_x509_token_get_inclusion(
00048         rp_x509_token_t * x509_token,
00049         const axutil_env_t * env);
00050 
00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00052     rp_x509_token_set_inclusion(
00053         rp_x509_token_t * x509_token,
00054         const axutil_env_t * env,
00055         axis2_char_t * inclusion);
00056 
00057     AXIS2_EXTERN derive_key_type_t AXIS2_CALL
00058     rp_x509_token_get_derivedkey(
00059         rp_x509_token_t * x509_token,
00060         const axutil_env_t * env);
00061 
00062     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00063     rp_x509_token_set_derivedkey(
00064         rp_x509_token_t * x509_token,
00065         const axutil_env_t * env,
00066         derive_key_type_t derivedkeys);
00067 
00068     AXIS2_EXTERN derive_key_version_t AXIS2_CALL
00069     rp_x509_token_get_derivedkey_version(
00070         rp_x509_token_t *x509_token,
00071         const axutil_env_t *env);
00072 
00073     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00074     rp_x509_token_set_derivedkey_version(
00075         rp_x509_token_t *x509_token,
00076         const axutil_env_t *env,
00077         derive_key_version_t version);
00078 
00079     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00080     rp_x509_token_get_require_key_identifier_reference(
00081         rp_x509_token_t * x509_token,
00082         const axutil_env_t * env);
00083 
00084     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00085     rp_x509_token_set_require_key_identifier_reference(
00086         rp_x509_token_t * x509_token,
00087         const axutil_env_t * env,
00088         axis2_bool_t require_key_identifier_reference);
00089 
00090     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00091     rp_x509_token_get_require_issuer_serial_reference(
00092         rp_x509_token_t * x509_token,
00093         const axutil_env_t * env);
00094 
00095     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00096     rp_x509_token_set_require_issuer_serial_reference(
00097         rp_x509_token_t * x509_token,
00098         const axutil_env_t * env,
00099         axis2_bool_t require_issuer_serial_reference);
00100 
00101     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00102     rp_x509_token_get_require_embedded_token_reference(
00103         rp_x509_token_t * x509_token,
00104         const axutil_env_t * env);
00105 
00106     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00107     rp_x509_token_set_require_embedded_token_reference(
00108         rp_x509_token_t * x509_token,
00109         const axutil_env_t * env,
00110         axis2_bool_t require_embedded_token_reference);
00111 
00112     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
00113     rp_x509_token_get_require_thumb_print_reference(
00114         rp_x509_token_t * x509_token,
00115         const axutil_env_t * env);
00116 
00117     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00118     rp_x509_token_set_require_thumb_print_reference(
00119         rp_x509_token_t * x509_token,
00120         const axutil_env_t * env,
00121         axis2_bool_t require_thumb_print_reference);
00122 
00123     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
00124     rp_x509_token_get_token_version_and_type(
00125         rp_x509_token_t * x509_token,
00126         const axutil_env_t * env);
00127 
00128     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00129     rp_x509_token_set_token_version_and_type(
00130         rp_x509_token_t * x509_token,
00131         const axutil_env_t * env,
00132         axis2_char_t * token_version_and_type);
00133 
00134     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00135     rp_x509_token_increment_ref(
00136         rp_x509_token_t * x509_token,
00137         const axutil_env_t * env);
00138 
00139 #ifdef __cplusplus
00140 }
00141 #endif
00142 #endif

Generated on Fri Apr 17 11:49:43 2009 for Axis2/C by  doxygen 1.5.3