axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kausha...@apache.org
Subject svn commit: r498596 [1/7] - in /webservices/axis2/trunk/c/rampart: ./ include/ src/ src/secpolicy/ src/secpolicy/builder/ src/secpolicy/model/ src/secpolicy/test-resources/
Date Mon, 22 Jan 2007 12:38:03 GMT
Author: kaushalye
Date: Mon Jan 22 04:37:57 2007
New Revision: 498596

URL: http://svn.apache.org/viewvc?view=rev&rev=498596
Log:
Adding security policy to rampart-C.
Thanks Manjula for the effort.


Added:
    webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_binding_commons.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_binding_commons_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_defines.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_header.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_https_token.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_https_token_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_includes.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_layout.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_layout_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_policy_creator.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_property.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_qname_matcher.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_rampart_config.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_rampart_config_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_secpolicy.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_secpolicy_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_security_context_token.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_security_context_token_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_signature_crypto.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_signature_crypto_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_elements.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_elements_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_symmetric_asymmetric_binding_commons.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_symmetric_asymmetric_commons_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_symmetric_binding.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_symmetric_binding_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_token_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_transport_binding.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_transport_binding_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_username_token.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_username_token_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_wss10.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_wss10_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_wss11.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_wss11_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_x509_token.h   (with props)
    webservices/axis2/trunk/c/rampart/include/rp_x509_token_builder.h   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/
    webservices/axis2/trunk/c/rampart/src/secpolicy/Makefile.am   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/Makefile.am   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/asymmetric_binding_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/binding_commons_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/encryption_crypto_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/https_token_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/layout_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/policy_creator.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/qname_matcher.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/rampart_config_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/secpolicy_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/security_context_token_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/signature_crypto_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/signed_encrypted_elements_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/signed_encrypted_parts_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/supporting_tokens_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_asymmetric_commons_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/symmetric_binding_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/token_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/transport_binding_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/username_token_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss10_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/wss11_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/builder/x509_token_builder.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/Makefile.am   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/algorithmsuite.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/asymmetric_binding.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/binding_commons.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/encryption_crypto.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/header.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/https_token.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/layout.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/property.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/rampart_config.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/secpolicy.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/security_context_token.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/signature_crypto.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/signed_encrypted_elements.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/signed_encrypted_parts.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/supporting_tokens.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/symmetric_asymmetric_binding_commons.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/symmetric_binding.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/transport_binding.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/ut.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/wss10.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/wss11.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/model/x509_token.c   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/1.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/2.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/3.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/4.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/5.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/6.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/7.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/8.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/9.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/policy-asymm-binding.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/policy-symm-binding.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/policy-transport-binding.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/sc-1.xml   (with props)
    webservices/axis2/trunk/c/rampart/src/secpolicy/test-resources/sc-2.xml   (with props)
Modified:
    webservices/axis2/trunk/c/rampart/configure.ac
    webservices/axis2/trunk/c/rampart/src/Makefile.am

Modified: webservices/axis2/trunk/c/rampart/configure.ac
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/configure.ac?view=diff&rev=498596&r1=498595&r2=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/configure.ac (original)
+++ webservices/axis2/trunk/c/rampart/configure.ac Mon Jan 22 04:37:57 2007
@@ -77,6 +77,9 @@
     src/omxmlsec/Makefile \
     src/omxmlsec/tokens/Makefile \
     src/omxmlsec/openssl/Makefile \
+    src/secpolicy/Makefile
+    src/secpolicy/model/Makefile
+    src/secpolicy/builder/Makefile
     src/data/Makefile \
     src/handlers/Makefile \
     src/core/Makefile \

