You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by ma...@apache.org on 2007/04/23 18:57:21 UTC
svn commit: r531536 [1/2] -
/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/
Author: manjula
Date: Mon Apr 23 09:57:19 2007
New Revision: 531536
URL: http://svn.apache.org/viewvc?view=rev&rev=531536
Log:
Adding header files for secpolicy model.
Added:
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_assertion_builder.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_algorithmsuite.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_asymmetric_binding.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_binding_commons.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_builders.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_element.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_header.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_https_token.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_includes.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_layout.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_policy_creator.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_property.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_qname_matcher.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_rampart_config.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_secpolicy.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_security_context_token.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_elements.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_items.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_parts.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_asymmetric_binding_commons.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_binding.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_username_token.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_wss10.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_wss11.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_x509_token.h
Modified:
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_constants.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_engine.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens_builder.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding_builder.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_token_builder.h
webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_wss10_builder.h
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_assertion_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_assertion_builder.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_assertion_builder.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_assertion_builder.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,44 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef NEETHI_ASSERTION_BUILDER_H
+#define NEETHI_ASSERTION_BUILDER_H
+
+/** @defgroup neethi_assertion_builder
+ * @ingroup neethi_assertion_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <neethi_assertion.h>
+#include <rp_builders.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ AXIS2_EXTERN neethi_assertion_t *AXIS2_CALL
+ neethi_assertion_builder_build(
+ const axutil_env_t *env,
+ axiom_node_t *node,
+ axiom_element_t *element);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Modified: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_constants.h?view=diff&rev=531536&r1=531535&r2=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_constants.h (original)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_constants.h Mon Apr 23 09:57:19 2007
@@ -26,6 +26,10 @@
#define NEETHI_URI "URI"
#define NEETHI_NAMESPACE "http://schemas.xmlsoap.org/ws/2004/09/policy"
#define NEETHI_PREFIX "wsp"
+#define NEETHI_WSU_NS "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
+#define NEETHI_ID "Id"
+#define NEETHI_WSU_NS_PREFIX "wsu"
+#define NEETHI_NAME "Name"
/**
* @file neethi_constants.h
Modified: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_engine.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_engine.h?view=diff&rev=531536&r1=531535&r2=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_engine.h (original)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/neethi_engine.h Mon Apr 23 09:57:19 2007
@@ -47,8 +47,9 @@
AXIS2_EXTERN neethi_policy_t *AXIS2_CALL
neethi_engine_get_normalize(const axutil_env_t *env,
- neethi_policy_t *neethi_policy,
- axis2_bool_t deep);
+ axis2_bool_t deep,
+ neethi_policy_t *neethi_policy);
+
AXIS2_EXTERN neethi_policy_t *AXIS2_CALL
neethi_engine_normalize(const axutil_env_t *env,
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_algorithmsuite.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_algorithmsuite.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_algorithmsuite.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_algorithmsuite.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,175 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_ALGORITHMSUITE_H
+#define RP_ALGORITHMSUITE_H
+
+/** @defgroup rp_algoruthmsuite
+ * @ingroup rp_algorithmsuite
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_algorithmsuite_t rp_algorithmsuite_t;
+
+ AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
+ rp_algorithmsuite_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_free(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_algosuite_string(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_algosuite(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *algosuite_string);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_symmetric_signature(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_symmetric_signature(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *symmetric_signature);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_asymmetric_signature(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_asymmetric_signature(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *asymmetric_signature);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_computed_key(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_computed_key(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *computed_key);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_digest(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_encryption(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ rp_algorithmsuite_get_max_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_max_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ int max_symmetric_keylength);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ rp_algorithmsuite_get_min_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ rp_algorithmsuite_get_max_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_max_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ int max_asymmetric_keylength);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ rp_algorithmsuite_get_min_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_min_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ int min_asymmetric_keylength);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_symmetrickeywrap(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_asymmetrickeywrap(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_signature_key_derivation(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_encryption_key_derivation(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_soap_normalization(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_soap_normalization(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *soap_normalization);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_str_transformation(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_str_transformation(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *str_transformation);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_c14n(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_c14n(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *c14n);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_algorithmsuite_get_xpath(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_algorithmsuite_set_xpath(rp_algorithmsuite_t *algorithmsuite,
+ const axutil_env_t *env,
+ axis2_char_t *xpath);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_asymmetric_binding.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_asymmetric_binding.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_asymmetric_binding.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_asymmetric_binding.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,81 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_ASYMMETRIC_BINDING_H
+#define RP_ASYMMETRIC_BINDING_H
+
+/** @defgroup rp_asymmetric_binding
+ * @ingroup rp_asymmetric_binding
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_symmetric_asymmetric_binding_commons.h>
+#include <rp_property.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_asymmetric_binding_t rp_asymmetric_binding_t;
+
+ AXIS2_EXTERN rp_asymmetric_binding_t *AXIS2_CALL
+ rp_asymmetric_binding_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_asymmetric_binding_free(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN rp_symmetric_asymmetric_binding_commons_t *AXIS2_CALL
+ rp_asymmetric_binding_get_symmetric_asymmetric_binding_commons(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_asymmetric_binding_set_symmetric_asymmetric_binding_commons(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env,
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_asymmetric_binding_set_initiator_token(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env,
+ rp_property_t *initiator_token);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_asymmetric_binding_get_initiator_token(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_asymmetric_binding_set_recipient_token(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env,
+ rp_property_t *recipient_token);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_asymmetric_binding_get_recipient_token(
+ rp_asymmetric_binding_t *asymmetric_binding,
+ const axutil_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
+
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_binding_commons.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_binding_commons.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_binding_commons.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_binding_commons.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,121 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_BINDING_COMMONS_H
+#define RP_BINDING_COMMONS_H
+
+/** @defgroup rp_binding_commons
+ * @ingroup rp_binding_commons
+ * @{
+ */
+#include <rp_includes.h>
+#include <rp_algorithmsuite.h>
+#include <rp_layout.h>
+#include <rp_supporting_tokens.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_binding_commons_t rp_binding_commons_t;
+
+ AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
+ rp_binding_commons_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_free(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
+ rp_binding_commons_get_algorithmsuite(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_algorithmsuite(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ rp_algorithmsuite_t *algorithmsuite);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_binding_commons_get_include_timestamp(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_include_timestamp(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ axis2_bool_t include_timestamp);
+
+ AXIS2_EXTERN rp_layout_t *AXIS2_CALL
+ rp_binding_commons_get_layout(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_layout(rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ rp_layout_t *layout);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_binding_commons_get_signed_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_signed_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *signed_supporting_tokens);
+
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_binding_commons_get_signed_endorsing_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_signed_endorsing_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *signed_endorsing_supporting_tokens);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_binding_commons_get_endorsing_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_endorsing_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *endorsing_supporting_tokens);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_binding_commons_get_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_binding_commons_set_supporting_tokens(
+ rp_binding_commons_t *binding_commons,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *supporting_tokens);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_builders.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_builders.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_builders.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_builders.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,47 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_BUILDERS_H
+#define RP_BUILDERS_H
+
+#include <rp_algorithmsuite_builder.h>
+#include <rp_defines.h>
+#include <rp_layout_builder.h>
+#include <rp_supporting_tokens_builder.h>
+#include <rp_token_identifier.h>
+#include <rp_transport_binding_builder.h>
+#include <rp_transport_token_builder.h>
+#include <rp_username_token_builder.h>
+#include <rp_wss10_builder.h>
+#include <rp_qname_matcher.h>
+
+/**
+* @file rp_builders.h
+* @all the secpolicy builders
+*/
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ /** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*RP_BUILDERS_H*/
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_element.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_element.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_element.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_element.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_ELEMENT_H
+#define RP_ELEMENT_H
+
+/** @defgroup rp_element
+ * @ingroup rp_element
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_element_t rp_element_t;
+
+ AXIS2_EXTERN rp_element_t *AXIS2_CALL
+ rp_element_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_element_free(rp_element_t *element,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_element_get_name(rp_element_t *element,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_element_set_name(rp_element_t *element,
+ const axutil_env_t *env,
+ axis2_char_t *name);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_element_get_namespace(rp_element_t *element,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_element_set_namespace(rp_element_t *element,
+ const axutil_env_t *env,
+ axis2_char_t *namespace);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_header.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_header.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_header.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,62 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_HEADER_H
+#define RP_HEADER_H
+
+/** @defgroup rp_header
+ * @ingroup rp_header
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_header_t rp_header_t;
+
+ AXIS2_EXTERN rp_header_t *AXIS2_CALL
+ rp_header_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_header_free(rp_header_t *header,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_header_get_name(rp_header_t *header,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_header_set_name(rp_header_t *header,
+ const axutil_env_t *env,
+ axis2_char_t *name);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_header_get_namespace(rp_header_t *header,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_header_set_namespace(rp_header_t *header,
+ const axutil_env_t *env,
+ axis2_char_t *namespace);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_https_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_https_token.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_https_token.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_https_token.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,71 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_HTTPS_TOKEN_H
+#define RP_HTTPS_TOKEN_H
+
+/** @defgroup rp_https_token
+ * @ingroup rp_https_token
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_https_token_t rp_https_token_t;
+
+ AXIS2_EXTERN rp_https_token_t *AXIS2_CALL
+ rp_https_token_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_https_token_free(rp_https_token_t *https_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_https_token_get_inclusion(rp_https_token_t *https_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_https_token_set_inclusion(rp_https_token_t *https_token,
+ const axutil_env_t *env,
+ axis2_char_t *inclusion);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_https_token_get_derivedkeys(rp_https_token_t *https_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_https_token_set_derivedkeys(rp_https_token_t *https_token,
+ const axutil_env_t *env,
+ axis2_bool_t derivedkeys);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_https_token_get_require_client_certificate(rp_https_token_t *https_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_https_token_set_require_client_certificate(rp_https_token_t *https_token,
+ const axutil_env_t *env,
+ axis2_bool_t require_client_certificate);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_includes.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_includes.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_includes.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_includes.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,53 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_INCLUDES_H
+#define RP_INCLUDES_H
+
+#include <stdio.h>
+#include <axis2_util.h>
+#include <axutil_allocator.h>
+#include <axutil_string.h>
+#include <axutil_array_list.h>
+#include <axis2_const.h>
+#include <axutil_error.h>
+#include <axutil_utils_defines.h>
+#include <axutil_log_default.h>
+#include <axutil_error_default.h>
+#include <axutil_env.h>
+#include <axiom.h>
+#include <axiom_soap.h>
+#include <axutil_qname.h>
+#include <rp_defines.h>
+
+
+/**
+* @file rp_includes.h
+* @brief includes most useful headers for RP
+*/
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ /** @} */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /*RP_INCLUDES_H */
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_layout.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_layout.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_layout.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_layout.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,53 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_LAYOUT_H
+#define RP_LAYOUT_H
+
+/** @defgroup rp_layout
+ * @ingroup rp_layout
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_layout_t rp_layout_t;
+
+ AXIS2_EXTERN rp_layout_t *AXIS2_CALL
+ rp_layout_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_layout_free(rp_layout_t *layout,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_layout_get_value(rp_layout_t *layout,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_layout_set_value(rp_layout_t *layout,
+ const axutil_env_t *env,
+ axis2_char_t *value);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_policy_creator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_policy_creator.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_policy_creator.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_policy_creator.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_POLICY_CREATOR_H
+#define RP_POLICY_CREATOR_H
+
+/** @defgroup rp_policy_creator
+ * @ingroup rp_policy_creator
+ * @{
+ */
+
+#include <axiom.h>
+#include <axis2_util.h>
+#include <axutil_env.h>
+#include <axutil_log_default.h>
+#include <axutil_error_default.h>
+#include <stdio.h>
+#include <axiom_xml_reader.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
+ rp_policy_create_from_file(
+ const axutil_env_t *env,
+ axis2_char_t *filename);
+
+ AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
+ rp_policy_create_from_om_node(
+ const axutil_env_t *env,
+ axiom_node_t *root);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_property.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_property.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_property.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_property.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_PROPERTY_H
+#define RP_PROPERTY_H
+
+/** @defgroup rp_property
+ * @ingroup rp_property
+ * @{
+ */
+#include <rp_includes.h>
+#include <rp_username_token.h>
+#include <rp_x509_token.h>
+#include <rp_security_context_token.h>
+#include <rp_https_token.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_property_t rp_property_t;
+
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_property_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_property_free(
+ rp_property_t *property,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_property_set_value(
+ rp_property_t *property,
+ const axutil_env_t *env,
+ void *value,
+ int type);
+
+ AXIS2_EXTERN void *AXIS2_CALL
+ rp_property_get_value(
+ rp_property_t *property,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ rp_property_get_type(
+ rp_property_t *property,
+ const axutil_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_qname_matcher.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_qname_matcher.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_qname_matcher.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_qname_matcher.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,58 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_QNAME_MATCHER_H
+#define RP_QNAME_MATCHER_H
+
+/** @defgroup rp_qname_matcher
+ * @ingroup rp_qname_matcher
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_match_secpolicy_qname(
+ const axutil_env_t *env,
+ const axis2_char_t *local_name,
+ axiom_node_t *node,
+ axiom_element_t *element);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_match_policy_qname(
+ const axutil_env_t *env,
+ const axis2_char_t *local_name,
+ axiom_node_t *node,
+ axiom_element_t *element);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_match_rampart_config_qname(
+ const axutil_env_t *env,
+ const axis2_char_t *local_name,
+ axiom_node_t *node,
+ axiom_element_t *element);
+
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_rampart_config.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_rampart_config.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_rampart_config.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_rampart_config.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,134 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_RAMPART_CONFIG_H
+#define RP_RAMPART_CONFIG_H
+
+/** @defgroup rp_rampart_config
+ * @ingroup rp_rampart_config
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_rampart_config_t rp_rampart_config_t;
+
+ AXIS2_EXTERN rp_rampart_config_t *AXIS2_CALL
+ rp_rampart_config_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_free(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_user(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_user(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *user);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_encryption_user(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_encryption_user(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *encryption_user);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_password_callback_class(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_password_callback_class(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *passwprd_callback_class);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_authenticate_module(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_authenticate_module(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *authenticate_module);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_password_type(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_password_type(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *password_type);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_private_key_file(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_private_key_file(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *private_key_file);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_receiver_certificate_file(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_receiver_certificate_file(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *receiver_certificate_file);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_certificate_file(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_certificate_file(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *certificate_file);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_rampart_config_get_time_to_live(
+ rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_rampart_config_set_time_to_live(rp_rampart_config_t *rampart_config,
+ const axutil_env_t *env,
+ axis2_char_t *time_to_live);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_secpolicy.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_secpolicy.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_secpolicy.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_secpolicy.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,199 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SECPOLICY_H
+#define RP_SECPOLICY_H
+
+/** @defgroup rp_secpolicy
+ * @ingroup rp_secpolicy
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_asymmetric_binding.h>
+#include <rp_symmetric_binding.h>
+#include <rp_transport_binding.h>
+#include <rp_signed_encrypted_parts.h>
+#include <rp_signed_encrypted_elements.h>
+#include <rp_signed_encrypted_items.h>
+#include <rp_supporting_tokens.h>
+#include <rp_rampart_config.h>
+#include <rp_wss10.h>
+#include <rp_wss11.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_secpolicy_t rp_secpolicy_t;
+
+ AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
+ rp_secpolicy_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_free(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_binding(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_property_t *binding);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_secpolicy_get_binding(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *supporting_tokens);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_secpolicy_get_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_signed_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *signed_supporting_tokens);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_secpolicy_get_signed_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_endorsing_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *endorsing_supporting_tokens);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_secpolicy_get_endorsing_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_signed_endorsing_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_supporting_tokens_t *signed_endorsing_supporting_tokens);
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_secpolicy_get_signed_endorsing_supporting_tokens(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_signed_parts(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_signed_encrypted_parts_t *signed_parts);
+
+ AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+ rp_secpolicy_get_signed_parts(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_encrypted_parts(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_signed_encrypted_parts_t *encrypted_parts);
+
+ AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+ rp_secpolicy_get_encrypted_parts(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_signed_elements(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_signed_encrypted_elements_t *signed_elements);
+
+ AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
+ rp_secpolicy_get_signed_elements(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_encrypted_elements(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_signed_encrypted_elements_t *encrypted_elements);
+
+ AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
+ rp_secpolicy_get_encrypted_elements(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_signed_items(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_signed_encrypted_items_t *signed_items);
+
+ AXIS2_EXTERN rp_signed_encrypted_items_t *AXIS2_CALL
+ rp_secpolicy_get_signed_items(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_encrypted_items(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_signed_encrypted_items_t *encrypted_items);
+
+ AXIS2_EXTERN rp_signed_encrypted_items_t *AXIS2_CALL
+ rp_secpolicy_get_encrypted_items(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_wss(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_property_t *wss);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_secpolicy_get_wss(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_secpolicy_set_rampart_config(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env,
+ rp_rampart_config_t *rampart_config);
+
+ AXIS2_EXTERN rp_rampart_config_t *AXIS2_CALL
+ rp_secpolicy_get_rampart_config(
+ rp_secpolicy_t *secpolicy,
+ const axutil_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_security_context_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_security_context_token.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_security_context_token.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_security_context_token.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,89 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SECURITY_CONTEXT_TOKEN_H
+#define RP_SECURITY_CONTEXT_TOKEN_H
+
+/** @defgroup rp_security_context_token
+ * @ingroup rp_security_context_token
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_security_context_token_t rp_security_context_token_t;
+
+ AXIS2_EXTERN rp_security_context_token_t *AXIS2_CALL
+ rp_security_context_token_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_security_context_token_free(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_security_context_token_get_inclusion(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_security_context_token_set_inclusion(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env,
+ axis2_char_t *inclusion);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_security_context_token_get_derivedkeys(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_security_context_token_set_derivedkeys(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env,
+ axis2_bool_t derivedkeys);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_security_context_token_get_require_external_uri_ref(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_security_context_token_set_require_external_uri_ref(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env,
+ axis2_bool_t require_external_uri_ref);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_security_context_token_get_sc10_security_context_token(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_security_context_token_set_sc10_security_context_token(
+ rp_security_context_token_t *security_context_token,
+ const axutil_env_t *env,
+ axis2_bool_t sc10_security_context_token);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_elements.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_elements.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_elements.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_elements.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SIGNED_ENCRYPTED_ELEMENTS_H
+#define RP_SIGNED_ENCRYPTED_ELEMENTS_H
+
+/** @defgroup rp_signed_encrypted_elements
+ * @ingroup rp_signed_encrypted_elements
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_signed_encrypted_elements_t rp_signed_encrypted_elements_t;
+
+ AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
+ rp_signed_encrypted_elements_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_elements_free(rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_signed_encrypted_elements_get_signedelements(rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_elements_set_signedelements(rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env,
+ axis2_bool_t signedelements);
+
+ AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+ rp_signed_encrypted_elements_get_xpath_expressions(
+ rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_elements_add_expression(rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env,
+ axis2_char_t *expression);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_signed_encrypted_elements_get_xpath_version(rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_elements_set_xpath_version(rp_signed_encrypted_elements_t *signed_encrypted_elements,
+ const axutil_env_t *env,
+ axis2_char_t *xpath_version);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_items.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_items.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_items.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_items.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,67 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SIGNED_ENCRYPTED_ITEMS_H
+#define RP_SIGNED_ENCRYPTED_ITEMS_H
+
+/** @defgroup rp_signed_encrypted_items
+ * @ingroup rp_signed_encrypted_itemss
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_element.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_signed_encrypted_items_t rp_signed_encrypted_items_t;
+
+ AXIS2_EXTERN rp_signed_encrypted_items_t *AXIS2_CALL
+ rp_signed_encrypted_items_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_items_free(rp_signed_encrypted_items_t *signed_encrypted_items,
+ const axutil_env_t *env);
+
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_signed_encrypted_items_get_signeditems(rp_signed_encrypted_items_t *signed_encrypted_items,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_items_set_signeditems(rp_signed_encrypted_items_t *signed_encrypted_items,
+ const axutil_env_t *env,
+ axis2_bool_t signeditems);
+
+ AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+ rp_signed_encrypted_items_get_elements(
+ rp_signed_encrypted_items_t *signed_encrypted_items,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_items_add_element(
+ rp_signed_encrypted_items_t *signed_encrypted_items,
+ const axutil_env_t *env,
+ rp_element_t *element);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
+
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_parts.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_parts.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_parts.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_signed_encrypted_parts.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,75 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SIGNED_ENCRYPTED_PARTS_H
+#define RP_SIGNED_ENCRYPTED_PARTS_H
+
+/** @defgroup rp_signed_encrypted_parts
+ * @ingroup rp_signed_encrypted_parts
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_header.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_signed_encrypted_parts_t rp_signed_encrypted_parts_t;
+
+ AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+ rp_signed_encrypted_parts_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_parts_free(rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_signed_encrypted_parts_get_body(rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_parts_set_body(rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env,
+ axis2_bool_t body);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_signed_encrypted_parts_get_signedparts(rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_parts_set_signedparts(rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env,
+ axis2_bool_t signedparts);
+
+ AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+ rp_signed_encrypted_parts_get_headers(
+ rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_signed_encrypted_parts_add_header(
+ rp_signed_encrypted_parts_t *signed_encrypted_parts,
+ const axutil_env_t *env,
+ rp_header_t *header);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
+
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,118 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SUPPORTING_TOKENS_H
+#define RP_SUPPORTING_TOKENS_H
+
+/** @defgroup rp_supporting_tokens
+ * @ingroup rp_supporting_tokens
+ * @{
+ */
+#include <rp_includes.h>
+#include <rp_algorithmsuite.h>
+#include <rp_signed_encrypted_parts.h>
+#include <rp_signed_encrypted_elements.h>
+#include <rp_property.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_supporting_tokens_t rp_supporting_tokens_t;
+
+ AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+ rp_supporting_tokens_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_free(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axutil_array_list_t *AXIS2_CALL
+ rp_supporting_tokens_get_tokens(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_add_token(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ rp_property_t *token);
+
+ AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
+ rp_supporting_tokens_get_algorithmsuite(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_set_algorithmsuite(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ rp_algorithmsuite_t *algorithmsuite);
+
+ AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+ rp_supporting_tokens_get_signed_parts(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_set_signed_parts(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ rp_signed_encrypted_parts_t *signed_parts);
+
+ AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
+ rp_supporting_tokens_get_signed_elements(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_set_signed_elements(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ rp_signed_encrypted_elements_t *signed_elements);
+
+ AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+ rp_supporting_tokens_get_encrypted_parts(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_set_encrypted_parts(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ rp_signed_encrypted_parts_t *encrypted_parts);
+
+ AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
+ rp_supporting_tokens_get_encrypted_elements(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_set_encrypted_elements(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ rp_signed_encrypted_elements_t *encrypted_elements);
+
+ AXIS2_EXTERN int AXIS2_CALL
+ rp_supporting_tokens_get_type(
+ rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_supporting_tokens_set_type(rp_supporting_tokens_t *supporting_tokens,
+ const axutil_env_t *env,
+ int type);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Modified: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens_builder.h?view=diff&rev=531536&r1=531535&r2=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens_builder.h (original)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_supporting_tokens_builder.h Mon Apr 23 09:57:19 2007
@@ -37,7 +37,7 @@
#endif
AXIS2_EXTERN neethi_assertion_t *AXIS2_CALL
- supporting_tokens_builder_build(
+ rp_supporting_tokens_builder_build(
const axutil_env_t *env,
axiom_node_t *node,
axiom_element_t *element);
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_asymmetric_binding_commons.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_asymmetric_binding_commons.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_asymmetric_binding_commons.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_asymmetric_binding_commons.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,101 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_ASSYMMETRIC_SYMMETRIC_BINDING_COMMONS_H
+#define RP_ASSYMMETRIC_SYMMETRIC_BINDING_COMMONS_H
+
+/** @defgroup rp_assymmetric_symmetric_binding_commons
+ * @ingroup rp_assymmetric_symmetric_binding_commons
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_binding_commons.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_symmetric_asymmetric_binding_commons_t rp_symmetric_asymmetric_binding_commons_t;
+
+ AXIS2_EXTERN rp_symmetric_asymmetric_binding_commons_t *AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_free(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_get_binding_commons(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_set_binding_commons(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env,
+ rp_binding_commons_t *binding_commons);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_get_signature_protection(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_set_signature_protection(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env,
+ axis2_bool_t signature_protection);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_get_token_protection(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_set_token_protection(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env,
+ axis2_bool_t token_protection);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_get_entire_headers_and_body_signatures(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_set_entire_headers_and_body_signatures(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env,
+ axis2_bool_t entire_headers_and_body_signatures);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_get_protection_order(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_asymmetric_binding_commons_set_protection_order(
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons,
+ const axutil_env_t *env,
+ axis2_char_t *protection_order);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_binding.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_binding.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_binding.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_symmetric_binding.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,91 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_SYMMETRIC_BINDING_H
+#define RP_SYMMETRIC_BINDING_H
+
+/** @defgroup rp_symmetric_binding
+ * @ingroup rp_symmetric_binding
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_symmetric_asymmetric_binding_commons.h>
+#include <rp_property.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_symmetric_binding_t rp_symmetric_binding_t;
+
+ AXIS2_EXTERN rp_symmetric_binding_t *AXIS2_CALL
+ rp_symmetric_binding_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_binding_free(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN rp_symmetric_asymmetric_binding_commons_t *AXIS2_CALL
+ rp_symmetric_binding_get_symmetric_asymmetric_binding_commons(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_binding_set_symmetric_asymmetric_binding_commons(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env,
+ rp_symmetric_asymmetric_binding_commons_t *symmetric_asymmetric_binding_commons);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_binding_set_protection_token(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env,
+ rp_property_t *protection_token);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_symmetric_binding_get_protection_token(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_binding_set_encryption_token(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env,
+ rp_property_t *encryption_token);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_symmetric_binding_get_encryption_token(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_symmetric_binding_set_signature_token(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env,
+ rp_property_t *signature_token);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_symmetric_binding_get_signature_token(
+ rp_symmetric_binding_t *symmetric_binding,
+ const axutil_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,69 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_TRANSPORT_BINDING_H
+#define RP_TRANSPORT_BINDING_H
+
+/** @defgroup rp_transport_binding
+ * @ingroup rp_transport_binding
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_binding_commons.h>
+#include <rp_property.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_transport_binding_t rp_transport_binding_t;
+
+ AXIS2_EXTERN rp_transport_binding_t *AXIS2_CALL
+ rp_transport_binding_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_transport_binding_free(
+ rp_transport_binding_t *transport_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
+ rp_transport_binding_get_binding_commons(
+ rp_transport_binding_t *transport_binding,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_transport_binding_set_binding_commons(
+ rp_transport_binding_t *transport_binding,
+ const axutil_env_t *env,
+ rp_binding_commons_t *binding_commons);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_transport_binding_set_transport_token(
+ rp_transport_binding_t *transport_binding,
+ const axutil_env_t *env,
+ rp_property_t *transport_token);
+
+ AXIS2_EXTERN rp_property_t *AXIS2_CALL
+ rp_transport_binding_get_transport_token(
+ rp_transport_binding_t *transport_binding,
+ const axutil_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
Modified: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding_builder.h?view=diff&rev=531536&r1=531535&r2=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding_builder.h (original)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_binding_builder.h Mon Apr 23 09:57:19 2007
@@ -34,7 +34,7 @@
AXIS2_EXTERN neethi_assertion_t *AXIS2_CALL
- transport_binding_builder_build(
+ rp_transport_binding_builder_build(
const axutil_env_t *env,
axiom_node_t *node,
axiom_element_t *element);
Modified: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_token_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_token_builder.h?view=diff&rev=531536&r1=531535&r2=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_token_builder.h (original)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_transport_token_builder.h Mon Apr 23 09:57:19 2007
@@ -33,7 +33,7 @@
#endif
AXIS2_EXTERN neethi_assertion_t *AXIS2_CALL
- transport_token_builder_build(
+ rp_transport_token_builder_build(
const axutil_env_t *env,
axiom_node_t *node,
axiom_element_t *element);
Added: webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_username_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_username_token.h?view=auto&rev=531536
==============================================================================
--- webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_username_token.h (added)
+++ webservices/axis2/scratch/c/neethi/axis2c/neethi/include/rp_username_token.h Mon Apr 23 09:57:19 2007
@@ -0,0 +1,89 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef RP_USERNAME_TOKEN_H
+#define RP_USERNAME_TOKEN_H
+
+/** @defgroup rp_username_token
+ * @ingroup rp_username_token
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+ typedef struct rp_username_token_t rp_username_token_t;
+
+ AXIS2_EXTERN rp_username_token_t *AXIS2_CALL
+ rp_username_token_create(const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_username_token_free(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ rp_username_token_get_inclusion(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_username_token_set_inclusion(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env,
+ axis2_char_t *inclusion);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_username_token_get_derivedkeys(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_username_token_set_derivedkeys(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env,
+ axis2_bool_t derivedkeys);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_username_token_get_useUTprofile10(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_username_token_set_useUTprofile10(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env,
+ axis2_bool_t useUTprofile10);
+
+ AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+ rp_username_token_get_useUTprofile11(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ rp_username_token_set_useUTprofile11(
+ rp_username_token_t *username_token,
+ const axutil_env_t *env,
+ axis2_bool_t useUTprofile11);
+
+#ifdef __cplusplus
+}
+#endif
+#endif
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org