rampart_token_processor.h

Go to the documentation of this file.
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 #include <axis2_util.h>
00019 #include <axis2_defines.h>
00020 #include <axutil_utils_defines.h>
00021 #include <axutil_env.h>
00022 #include <axiom_node.h>
00023 #include <oxs_x509_cert.h>
00024 #include <rampart_context.h>
00025 
00037 #ifndef RAMPART_TOKEN_PROCESSOR_H
00038 #define RAMPART_TOKEN_PROCESSOR_H
00039 
00040 #ifdef __cplusplus
00041 extern "C" {
00042 #endif
00043 
00059     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00060     rampart_token_process_key_info(
00061         const axutil_env_t *env,
00062         axiom_node_t *key_info_node,
00063         axiom_node_t *sec_node,
00064         rampart_context_t* rampart_context,
00065         axis2_msg_ctx_t *msg_ctx,
00066         axis2_bool_t is_signature,
00067         oxs_x509_cert_t **cert,
00068         oxs_key_t **key,
00069         axis2_char_t **token_type,
00070         axis2_char_t **reference_method);
00071 
00072 #if 0 /* These methods are not used will be removed from next release*/
00073 
00082     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00083     rampart_token_process_security_token_reference(
00084         const axutil_env_t *env,
00085         axiom_node_t *st_ref_node,
00086         axiom_node_t *scope_node,
00087         oxs_x509_cert_t *cert);
00088 
00097     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00098     rampart_token_process_direct_ref(
00099         const axutil_env_t *env,
00100         axiom_node_t *ref_node,
00101         axiom_node_t *scope_node,
00102         oxs_x509_cert_t *cert);
00103 
00111     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00112     rampart_token_process_embedded(
00113         const axutil_env_t *env,
00114         axiom_node_t *embed_node,
00115         oxs_x509_cert_t *cert);
00116 
00124     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00125     rampart_token_process_key_identifier(
00126         const axutil_env_t *env,
00127         axiom_node_t *ki_node,
00128         oxs_x509_cert_t *cert);
00129 
00137     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00138     rampart_token_process_x509_data(
00139         const axutil_env_t *env,
00140         axiom_node_t *x509_data_node,
00141         oxs_x509_cert_t *cert);
00142 #endif
00143 
00144     /* @} */
00145 #ifdef __cplusplus
00146 }
00147 #endif
00148 
00149 #endif    /* !RAMPART_TOKEN_PROCESSOR_H */
00150 
00151 

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