# rp_symmetric_binding.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_SYMMETRIC_BINDING_H
    00019 #define RP_SYMMETRIC_BINDING_H
    00020
    00026 #include <rp_includes.h>
    00027 #include <rp_symmetric_asymmetric_binding_commons.h>
    00028 #include <rp_property.h>
    00029
    00030 #ifdef __cplusplus
    00031 extern "C"
    00032 {
    00033 #endif
    00034
    00035     typedef struct rp_symmetric_binding_t rp_symmetric_binding_t;
    00036
    00037     AXIS2_EXTERN rp_symmetric_binding_t *AXIS2_CALL
    00038     rp_symmetric_binding_create(
    00039         const axutil_env_t * env);
    00040
    00041     AXIS2_EXTERN void AXIS2_CALL
    00042     rp_symmetric_binding_free(
    00043         rp_symmetric_binding_t * symmetric_binding,
    00044         const axutil_env_t * env);
    00045
    00046     AXIS2_EXTERN rp_symmetric_asymmetric_binding_commons_t *AXIS2_CALL
    00047     rp_symmetric_binding_get_symmetric_asymmetric_binding_commons(
    00048         rp_symmetric_binding_t * symmetric_binding,
    00049         const axutil_env_t * env);
    00050
    00051     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00052     rp_symmetric_binding_set_symmetric_asymmetric_binding_commons(
    00053         rp_symmetric_binding_t * symmetric_binding,
    00054         const axutil_env_t * env,
    00055         rp_symmetric_asymmetric_binding_commons_t *
    00056         symmetric_asymmetric_binding_commons);
    00057
    00058     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00059     rp_symmetric_binding_set_protection_token(
    00060         rp_symmetric_binding_t * symmetric_binding,
    00061         const axutil_env_t * env,
    00062         rp_property_t * protection_token);
    00063
    00064     AXIS2_EXTERN rp_property_t *AXIS2_CALL
    00065     rp_symmetric_binding_get_protection_token(
    00066         rp_symmetric_binding_t * symmetric_binding,
    00067         const axutil_env_t * env);
    00068
    00069     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00070     rp_symmetric_binding_set_encryption_token(
    00071         rp_symmetric_binding_t * symmetric_binding,
    00072         const axutil_env_t * env,
    00073         rp_property_t * encryption_token);
    00074
    00075     AXIS2_EXTERN rp_property_t *AXIS2_CALL
    00076     rp_symmetric_binding_get_encryption_token(
    00077         rp_symmetric_binding_t * symmetric_binding,
    00078         const axutil_env_t * env);
    00079
    00080     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00081     rp_symmetric_binding_set_signature_token(
    00082         rp_symmetric_binding_t * symmetric_binding,
    00083         const axutil_env_t * env,
    00084         rp_property_t * signature_token);
    00085
    00086     AXIS2_EXTERN rp_property_t *AXIS2_CALL
    00087     rp_symmetric_binding_get_signature_token(
    00088         rp_symmetric_binding_t * symmetric_binding,
    00089         const axutil_env_t * env);
    00090
    00091     AXIS2_EXTERN axis2_status_t AXIS2_CALL
    00092     rp_symmetric_binding_increment_ref(
    00093         rp_symmetric_binding_t * symmetric_binding,
    00094         const axutil_env_t * env);
    00095
    00096 #ifdef __cplusplus
    00097 }
    00098 #endif
    00099 #endif