# rp_symmetric_asymmetric_binding_commons.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_ASSYMMETRIC_SYMMETRIC_BINDING_COMMONS_H
    00019 #define RP_ASSYMMETRIC_SYMMETRIC_BINDING_COMMONS_H
    00020
    00026 #include <rp_includes.h>
    00027 #include <rp_binding_commons.h>
    00028
    00029 #ifdef __cplusplus
    00030 extern "C"
    00031 {
    00032 #endif
    00033
    00034     typedef struct rp_symmetric_asymmetric_binding_commons_t
    00035                 rp_symmetric_asymmetric_binding_commons_t;
    00036
    00037     AXIS2_EXTERN rp_symmetric_asymmetric_binding_commons_t *AXIS2_CALL
    00038     rp_symmetric_asymmetric_binding_commons_create(
    00039         const axutil_env_t * env);
    00040
    00041     AXIS2_EXTERN void AXIS2_CALL
    00042     rp_symmetric_asymmetric_binding_commons_free(
    00043         rp_symmetric_asymmetric_binding_commons_t *
    00044         symmetric_asymmetric_binding_commons,
    00045         const axutil_env_t * env);
    00046
    00047     AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
    00048     rp_symmetric_asymmetric_binding_commons_get_binding_commons(
    00049         rp_symmetric_asymmetric_binding_commons_t *
    00050         symmetric_asymmetric_binding_commons,
    00051         const axutil_env_t * env);
    00052
    00053     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00054     rp_symmetric_asymmetric_binding_commons_set_binding_commons(
    00055         rp_symmetric_asymmetric_binding_commons_t *
    00056         symmetric_asymmetric_binding_commons,
    00057         const axutil_env_t * env,
    00058         rp_binding_commons_t * binding_commons);
    00059
    00060     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00061     rp_symmetric_asymmetric_binding_commons_get_signature_protection(
    00062         rp_symmetric_asymmetric_binding_commons_t *
    00063         symmetric_asymmetric_binding_commons,
    00064         const axutil_env_t * env);
    00065
    00066     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00067     rp_symmetric_asymmetric_binding_commons_set_signature_protection(
    00068         rp_symmetric_asymmetric_binding_commons_t *
    00069         symmetric_asymmetric_binding_commons,
    00070         const axutil_env_t * env,
    00071         axis2_bool_t signature_protection);
    00072
    00073     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00074     rp_symmetric_asymmetric_binding_commons_get_token_protection(
    00075         rp_symmetric_asymmetric_binding_commons_t *
    00076         symmetric_asymmetric_binding_commons,
    00077         const axutil_env_t * env);
    00078
    00079     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00080     rp_symmetric_asymmetric_binding_commons_set_token_protection(
    00081         rp_symmetric_asymmetric_binding_commons_t *
    00082         symmetric_asymmetric_binding_commons,
    00083         const axutil_env_t * env,
    00084         axis2_bool_t token_protection);
    00085
    00086     AXIS2_EXTERN axis2_bool_t AXIS2_CALL
    00087     rp_symmetric_asymmetric_binding_commons_get_entire_headers_and_body_signatures
    00088     (
    00089         rp_symmetric_asymmetric_binding_commons_t *
    00090         symmetric_asymmetric_binding_commons,
    00091         const axutil_env_t * env);
    00092
    00093     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00094     rp_symmetric_asymmetric_binding_commons_set_entire_headers_and_body_signatures
    00095     (
    00096         rp_symmetric_asymmetric_binding_commons_t *
    00097         symmetric_asymmetric_binding_commons,
    00098         const axutil_env_t * env,
    00099         axis2_bool_t entire_headers_and_body_signatures);
    00100
    00101     AXIS2_EXTERN axis2_char_t *AXIS2_CALL
    00102     rp_symmetric_asymmetric_binding_commons_get_protection_order(
    00103         rp_symmetric_asymmetric_binding_commons_t *
    00104         symmetric_asymmetric_binding_commons,
    00105         const axutil_env_t * env);
    00106
    00107     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00108     rp_symmetric_asymmetric_binding_commons_set_protection_order(
    00109         rp_symmetric_asymmetric_binding_commons_t *
    00110         symmetric_asymmetric_binding_commons,
    00111         const axutil_env_t * env,
    00112         axis2_char_t * protection_order);
    00113
    00114 #ifdef __cplusplus
    00115 }
    00116 #endif
    00117 #endif