You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by da...@apache.org on 2006/07/20 06:59:14 UTC

svn commit: r423765 - in /webservices/axis2/trunk/c/rampart/include: oxs_constants.h oxs_token_binary_security_token.h oxs_token_data_reference.h oxs_token_reference_list.h

Author: damitha
Date: Wed Jul 19 21:59:14 2006
New Revision: 423765

URL: http://svn.apache.org/viewvc?rev=423765&view=rev
Log:
Adding new token files

Added:
    webservices/axis2/trunk/c/rampart/include/oxs_token_binary_security_token.h
    webservices/axis2/trunk/c/rampart/include/oxs_token_data_reference.h
    webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h
Modified:
    webservices/axis2/trunk/c/rampart/include/oxs_constants.h

Modified: webservices/axis2/trunk/c/rampart/include/oxs_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_constants.h?rev=423765&r1=423764&r2=423765&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_constants.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_constants.h Wed Jul 19 21:59:14 2006
@@ -27,6 +27,7 @@
 
 #define OXS_xenc "xenc"
 #define OXS_ds "ds"
+#define OXS_WSSE "wsse"
 
 /* Global namespaces *******************/
 
@@ -39,6 +40,7 @@
 #define OXS_XPointerNs            "http://www.w3.org/2001/04/xmldsig-more/xptr"
 #define OXS_Soap11Ns              "http://schemas.xmlsoap.org/soap/envelope/"
 #define OXS_Soap12Ns              "http://www.w3.org/2002/06/soap-envelope"
+#define OXS_WSSENS                "http://schemas.xmlsoap.org/ws/2002/04/secext"
 
 /* DSig Nodes  **************************/
 
@@ -77,6 +79,9 @@
 #define OXS_NodeTransforms            "Transforms" 
 #define OXS_NodeTransform             "Transform" 
 
+/* KeyInfo Nodes*****************************/
+#define OXS_NodeBinarySecurityToken     "BinarySecurityToken"
+
 
 /* Attributes********************************/
 
@@ -89,6 +94,8 @@
 #define OXS_AttrFilter        "Filter"
 #define OXS_AttrRecipient     "Recipient"
 #define OXS_AttrTarget        "Target"
+#define OXS_AttrEncodingType  "EncodingType"
+#define OXS_AttrValueType     "ValueType"
 
 
 /*************************************************************************

Added: webservices/axis2/trunk/c/rampart/include/oxs_token_binary_security_token.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_binary_security_token.h?rev=423765&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_binary_security_token.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_binary_security_token.h Wed Jul 19 21:59:14 2006
@@ -0,0 +1,54 @@
+/*
+ * 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 OXS_BINARY_SECURITY_TOKEN_H
+#define OXS_BINARY_SECURITY_TOKEN_H
+
+
+/**
+  * @file oxs_token_binary_security_token.h
+  * @brief 
+  */
+
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axiom_node.h>
+#include <axiom_element.h>
+#include <axis2_qname.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+* BinarySecurityToken
+*/
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_binary_security_token_element(const axis2_env_t *env,
+                        axiom_node_t *parent,
+                        axis2_char_t* id,
+                        axis2_char_t* encoding_type,
+                        axis2_char_t* value_type
+                    );
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif                          /* OXS_BINARY_SECURITY_TOKEN_H */

Added: webservices/axis2/trunk/c/rampart/include/oxs_token_data_reference.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_data_reference.h?rev=423765&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_data_reference.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_data_reference.h Wed Jul 19 21:59:14 2006
@@ -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 OXS_DATA_REFERENCE_H
+#define OXS_DATA_REFERENCE_H
+
+
+/**
+  * @file oxs_token_data_reference.h
+  * @brief 
+  */
+
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axiom_node.h>
+#include <axiom_element.h>
+#include <axis2_qname.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+* Data Reference element
+*/
+
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_data_reference_element(const axis2_env_t *env,
+                        axiom_node_t *parent,
+                        axis2_char_t* uri
+                    );
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif                          /* OXS_DATA_REFERENCE_H */

Added: webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h?rev=423765&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h Wed Jul 19 21:59:14 2006
@@ -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 OXS_TOKEN_REFERENCE_LIST_H
+#define OXS_TOKEN_REFERENCE_LIST_H
+
+
+/**
+  * @file oxs_token_reference_list.h
+  * @brief 
+  */
+
+#include <axis2_defines.h>
+#include <axis2_env.h>
+#include <axiom_node.h>
+#include <axiom_element.h>
+#include <axis2_qname.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/**
+* KeyInfo element
+*/
+
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_reference_list_element(const axis2_env_t *env,
+                        axiom_node_t *parent
+                    );
+
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif                          /* OXS_TOKEN_REFERENCE_LIST_H */



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