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 [2/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
Added: webservices/axis2/trunk/c/rampart/include/rp_signature_crypto.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_signature_crypto.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_signature_crypto.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_signature_crypto.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_SIGNATURE_CRYPTO_H
+#define RP_SIGNATURE_CRYPTO_H
+
+/** @defgroup rp_signature_crypto
+ * @ingroup rp_signature_crypto
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    
+    typedef struct rp_signature_crypto_t rp_signature_crypto_t;
+
+    AXIS2_EXTERN rp_signature_crypto_t *AXIS2_CALL
+    rp_signature_crypto_create(const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signature_crypto_free(
+        rp_signature_crypto_t *signature_crypto,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_signature_crypto_get_signature_prop_file(
+        rp_signature_crypto_t *signature_crypto,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signature_crypto_set_signature_prop_file(
+        rp_signature_crypto_t *signature_crypto,
+        const axis2_env_t *env,
+        axis2_char_t *signature_prop_file);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_signature_crypto_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_signature_crypto_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_signature_crypto_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_signature_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_SIGNATURE_CRYPTO_BUILDER_H
+#define RP_SIGNATURE_CRYPTO_BUILDER_H
+
+/** @defgroup rp_signature_crypto_builder
+ * @ingroup rp_signature_crypto_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_signature_crypto.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_signature_crypto_t *AXIS2_CALL
+    rp_signature_crypto_builder_build(const axis2_env_t *env, axiom_node_t *signature);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signature_crypto_builder_populate(
+            const axis2_env_t *env,
+            rp_signature_crypto_t *signature_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_signature_crypto_builder.h
------------------------------------------------------------------------------
    svn:executable = *

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

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

Added: webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_elements_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_elements_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_elements_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_elements_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,57 @@
+/*
+ * 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_BUILDER_H
+#define RP_SIGNED_ENCRYPTED_ELEMENTS_BUILDER_H
+
+/** @defgroup rp_signed_encrypted_elements_builder
+ * @ingroup rp_signed_encrypted_elements_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_signed_encrypted_elements.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_signed_encrypted_elements_t *AXIS2_CALL
+    rp_signed_encrypted_elements_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *elements);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signed_encrypted_elements_builder_set_properties(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_signed_encrypted_elements_t *signed_encrypted_elements,
+            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signed_encrypted_elements_builder_set_xpath_version(
+            axiom_element_t *element,
+            rp_signed_encrypted_elements_t *signed_encrypted_elements,
+            const axis2_env_t *env);
+
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,76 @@
+/*
+ * 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; 
+    struct rp_header_t;
+
+    AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+    rp_signed_encrypted_parts_create(const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signed_encrypted_parts_free(rp_signed_encrypted_parts_t *signed_encrypted_parts,
+                                    const axis2_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 axis2_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 axis2_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 axis2_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 axis2_env_t *env,
+                                    axis2_bool_t signedparts);
+
+    AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
+    rp_signed_encrypted_parts_get_headers(
+                                    rp_signed_encrypted_parts_t *signed_encrypted_parts,
+                                    const axis2_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 axis2_env_t *env,
+                                    struct rp_header_t *header);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  
+

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

Added: webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_signed_encrypted_parts_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,55 @@
+/*
+ * 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_BUILDER_H
+#define RP_SIGNED_ENCRYPTED_PARTS_BUILDER_H
+
+/** @defgroup rp_signed_encrypted_parts_builder
+ * @ingroup rp_signed_encrypted_parts_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_signed_encrypted_parts.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+
+   AXIS2_EXTERN rp_signed_encrypted_parts_t *AXIS2_CALL
+   rp_signed_encrypted_parts_builder_build(
+                const axis2_env_t *env,
+                axiom_node_t *parts);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_signed_encrypted_parts_builder_set_properties(
+        axiom_node_t *node,
+        axiom_element_t *element,
+        axis2_char_t *local_name,
+        rp_signed_encrypted_parts_t *signed_encrypted_parts,
+        const axis2_env_t *env);
+    
+   AXIS2_EXTERN struct rp_header_t *AXIS2_CALL
+   rp_signed_encrypted_parts_builder_build_header(
+        axiom_element_t *element,
+        const axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens.h Mon Jan 22 04:37:57 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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_free(rp_supporting_tokens_t *supporting_tokens,
+                   const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
+    rp_supporting_tokens_get_tokens(
+        rp_supporting_tokens_t *supporting_tokens,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_add_token(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_set_algorithmsuite(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_set_signed_parts(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_set_signed_elements(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_set_encrypted_parts(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_set_encrypted_elements(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_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 axis2_env_t *env);
+    
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_set_type(rp_supporting_tokens_t *supporting_tokens,
+        const axis2_env_t *env,
+        int type);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_supporting_tokens_builder.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_SUPPORTING_TOKEN_BUILDER_H
+#define RP_SUPPORTING_TOKEN_BUILDER_H
+
+/** @defgroup rp_supporting_tokens_builder
+ * @ingroup rp_supporting_tokens_builder
+ * @{
+ */
+
+#include <rp_supporting_tokens.h>
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_qname_matcher.h>
+#include <rp_x509_token_builder.h>
+#include <rp_username_token_builder.h>
+#include <rp_security_context_token_builder.h>
+#include <rp_token_builder.h>
+#include <rp_algorithmsuite_builder.h>
+#include <rp_signed_encrypted_parts_builder.h>
+#include <rp_signed_encrypted_elements_builder.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_supporting_tokens_t *AXIS2_CALL
+    rp_supporting_tokens_builder_build(const axis2_env_t *env, axiom_node_t *supporting);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_supporting_tokens_builder_set_other_properties(
+            const axis2_env_t *env,
+            rp_supporting_tokens_t *supporting_tokens,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_supporting_tokens_builder_istoken(
+        const axis2_env_t *env,
+        axis2_char_t *local_name);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

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

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

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

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

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

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

Added: webservices/axis2/trunk/c/rampart/include/rp_symmetric_binding_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_symmetric_binding_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_symmetric_binding_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_symmetric_binding_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,57 @@
+/*
+ * 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_BUILDER_H
+#define RP_SYMMETRIC_BINDING_BUILDER_H
+
+/** @defgroup rp_symmetric_binding_builder
+ * @ingroup rp_symmetric_binding_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_symmetric_binding.h>
+#include <rp_symmetric_asymmetric_commons_builder.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_symmetric_binding_t *AXIS2_CALL
+    rp_symmetric_binding_builder_build(
+            const axis2_env_t *env, 
+            axiom_node_t *symmetric);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_symmetric_binding_builder_set_token_type(
+            const axis2_env_t *env,
+            rp_symmetric_binding_t *symmetric_binding,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_symmetric_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_symmetric_binding_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_token_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_token_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_token_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_token_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_TOKEN_BUILDER_H
+#define RP_TOKEN_BUILDER_H
+
+/** @defgroup rp_token_builder
+ * @ingroup rp_token_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_qname_matcher.h>
+#include <rp_x509_token.h>
+#include <rp_x509_token_builder.h>
+#include <rp_username_token_builder.h>
+#include <rp_security_context_token_builder.h>
+#include <rp_https_token_builder.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_token_builder_set_token(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *value,
+            rp_property_t *token,
+            const axis2_env_t *env);
+
+    AXIS2_EXTERN rp_property_t *AXIS2_CALL
+    rp_token_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *token);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_transport_binding.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_transport_binding.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_transport_binding.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_transport_binding.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_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_transport_binding_free(
+        rp_transport_binding_t *transport_binding,
+        const axis2_env_t *env);
+   
+    AXIS2_EXTERN rp_binding_commons_t *AXIS2_CALL
+    rp_transport_binding_get_binding_commons(
+        rp_transport_binding_t *transport_binding,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_transport_binding_set_binding_commons(
+        rp_transport_binding_t *transport_binding,
+        const axis2_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 axis2_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 axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_transport_binding_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_transport_binding_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_transport_binding_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_transport_binding_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,57 @@
+/*
+ * 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_BUILDER_H
+#define RP_TRANSPORT_BINDING_BUILDER_H
+
+/** @defgroup rp_transport_binding_builder
+ * @ingroup rp_transport_binding_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_property.h>
+#include <rp_transport_binding.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_transport_binding_t *AXIS2_CALL
+    rp_transport_binding_builder_build(
+            const axis2_env_t *env, 
+            axiom_node_t *transport);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_transport_binding_builder_set_token_type(
+            const axis2_env_t *env,
+            rp_transport_binding_t *transport_binding,
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_transport_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_transport_binding_builder.h
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/include/rp_username_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_username_token.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_username_token.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_username_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_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_free(
+        rp_username_token_t *username_token,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_username_token_get_inclusion(
+        rp_username_token_t *username_token,
+        const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_set_inclusion(
+        rp_username_token_t *username_token,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_set_derivedkeys(
+        rp_username_token_t *username_token,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_set_useUTprofile10(
+        rp_username_token_t *username_token,
+        const axis2_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 axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_set_useUTprofile11(
+        rp_username_token_t *username_token,
+        const axis2_env_t *env,
+        axis2_bool_t useUTprofile11);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_username_token_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_username_token_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_username_token_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_username_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_USERNAME_TOKEN_BUILDER_H
+#define RP_USERNAME_TOKEN_BUILDER_H
+
+/** @defgroup rp_username_token_builder
+ * @ingroup rp_username_token_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_username_token.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_username_token_t *AXIS2_CALL
+    rp_username_token_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *username,
+            axiom_element_t *username_ele);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_builder_set_inclusion_value(
+            const axis2_env_t *env,
+            rp_username_token_t *token,
+            axiom_element_t *element);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_username_token_builder_set_properties(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_username_token_t *username_token,
+            const axis2_env_t *env);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_wss10.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_wss10.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_wss10.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_wss10.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,80 @@
+/*
+ * 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_WSS10_H
+#define RP_WSS10_H
+
+/** @defgroup wss10
+ * @ingroup wss10
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    
+    typedef struct rp_wss10_t rp_wss10_t;
+
+    AXIS2_EXTERN rp_wss10_t *AXIS2_CALL
+    rp_wss10_create(const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss10_free(rp_wss10_t *wss10,
+                 const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss10_get_must_support_ref_key_identifier(rp_wss10_t *wss10,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss10_set_must_support_ref_key_identifier(rp_wss10_t *wss10,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_key_identifier);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss10_get_must_support_ref_issuer_serial(rp_wss10_t *wss10,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss10_set_must_support_ref_issuer_serial(rp_wss10_t *wss10,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_issuer_serial);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss10_get_must_support_ref_external_uri(rp_wss10_t *wss10,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss10_set_must_support_ref_external_uri(rp_wss10_t *wss10,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_external_uri);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss10_get_must_support_ref_embedded_token(rp_wss10_t *wss10,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss10_set_must_support_ref_embedded_token(rp_wss10_t *wss10,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_embedded_token);
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_wss10_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_wss10_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_wss10_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_wss10_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_WSS10_BUILDER_H
+#define RP_WSS10_BUILDER_H
+
+/** @defgroup rp_wss10_builder
+ * @ingroup rp_wss10_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_wss10.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_wss10_t *AXIS2_CALL
+    rp_wss10_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *wss10);
+ 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss10_builder_set_properties(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_wss10_t *wss10,
+            const axis2_env_t *env);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_wss11.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_wss11.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_wss11.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_wss11.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,108 @@
+/*
+ * 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_WSS11_H
+#define RP_WSS11_H
+
+/** @defgroup wss11
+ * @ingroup wss11
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    
+    typedef struct rp_wss11_t rp_wss11_t;
+
+    AXIS2_EXTERN rp_wss11_t *AXIS2_CALL
+    rp_wss11_create(const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_free(rp_wss11_t *wss11,
+                 const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_must_support_ref_key_identifier(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_must_support_ref_key_identifier(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_key_identifier);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_must_support_ref_issuer_serial(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_must_support_ref_issuer_serial(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_issuer_serial);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_must_support_ref_external_uri(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_must_support_ref_external_uri(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_external_uri);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_must_support_ref_embedded_token(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_must_support_ref_embedded_token(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_embedded_token);
+    
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_must_support_ref_thumbprint(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_must_support_ref_thumbprint(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_thumbprint);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_must_support_ref_encryptedkey(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t must_support_ref_encryptedkey);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_must_support_ref_encryptedkey(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+ 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_set_require_signature_confirmation(rp_wss11_t *wss11,
+                            const axis2_env_t *env,
+                            axis2_bool_t require_signature_confirmation);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_wss11_get_require_signature_confirmation(rp_wss11_t *wss11,
+                            const axis2_env_t *env);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_wss11_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_wss11_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_wss11_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_wss11_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_WSS11_BUILDER_H
+#define RP_WSS11_BUILDER_H
+
+/** @defgroup rp_wss11_builder
+ * @ingroup rp_wss11_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_wss11.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_wss11_t *AXIS2_CALL
+    rp_wss11_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *wss11);
+ 
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_wss11_builder_set_properties(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_wss11_t *wss11,
+            const axis2_env_t *env);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_x509_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_x509_token.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_x509_token.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_x509_token.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,110 @@
+/*
+ * 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_X509_TOKEN_H
+#define RP_X509_TOKEN_H
+
+/** @defgroup rp_x509_token
+ * @ingroup rp_x509_token
+ * @{
+ */
+
+#include <rp_includes.h>
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+    
+    typedef struct rp_x509_token_t rp_x509_token_t;
+
+    AXIS2_EXTERN rp_x509_token_t *AXIS2_CALL
+    rp_x509_token_create(const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_free(rp_x509_token_t *x509_token,
+                 const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_x509_token_get_inclusion(rp_x509_token_t *x509_token,
+                       const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_inclusion(rp_x509_token_t *x509_token,
+                       const axis2_env_t *env,
+                       axis2_char_t *inclusion);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_x509_token_get_derivedkeys(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_derivedkeys(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env,
+                            axis2_bool_t derivedkeys);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_x509_token_get_require_key_identifier_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_require_key_identifier_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env,
+                            axis2_bool_t require_key_identifier_reference);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_x509_token_get_require_issuer_serial_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_require_issuer_serial_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env,
+                            axis2_bool_t require_issuer_serial_reference);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_x509_token_get_require_embedded_token_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_require_embedded_token_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env,
+                            axis2_bool_t require_embedded_token_reference);
+
+    AXIS2_EXTERN axis2_bool_t AXIS2_CALL
+    rp_x509_token_get_require_thumb_print_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_require_thumb_print_reference(rp_x509_token_t *x509_token,
+                            const axis2_env_t *env,
+                            axis2_bool_t require_thumb_print_reference);
+
+    AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+    rp_x509_token_get_token_version_and_type(rp_x509_token_t *x509_token,
+                       const axis2_env_t *env);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_set_token_version_and_type(rp_x509_token_t *x509_token,
+                       const axis2_env_t *env,
+                       axis2_char_t *token_version_and_type);
+
+
+    
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Added: webservices/axis2/trunk/c/rampart/include/rp_x509_token_builder.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rp_x509_token_builder.h?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rp_x509_token_builder.h (added)
+++ webservices/axis2/trunk/c/rampart/include/rp_x509_token_builder.h Mon Jan 22 04:37:57 2007
@@ -0,0 +1,59 @@
+/*
+ * 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_X509_TOKEN_BUILDER_H
+#define RP_X509_TOKEN_BUILDER_H
+
+/** @defgroup rp_x509_token_builder
+ * @ingroup rp_x509_token_builder
+ * @{
+ */
+
+#include <rp_includes.h>
+#include <rp_qname_matcher.h>
+#include <rp_x509_token.h>
+
+
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+    AXIS2_EXTERN rp_x509_token_t *AXIS2_CALL
+    rp_x509_token_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *x509,
+            axiom_element_t *x509_ele);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_builder_set_inclusion_value(
+            const axis2_env_t *env,
+            rp_x509_token_t *token,
+            axiom_element_t *element);
+
+    AXIS2_EXTERN axis2_status_t AXIS2_CALL
+    rp_x509_token_builder_set_properties(
+            axiom_node_t *node,
+            axiom_element_t *element,
+            axis2_char_t *local_name,
+            rp_x509_token_t *x509_token,
+            const axis2_env_t *env);
+
+
+#ifdef __cplusplus
+}
+#endif
+#endif  

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

Modified: webservices/axis2/trunk/c/rampart/src/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/Makefile.am?view=diff&rev=498596&r1=498595&r2=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/Makefile.am (original)
+++ webservices/axis2/trunk/c/rampart/src/Makefile.am Mon Jan 22 04:37:57 2007
@@ -1 +1 @@
-SUBDIRS = omxmlsec handlers util core data 
+SUBDIRS = omxmlsec secpolicy handlers util core data 

Added: webservices/axis2/trunk/c/rampart/src/secpolicy/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/Makefile.am?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/Makefile.am (added)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/Makefile.am Mon Jan 22 04:37:57 2007
@@ -0,0 +1 @@
+SUBDIRS = model builder 

Propchange: webservices/axis2/trunk/c/rampart/src/secpolicy/Makefile.am
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/Makefile.am
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/Makefile.am?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/Makefile.am (added)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/Makefile.am Mon Jan 22 04:37:57 2007
@@ -0,0 +1,20 @@
+TESTS =
+
+noinst_LTLIBRARIES = librp_builder.la
+
+librp_builder_la_SOURCES = algorithmsuite_builder.c asymmetric_binding_builder.c binding_commons_builder.c encryption_crypto_builder.c \
+						   https_token_builder.c layout_builder.c qname_matcher.c rampart_config_builder.c secpolicy_builder.c \
+						   security_context_token_builder.c signature_crypto_builder.c signed_encrypted_elements_builder.c \
+						   signed_encrypted_parts_builder.c supporting_tokens_builder.c symmetric_asymmetric_commons_builder.c \
+						   symmetric_binding_builder.c token_builder.c transport_binding_builder.c username_token_builder.c \
+						   wss10_builder.c wss11_builder.c x509_token_builder.c policy_creator.c
+
+
+librp_builder_la_LIBADD  = ../../../../util/src/libaxis2_util.la \
+						 ../../../../axiom/src/om/libaxis2_axiom.la
+
+
+INCLUDES = -I$(top_builddir)/include \
+			-I ../../../../include \
+			-I ../../../../util/include \
+			-I ../../../../axiom/include

Propchange: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/Makefile.am
------------------------------------------------------------------------------
    svn:executable = *

Added: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c?view=auto&rev=498596
==============================================================================
--- webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c (added)
+++ webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c Mon Jan 22 04:37:57 2007
@@ -0,0 +1,313 @@
+/*
+ * 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.
+ */
+
+
+#include <rp_algorithmsuite_builder.h>
+#include <rp_qname_matcher.h>
+
+
+AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+rp_algorithmsuite_builder_set_algosuite(
+        axiom_node_t *node,
+        axiom_element_t *element,
+        axis2_char_t *algosuite_string,
+        rp_algorithmsuite_t *algorithmsuite,
+        const axis2_env_t *env);
+
+
+AXIS2_EXTERN rp_algorithmsuite_t *AXIS2_CALL
+rp_algorithmsuite_builder_build(
+            const axis2_env_t *env,
+            axiom_node_t *algorithmsuite)
+{
+    rp_algorithmsuite_t *algorithm_suite = NULL;
+    axiom_node_t *policy = NULL;
+    axiom_node_t *name = NULL;
+    axiom_element_t *name_ele = NULL;
+    axis2_char_t * algosuite_string = NULL;
+    axis2_status_t status = AXIS2_SUCCESS;
+
+    AXIS2_ENV_CHECK(env,NULL);
+    AXIS2_PARAM_CHECK(env->error,algorithmsuite,NULL);
+
+    if(algorithmsuite)
+    {
+        algorithm_suite = rp_algorithmsuite_create(env);
+        if(!algorithm_suite)
+            return NULL;
+        policy = AXIOM_NODE_GET_FIRST_CHILD(algorithmsuite,env);
+        if(policy)
+        {
+            name = AXIOM_NODE_GET_FIRST_CHILD(policy,env);
+            if(name)
+            {
+                if(AXIOM_NODE_GET_NODE_TYPE(name,env) == AXIOM_ELEMENT)
+                {
+                    name_ele = (axiom_element_t*)AXIOM_NODE_GET_DATA_ELEMENT(name, env);
+                    if(name_ele)
+                    {
+                        algosuite_string = AXIOM_ELEMENT_GET_LOCALNAME(name_ele, env);
+                        if(algosuite_string)
+                        {                            
+                            status = rp_algorithmsuite_builder_set_algosuite(name,name_ele,algosuite_string,algorithm_suite,env);                                       if(status!=AXIS2_SUCCESS)
+                            {
+                                rp_algorithmsuite_free(algorithm_suite,env);
+                                algorithm_suite = NULL;
+                            }                                
+                        }
+                    }
+                }
+            }
+        }
+   }
+   return algorithm_suite;
+}            
+
+AXIS2_EXTERN axis2_status_t AXIS2_CALL 
+rp_algorithmsuite_builder_set_algosuite(
+        axiom_node_t *node,
+        axiom_element_t *element,
+        axis2_char_t *algosuite_string,
+        rp_algorithmsuite_t *algorithmsuite,
+        const axis2_env_t *env)
+
+{
+    AXIS2_ENV_CHECK(env,AXIS2_FAILURE);
+    
+    if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC256)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC256,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    }
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC192)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC192,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else 
+            return AXIS2_FAILURE;
+    }
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC128)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC128,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    }        
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_TRIPLE_DES)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_TRIPLE_DES,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    }       
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC256_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC256_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC192_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC192_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC128_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC128_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else  if(strcmp(algosuite_string,RP_ALGO_SUITE_TRIPLE_DES_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_TRIPLE_DES_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC256_SHA256)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC256_SHA256,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC192_SHA256)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC192_SHA256,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC128_SHA256)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC128_SHA256,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_TRIPLE_DES_SHA256)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_TRIPLE_DES_SHA256,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC256_SHA256_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC256_SHA256_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC192_SHA256_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC192_SHA256_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_BASIC128_SHA256_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC128_SHA256_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_ALGO_SUITE_TRIPLE_DES_SHA256_RSA15)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_ALGO_SUITE_BASIC256_RSA15,node,element))
+        {
+            rp_algorithmsuite_set_algosuite(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    }
+    else if(strcmp(algosuite_string,RP_INCLUSIVE_C14N)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_INCLUSIVE_C14N,node,element))
+        {
+            rp_algorithmsuite_set_c14n(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_SOAP_NORMALIZATION_10)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_SOAP_NORMALIZATION_10,node,element))
+        {
+            rp_algorithmsuite_set_soap_normalization(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_STR_TRANSFORM_10)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_STR_TRANSFORM_10,node,element))
+        {
+            rp_algorithmsuite_set_str_transformation(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else if(strcmp(algosuite_string,RP_XPATH10)==0)
+    {
+        if(rp_match_secpolicy_qname(env,RP_XPATH10,node,element))
+        {
+            rp_algorithmsuite_set_xpath(algorithmsuite,env,algosuite_string);
+            printf("%s\n",algosuite_string);
+            return AXIS2_SUCCESS;
+        }
+        else
+            return AXIS2_FAILURE;
+    } 
+    else
+        return AXIS2_FAILURE;
+}

Propchange: webservices/axis2/trunk/c/rampart/src/secpolicy/builder/algorithmsuite_builder.c
------------------------------------------------------------------------------
    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