# trust_policy_util.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 TRUST_POLICY_UTIL_H
    00020 #define TRUST_POLICY_UTIL_H
    00021
    00022 #include <axutil_utils.h>
    00023 #include <rp_includes.h>
    00024 #include <rp_secpolicy.h>
    00025 #include <neethi_policy.h>
    00026 #include <rp_secpolicy_builder.h>
    00027
    00028 #ifdef  __cplusplus
    00029 extern "C"
    00030 {
    00031 #endif
    00032
    00033     AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
    00034     trust_policy_util_get_algorithmsuite(
    00035         const axutil_env_t * env,
    00036         neethi_policy_t * policy,
    00037                 rp_secpolicy_t **secpolicy);
    00038
    00039     AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
    00040     trust_policy_util_get_binding_commons(
    00041         const axutil_env_t * env,
    00042         rp_secpolicy_t * secpolicy);
    00043
    00044     AXIS2_EXTERN rp_trust10_t *AXIS2_CALL
    00045     trust_policy_util_get_trust10(
    00046         const axutil_env_t * env,
    00047         neethi_policy_t * policy,
    00048                 rp_secpolicy_t **secpolicy);
    00049
    00050 #ifdef  __cplusplus
    00051 }
    00052 #endif
    00053
    00054 #endif                          /* _TRUST_POLICY_UTIL_H */