Added: webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_free(rp_algorithmsuite_t *algorithmsuite,
+                        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_algosuite_string(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_algosuite(rp_algorithmsuite_t *algorithmsuite,
+                             const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_symmetric_signature(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_asymmetric_signature(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_computed_key(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            axis2_char_t *computed_key);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_digest(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_encryption(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    rp_algorithmsuite_get_max_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_max_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            int max_symmetric_keylength);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    rp_algorithmsuite_get_min_symmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    rp_algorithmsuite_get_max_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_max_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            int max_asymmetric_keylength);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    rp_algorithmsuite_get_min_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_min_asymmetric_keylength(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            int min_asymmetric_keylength);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_symmetrickeywrap(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_asymmetrickeywrap(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_signature_key_derivation(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_encryption_key_derivation(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_soap_normalization(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_soap_normalization(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_str_transformation(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            axis2_char_t *str_transformation);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_c14n(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_c14n(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            axis2_char_t *c14n);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_algorithmsuite_get_xpath(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_algorithmsuite_set_xpath(rp_algorithmsuite_t *algorithmsuite,
+                            const axis2_env_t *env,
+                            axis2_char_t *xpath);
+        
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite_builder.h Mon Jan 22 04:37:57 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 RP_ALGORITHMSUITE_BUILDER_H
+#define RP_ALGORITHMSUITE_BUILDER_H
+
+/** @defgroup rp_algorithmsuite_builder
+ * @ingroup rp_algorithmsuite_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_layout.h>
+#include <rp_algorithmsuite.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
+    rp_algorithmsuite_builder_build(
+                const axis2_env_t *env,
+                axiom_node_t *algorithmsuite);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_algorithmsuite_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_asymmetric_binding_free(
+        rp_asymmetric_binding_t *asymmetric_binding,
+        const axis2_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 axis2_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 axis2_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 axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_asymmetric_binding_set_recipient_token(
+        rp_asymmetric_binding_t *asymmetric_binding,
+        const axis2_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 axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  
+

Propchange: webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding_builder.h Mon Jan 22 04:37:57 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_ASYMMETRIC_BINDING_BUILDER_H
+#define RP_ASYMMETRIC_BINDING_BUILDER_H
+
+/** @defgroup rp_asymmetric_binding_builder
+ * @ingroup rp_asymmetric_binding_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_asymmetric_binding.h>
+#include <rp_symmetric_asymmetric_commons_builder.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_asymmetric_binding_t *AXIS2_CALL
+    rp_asymmetric_binding_builder_build(
+            const axis2_env_t *env, 
+            axiom_node_t *asymmetric);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_asymmetric_binding_builder_set_token_type(
+            const axis2_env_t *env,
+            rp_asymmetric_binding_t *asymmetric_binding,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_asymmetric_binding_builder_istoken(
+            const axis2_env_t *env,
+            axis2_char_t *local_name);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_asymmetric_binding_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_binding_commons.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_binding_commons.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_binding_commons.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_binding_commons.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_free(rp_binding_commons_t *binding_commons,
+                                    const axis2_env_t *env);
+
+    AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
+    rp_binding_commons_get_algorithmsuite(rp_binding_commons_t *binding_commons,
+                                    const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_set_algorithmsuite(rp_binding_commons_t *binding_commons,
+                                    const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_set_include_timestamp(rp_binding_commons_t *binding_commons,
+                                    const axis2_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 axis2_env_t *env);
+
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_set_layout(rp_binding_commons_t *binding_commons,
+                                    const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_set_signed_supporting_tokens(
+                    rp_binding_commons_t *binding_commons,
+                    const axis2_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 axis2_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 axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_set_endorsing_supporting_tokens(
+                rp_binding_commons_t *binding_commons,
+                const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_set_supporting_tokens(
+                rp_binding_commons_t *binding_commons,
+                const axis2_env_t *env,
+                rp_supporting_tokens_t *supporting_tokens);
+ 
+    
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_binding_commons.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_binding_commons_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_binding_commons_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_binding_commons_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_binding_commons_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,49 @@
+/*
+ * 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_BUILDER_H
+#define RP_BINDING_COMMONS_BUILDER_H
+
+/** @defgroup rp_binding_commons_builder
+ * @ingroup rp_binding_commons_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_layout.h>
+#include <rp_algorithmsuite.h>
+#include <rp_algorithmsuite_builder.h>
+#include <rp_layout_builder.h>
+#include <rp_binding_commons.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_binding_commons_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_binding_commons_t *commons);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_binding_commons_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_defines.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_defines.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_defines.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_defines.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,202 @@
+/*
+ * 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_DEFINES_H
+#define RP_DEFINES_H
+
+/** @defgroup rp_defines
+ * @ingroup rp_defines
+ * @{
+ */
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    
+    #define RP_TOKEN_USERNAME 1
+    #define RP_TOKEN_X509 2
+    #define RP_TOKEN_SECURITY_CONTEXT 3
+    #define RP_TOKEN_HTTPS 4
+
+    #define RP_BINDING_SYMMETRIC 5
+    #define RP_BINDING_ASYMMETRIC 6
+    #define RP_BINDING_TRANSPORT 7
+    
+    #define RP_SUPPORTING_SIGNED_SUPPORTING 8
+    #define RP_SUPPORTING_SIGNED_ENDORSING_SUPPORTING 9
+    #define RP_SUPPORTING_SUPPORTING 10
+    #define RP_SUPPORTING_ENDORSING_SUPPORTING 11
+    
+    #define RP_WSS_WSS10 12
+    #define RP_WSS_WSS11 13
+
+    #define RP_SUPPORTING_TOKEN 14
+
+    #define RP_SYMMETRIC_BINDING "SymmetricBinding"
+    #define RP_ASYMMETRIC_BINDING "AsymmetricBinding"
+    #define RP_TRANSPORT_BINDING "TransportBinding"
+
+    #define RP_SIGNED_SUPPORTING_TOKENS "SignedSupportingTokens"
+    #define RP_SIGNED_ENDORSING_SUPPORTING_TOKENS "SignedEndorsingSupportingTokens"
+    #define RP_SUPPORTING_TOKENS "SupportingTokens"
+    #define RP_ENDORSING_SUPPORTING_TOKENS "EndorsingSupportingTokens"
+
+    #define RP_SIGNED_PARTS "SignedParts"
+    #define RP_SIGNED_ELEMENTS "SignedElements"
+    #define RP_ENCRYPTED_PARTS "EncryptedParts"
+    #define RP_ENCRYPTED_ELEMENTS "EncryptedElements"
+
+    #define RP_BODY "Body"
+    #define RP_HEADER "Header"
+    #define RP_NAME "Name"
+    #define RP_NAMESPACE "Namespace"
+
+    #define RP_XPATH "XPath"
+    #define RP_XPATH_VERSION "XPathVersion"
+    
+    #define RP_WSS10 "Wss10"
+    #define RP_WSS11 "Wss11"
+
+    #define RP_MUST_SUPPORT_REF_KEY_IDENTIFIER "MustSupportRefKeyIdentifier"
+    #define RP_MUST_SUPPORT_REF_ISSUER_SERIAL "MustSupportRefIssuerSerial"
+    #define RP_MUST_SUPPORT_REF_EXTERNAL_URI "MustSupportRefExternalURI"
+    #define RP_MUST_SUPPORT_REF_EMBEDDED_TOKEN "MustSupportRefEmbeddedToken"
+    #define RP_MUST_SUPPORT_REF_THUMBPRINT "MustSupportRefThumbprint"
+    #define RP_MUST_SUPPORT_REF_ENCRYPTED_KEY "MustSupportRefEncryptedkey"
+    #define RP_REQUIRE_SIGNATURE_CONFIRMATION "RequireSignatureConfirmation"
+
+    #define RP_PROTECTION_TOKEN "ProtectionToken"
+    #define RP_ENCRYPTION_TOKEN "EncryptionToken"
+    #define RP_SIGNATURE_TOKEN "SignatureToken"
+    #define RP_INITIATOR_TOKEN "InitiatorToken"
+    #define RP_RECIPIENT_TOKEN "RecipientToken"
+    #define RP_TRANSPORT_TOKEN "TransportToken"
+    
+    #define RP_ALGORITHM_SUITE "AlgorithmSuite"
+    #define RP_LAYOUT "Layout"
+    #define RP_INCLUDE_TIMESTAMP "IncludeTimestamp"
+    #define RP_ENCRYPT_BEFORE_SIGNING "EncryptBeforeSigning"
+    #define RP_SIGN_BEFORE_ENCRYPTING "SignBeforeEncrypting"
+    #define RP_ENCRYPT_SIGNATURE "EncryptSignature"
+    #define RP_PROTECT_TOKENS "ProtectTokens"
+    #define RP_ONLY_SIGN_ENTIRE_HEADERS_AND_BODY "OnlySignEntireHeadersAndBody"
+
+    #define RP_ALGO_SUITE_BASIC256 "Basic256"
+    #define RP_ALGO_SUITE_BASIC192 "Basic192"
+    #define RP_ALGO_SUITE_BASIC128 "Basic128"
+    #define RP_ALGO_SUITE_TRIPLE_DES "TripleDes"
+    #define RP_ALGO_SUITE_BASIC256_RSA15 "Basic256Rsa15"
+    #define RP_ALGO_SUITE_BASIC192_RSA15 "Basic192Rsa15"
+    #define RP_ALGO_SUITE_BASIC128_RSA15 "Basic128Rsa15"
+    #define RP_ALGO_SUITE_TRIPLE_DES_RSA15 "TripleDesRsa15"
+    #define RP_ALGO_SUITE_BASIC256_SHA256 "Basic256Sha256"
+    #define RP_ALGO_SUITE_BASIC192_SHA256 "Basic192Sha256"
+    #define RP_ALGO_SUITE_BASIC128_SHA256 "Basic128Sha256"
+    #define RP_ALGO_SUITE_TRIPLE_DES_SHA256 "TripleDesSha256"
+    #define RP_ALGO_SUITE_BASIC256_SHA256_RSA15 "Basic256Sha256Rsa15"
+    #define RP_ALGO_SUITE_BASIC192_SHA256_RSA15 "Basic192Sha256Rsa15"
+    #define RP_ALGO_SUITE_BASIC128_SHA256_RSA15 "Basic128Sha256Rsa15"
+    #define RP_ALGO_SUITE_TRIPLE_DES_SHA256_RSA15 "TripleDesSha256Rsa15"
+
+    #define RP_HMAC_SHA1 "http://www.w3.org/2000/09/xmldsig#hmac-sha1"
+    #define RP_RSA_SHA1 "http://www.w3.org/2000/09/xmldsig#rsa-sha1"
+    #define RP_SHA1 "http://www.w3.org/2000/09/xmldsig#sha1"
+    #define RP_SHA256 "http://www.w3.org/2001/04/xmlenc#sha256"
+    #define RP_SHA512 "http://www.w3.org/2001/04/xmlenc#sha512"
+    #define RP_AES128 "http://www.w3.org/2001/04/xmlenc#aes128-cbc"
+    #define RP_AES192 "http://www.w3.org/2001/04/xmlenc#aes192-cbc"
+    #define RP_AES256 "http://www.w3.org/2001/04/xmlenc#aes256-cbc"
+    #define RP_TRIPLE_DES "http://www.w3.org/2001/04/xmlenc#tripledes-cbc"
+    #define RP_KW_AES128 "http://www.w3.org/2001/04/xmlenc#kw-aes256"
+    #define RP_KW_AES192 "http://www.w3.org/2001/04/xmlenc#kw-aes192"
+    #define RP_KW_AES256 "http://www.w3.org/2001/04/xmlenc#kw-aes128"
+    #define RP_KW_TRIPLE_DES "http://www.w3.org/2001/04/xmlenc#kw-tripledes"
+    #define RP_KW_RSA_OAEP "http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p"
+    #define RP_KW_RSA15 "http://www.w3.org/2001/04/xmlenc#rsa-1_5"
+    #define RP_P_SHA1 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
+    #define RP_P_SHA1_L128 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
+    #define RP_P_SHA1_L192 "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
+    #define RP_P_SHA1_L256  "http://schemas.xmlsoap.org/ws/2005/02/sc/dk/p_sha1"
+    #define RP_X_PATH "http://www.w3.org/TR/1999/REC-xpath-19991116"
+    #define RP_XPATH20 "http://www.w3.org/2002/06/xmldsig-filter2"
+    #define RP_C14N "http://www.w3.org/2001/10/xml-c14n#"
+    #define RP_EX_C14N "http://www.w3.org/2001/10/xml-exc-c14n#"
+    #define RP_SNT "http://www.w3.org/TR/soap12-n11n"
+    #define RP_STRT10 "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#STR-Transform"
+    #define RP_INCLUSIVE_C14N "InclusiveC14N"
+    #define RP_SOAP_NORMALIZATION_10 "SoapNormalization10"
+    #define RP_STR_TRANSFORM_10 "STRTransform10"
+    #define RP_XPATH10 "XPath10"
+    #define RP_XPATH_FILTER20 "XPathFilter20"
+        
+    #define RP_LAYOUT_STRICT "Strict"
+    #define RP_LAYOUT_LAX "Lax"
+    #define RP_LAYOUT_LAX_TIMESTAMP_FIRST "LaxTimestampFirst"
+    #define RP_LAYOUT_LAX_TIMESTAMP_LAST "LaxTimestampLast"
+
+    #define RP_USERNAME_TOKEN "UsernameToken"
+    #define RP_X509_TOKEN "X509Token"
+    #define RP_SECURITY_CONTEXT_TOKEN "SecurityContextToken"
+    #define RP_HTTPS_TOKEN "HttpsToken"
+
+    #define RP_INCLUDE_TOKEN "IncludeToken"
+    #define RP_INCLUDE_ALWAYS "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/IncludeToken/Always"
+    #define RP_INCLUDE_NEVER "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/Never"
+    #define RP_INCLUDE_ONCE "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/Once"
+    #define RP_INCLUDE_ALWAYS_TO_RECIPIENT "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy/AlwaysToRecipient"
+
+    #define RP_REQUIRE_KEY_IDENTIFIRE_REFERENCE "RequireKeyIdentifireReference"
+    #define RP_REQUIRE_ISSUER_SERIAL_REFERENCE "RequireIssuerSerializerReference"
+    #define RP_REQUIRE_EMBEDDED_TOKEN_REFERENCE "RequireEmbeddedTokenReference"
+    #define RP_REQUIRE_THUMBPRINT_REFERENCE "RequireThumbprintReference"
+    #define RP_REQUIRE_DERIVED_KEYS "RequireDerivedKeys"
+    #define RP_WSS_X509_V1_TOKEN_10 "WssX509V1Token10"
+    #define RP_WSS_X509_V3_TOKEN_10 "WssX509V3Token10"
+    #define RP_WSS_X509_PKCS7_TOKEN_10 "WssX509Pkcs7Token10"
+    #define RP_WSS_X509_PKI_PATH_V1_TOKEN_10 "WssX509PkiPathV1Token10"
+    #define RP_WSS_X509_V1_TOKEN_11 "WssX509V1Token11"
+    #define RP_WSS_X509_V3_TOKEN_11 "WssX509V3Token11"
+    #define RP_WSS_X509_PKCS7_TOKEN_11 "WssX509Pkcs7Token11"
+    #define RP_WSS_X509_PKI_PATH_V1_TOKEN_11 "WssX509PkiPathV1Token11"
+   
+    #define RP_WSS_USERNAME_TOKEN_10 "WssUsernameToken10"
+    #define RP_WSS_USERNAME_TOKEN_11 "WssUsernameToken11"
+
+    #define RP_REQUIRE_EXTERNAL_URI_REFERENCE "RequireExternalUriReference"
+    #define RP_SC10_SECURITY_CONTEXT_TOKEN "SC10SecurityContextToken"
+
+    #define RP_REQUIRE_CLIENT_CERTIFICATE "RequireClientCertificate"
+
+    #define RP_RAMPART_CONFIG "RampartConfig"
+    #define RP_USER "user"
+    #define RP_ENCRYPTION_USER "encryptionUser"
+    #define RP_PASSWORD_CALLBACK_CLASS "passwordCallbackClass"
+    #define RP_AUTHN_MODULE_NAME "authnModuleName"
+    #define RP_SIGNATURE_CRYPTO "signatureCrypto"
+    #define RP_SIGNATURE_PROP_FILE "signaturePropFile"
+    #define RP_ENCRYPTION_CRYPTO "encryptionCypto"
+    #define RP_ENCRYPTION_PROP_FILE "encryptionPropFile"
+    #define RP_DECRYPTION_PROP_FILE "decryptionPropFile"
+
+    #define RP_SP_NS "http://schemas.xmlsoap.org/ws/2005/07/securitypolicy"
+    #define RP_RAMPART_NS "http://ws.apache.org/rampart/c/policy"
+    #define RP_RAMPART_PREFIX "rampc"
+    #define RP_SP_PREFIX "sp"
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_defines.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto.h Mon Jan 22 04:37:57 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_ENCRYPTION_CRYPTO_H
+#define RP_ENCRYPTION_CRYPTO_H
+
+/** @defgroup rp_encryption_crypto
+ * @ingroup rp_encryption_crypto
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    
+    typedef struct rp_encryption_crypto_t rp_encryption_crypto_t;
+
+    AXIS2_EXTERN rp_encryption_crypto_t *AXIS2_CALL
+    rp_encryption_crypto_create(const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_encryption_crypto_free(
+        rp_encryption_crypto_t *encryption_crypto,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_encryption_crypto_get_encryption_prop_file(
+        rp_encryption_crypto_t *encryption_crypto,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_encryption_crypto_set_encryption_prop_file(
+        rp_encryption_crypto_t *encryption_crypto,
+        const axis2_env_t *env,
+        axis2_char_t *encryption_prop_file);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_encryption_crypto_get_decryption_prop_file(
+        rp_encryption_crypto_t *encryption_crypto,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_encryption_crypto_set_decryption_prop_file(
+        rp_encryption_crypto_t *encryption_crypto,
+        const axis2_env_t *env,
+        axis2_char_t *decryption_prop_file);
+
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,48 @@
+/*
+ * 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_ENCRYPTION_CRYPTO_BUILDER_H
+#define RP_ENCRYPTION_CRYPTO_BUILDER_H
+
+/** @defgroup rp_encryption_crypto_builder
+ * @ingroup rp_encryption_crypto_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_encryption_crypto.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_encryption_crypto_t *AXIS2_CALL
+    rp_encryption_crypto_builder_build(const axis2_env_t *env, axiom_node_t *encryption);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_encryption_crypto_builder_populate(
+            const axis2_env_t *env,
+            rp_encryption_crypto_t *encryption_crypto,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_encryption_crypto_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_header.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_header.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_header.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_header.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_header_free(rp_header_t *header,
+                   const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_header_get_name(rp_header_t *header,
+                       const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_header_set_name(rp_header_t *header,
+                       const axis2_env_t *env,
+                       axis2_char_t *name);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_header_get_namespace(rp_header_t *header,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_header_set_namespace(rp_header_t *header,
+                            const axis2_env_t *env,
+                            axis2_char_t *namespace);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_header.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_https_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_https_token.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_https_token.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_https_token.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_free(rp_https_token_t *https_token,
+                 const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_https_token_get_inclusion(rp_https_token_t *https_token,
+                       const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_set_inclusion(rp_https_token_t *https_token,
+                       const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_set_derivedkeys(rp_https_token_t *https_token,
+                            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_set_require_client_certificate(rp_https_token_t *https_token,
+                            const axis2_env_t *env,
+                            axis2_bool_t require_client_certificate);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_https_token.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_https_token_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_https_token_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_https_token_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_https_token_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,66 @@
+/*
+ * 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_BUILDER_H
+#define RP_HTTPS_TOKEN_BUILDER_H
+
+/** @defgroup rp_https_token_builder
+ * @ingroup rp_https_token_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_https_token.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_https_token_t *AXIS2_CALL
+    rp_https_token_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *https,
+            axiom_element_t *https_ele);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_builder_set_inclusion_value(
+        const axis2_env_t *env,
+        rp_https_token_t *token,
+        axiom_element_t *element);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_builder_set_req_client_cert(
+        const axis2_env_t *env,
+        rp_https_token_t *token,
+        axiom_element_t *element);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_https_token_builder_set_properties(
+        axiom_node_t *node,
+        axiom_element_t *element,
+        axis2_char_t *local_name,
+        rp_https_token_t *https_token,
+        const axis2_env_t *env);
+
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_https_token_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_includes.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_includes.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_includes.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_includes.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,51 @@
+/*
+ * 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 <axis2_allocator.h>
+#include <axis2_string.h>
+#include <axis2_array_list.h>
+#include <axis2_const.h>
+#include <axis2_error.h>
+#include <axis2_utils_defines.h>
+#include <axis2_log_default.h>
+#include <axis2_error_default.h>
+#include <axis2_env.h>
+#include <axiom.h>
+#include <axis2_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 */

Propchange: webservices/axis2/trunk/c/rampart/include/rp_includes.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_layout.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_layout.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_layout.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_layout.h Mon Jan 22 04:37:57 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_HEADER_H
+#define RP_HEADER_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_layout_free(rp_layout_t *layout,
+                   const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_layout_get_value(rp_layout_t *layout,
+                       const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_layout_set_value(rp_layout_t *layout,
+                       const axis2_env_t *env,
+                       axis2_char_t *value);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_layout.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_layout_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_layout_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_layout_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_layout_builder.h Mon Jan 22 04:37:57 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_LAYOUT_BUILDER_H
+#define RP_LAYOUT_BUILDER_H
+
+/** @defgroup rp_layout_builder
+ * @ingroup rp_layout_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_layout.h>
+#include <rp_qname_matcher.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_layout_t *AXIS2_CALL
+    rp_layout_builder_build(
+                const axis2_env_t *env,
+                axiom_node_t *layout);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_layout_builder_set_value(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *value,
+            rp_layout_t *layout,
+            const axis2_env_t *env);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_layout_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_policy_creator.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_policy_creator.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_policy_creator.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_policy_creator.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,47 @@
+/*
+ * 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 <axis2_env.h>
+#include <axis2_log_default.h>
+#include <axis2_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 axis2_env_t *env,
+    axis2_char_t *filename);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_policy_creator.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_property.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_property.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_property.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_property.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_property_free(
+        rp_property_t *property,
+        const axis2_env_t *env);
+   
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_property_set_value(
+        rp_property_t *property,
+        const axis2_env_t *env,
+        void *value,
+        int type);
+
+    AXIS2_EXTERN void *AXIS2_CALL
+    rp_property_get_value(
+        rp_property_t *property,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN int AXIS2_CALL
+    rp_property_get_type(
+        rp_property_t *property,
+        const axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_property.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_qname_matcher.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_qname_matcher.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_qname_matcher.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_qname_matcher.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,51 @@
+/*
+ * 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 axis2_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 axis2_env_t *env,
+        const axis2_char_t *local_name,
+        axiom_node_t *node,
+        axiom_element_t *element);
+
+    
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_qname_matcher.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_rampart_config.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_rampart_config.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_rampart_config.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_rampart_config.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,106 @@
+/*
+ * 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>
+#include <rp_signature_crypto.h>
+#include <rp_encryption_crypto.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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_free(rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_rampart_config_get_user(
+            rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_set_user(rp_rampart_config_t *rampart_config,
+            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_set_encryption_user(rp_rampart_config_t *rampart_config,
+            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_set_password_callback_class(rp_rampart_config_t *rampart_config,
+            const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_set_authenticate_module(rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env,
+            axis2_char_t *authenticate_module);
+
+    AXIS2_EXTERN rp_signature_crypto_t *AXIS2_CALL
+    rp_rampart_config_get_signature_crypto(
+            rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_set_signature_crypto(rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env,
+            rp_signature_crypto_t *signature_crypto);
+
+    AXIS2_EXTERN rp_encryption_crypto_t *AXIS2_CALL
+    rp_rampart_config_get_encryption_crypto(
+            rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_set_encryption_crypto(rp_rampart_config_t *rampart_config,
+            const axis2_env_t *env,
+            rp_encryption_crypto_t *encryption_crypto);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_rampart_config.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_rampart_config_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_rampart_config_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_rampart_config_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_rampart_config_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,51 @@
+/*
+ * 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_BUILDER_H
+#define RP_RAMPART_CONFIG_BUILDER_H
+
+/** @defgroup rp_rampart_config_builder
+ * @ingroup rp_rampart_config_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_signature_crypto_builder.h>
+#include <rp_encryption_crypto_builder.h>
+#include <rp_rampart_config.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_rampart_config_t *AXIS2_CALL
+    rp_rampart_config_builder_build(const axis2_env_t *env, axiom_node_t *config);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_rampart_config_builder_populate(
+            const axis2_env_t *env,
+            rp_rampart_config_t *rampart_config,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_rampart_config_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_secpolicy.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_secpolicy.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_secpolicy.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_secpolicy.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,172 @@
+/*
+ * 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_signed_encrypted_parts.h>
+#include <rp_signed_encrypted_elements.h>
+#include <rp_supporting_tokens.h>
+#include <rp_rampart_config.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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_free(
+        rp_secpolicy_t *secpolicy,
+        const axis2_env_t *env);
+   
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_binding(
+        rp_secpolicy_t *secpolicy,
+        const axis2_env_t *env,
+        rp_property_t *binding);
+
+    AXIS2_EXTERN rp_property_t *AXIS2_CALL
+    rp_secpolicy_get_binding(
+        rp_secpolicy_t *secpolicy,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_supporting_tokens(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_signed_supporting_tokens(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_endorsing_supporting_tokens(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_signed_endorsing_supporting_tokens(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_signed_parts(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_encrypted_parts(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_signed_elements(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_encrypted_elements(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_wss(
+        rp_secpolicy_t *secpolicy,
+        const axis2_env_t *env,
+        rp_property_t *wss);
+
+    AXIS2_EXTERN rp_property_t *AXIS2_CALL
+    rp_secpolicy_get_wss(
+        rp_secpolicy_t *secpolicy,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_set_rampart_config(
+        rp_secpolicy_t *secpolicy,
+        const axis2_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 axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_secpolicy.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_secpolicy_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_secpolicy_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_secpolicy_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_secpolicy_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,56 @@
+/*
+ * 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_BUILDER_H
+#define RP_SECPOLICY_BUILDER_H
+
+/** @defgroup rp_secpolicy_builder
+ * @ingroup rp_secpolicy_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_secpolicy.h>
+#include <rp_symmetric_binding_builder.h>
+#include <rp_asymmetric_binding_builder.h>
+#include <rp_transport_binding_builder.h>
+#include <rp_supporting_tokens_builder.h>
+#include <rp_wss10_builder.h>
+#include <rp_wss11_builder.h>
+#include <rp_rampart_config_builder.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_secpolicy_t *AXIS2_CALL
+    rp_secpolicy_builder_build(const axis2_env_t *env, axiom_node_t *all);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_secpolicy_builder_set_properties(
+                const axis2_env_t *env,
+                rp_secpolicy_t *secpolicy,
+                axiom_node_t *node,
+                axiom_element_t *element,
+                axis2_char_t *local_name);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_secpolicy_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_security_context_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_security_context_token.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_security_context_token.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_security_context_token.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_security_context_token_free(
+        rp_security_context_token_t *security_context_token,
+        const axis2_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 axis2_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 axis2_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 axis2_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 axis2_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 axis2_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 axis2_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 axis2_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 axis2_env_t *env,
+        axis2_bool_t sc10_security_context_token);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_security_context_token.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_security_context_token_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_security_context_token_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_security_context_token_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_security_context_token_builder.h Mon Jan 22 04:37:57 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_SECURITY_CONTEXT_TOKEN_BUILDER_H
+#define RP_SECURITY_CONTEXT_TOKEN_BUILDER_H
+
+/** @defgroup rp_security_context_token_builder
+ * @ingroup rp_security_context_token_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_security_context_token.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_security_context_token_t *AXIS2_CALL
+    rp_security_context_token_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *security_context,
+            axiom_element_t *security_context_ele);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_security_context_token_builder_set_inclusion_value(
+            const axis2_env_t *env,
+            rp_security_context_token_t *token,
+            axiom_element_t *element);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_security_context_token_builder_set_properties(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_security_context_token_t *security_context_token,
+            const axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

Propchange: webservices/axis2/trunk/c/rampart/include/rp_security_context_token_builder.h
------------------------------------------------------------------------------
    svn:executable = *



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org


Mime
View raw message