oxs_xml_key_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 #ifndef OXS_XML_KEY_PROCESSOR_H
00019 #define OXS_XML_KEY_PROCESSOR_H
00020 
00021 
00033 #include <axis2_defines.h>
00034 #include <oxs_ctx.h>
00035 #include <axutil_env.h>
00036 #include <axiom_node.h>
00037 #include <axiom_element.h>
00038 #include <axutil_qname.h>
00039 #include <oxs_x509_cert.h>
00040 
00041 #ifdef __cplusplus
00042 extern "C"
00043 {
00044 #endif
00045     /*Process a ds:X509SKI element and populate a certificate */
00046     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00047     oxs_xml_key_process_X509SKI(const axutil_env_t *env,
00048                                 axiom_node_t *X509SKI_node,
00049                                 oxs_x509_cert_t *cert);
00050 
00051     /*Process a ds:X509SubjectName element and populate a  certificate*/
00052     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00053     oxs_xml_key_process_X509SubjectName(const axutil_env_t *env,
00054                                         axiom_node_t *X509_subj_name_node,
00055                                         oxs_x509_cert_t *cert);
00056 
00057     /*Process a ds:X509IssuerSerial element and populate a certificate*/
00058     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00059     oxs_xml_key_process_X509IssuerSerial(const axutil_env_t *env,
00060                                          axiom_node_t *X509_issuer_serial_node,
00061                                          oxs_x509_cert_t *cert);
00062 
00063     /*Process data in a ds:X509Certificate and returns a certificate*/
00064     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00065     oxs_xml_key_process_X509Certificate(const axutil_env_t *env,
00066                                         axiom_node_t *X509_cert_node,
00067                                         oxs_x509_cert_t *cert);
00068 
00069     /*Higher level function ot process an ds:X509Data element*/
00070     AXIS2_EXTERN axis2_status_t AXIS2_CALL
00071     oxs_xml_key_process_X509Data(const axutil_env_t *env,
00072                                  axiom_node_t *X509_data_node,
00073                                  oxs_x509_cert_t *cert);
00074 
00075 
00077 #ifdef __cplusplus
00078 }
00079 #endif
00080 
00081 #endif                          /* OXS_XML_KEY_PROCESSOR_H */

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