You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by da...@apache.org on 2006/07/28 08:52:23 UTC
svn commit: r426409 - in /webservices/axis2/trunk/c/rampart/include:
oxs_axiom.h oxs_cipher.h oxs_error.h
Author: damitha
Date: Thu Jul 27 23:52:23 2006
New Revision: 426409
URL: http://svn.apache.org/viewvc?rev=426409&view=rev
Log:
Applying patches and adding cipher files
Added:
webservices/axis2/trunk/c/rampart/include/oxs_cipher.h
Modified:
webservices/axis2/trunk/c/rampart/include/oxs_axiom.h
webservices/axis2/trunk/c/rampart/include/oxs_error.h
Modified: webservices/axis2/trunk/c/rampart/include/oxs_axiom.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_axiom.h?rev=426409&r1=426408&r2=426409&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_axiom.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_axiom.h Thu Jul 27 23:52:23 2006
@@ -45,7 +45,7 @@
/**
* returns 1 sucess 0 otherwise
*/
-AXIS2_EXTERN int AXIS2_CALL
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_axiom_check_node_name(const axis2_env_t *env, axiom_node_t* node, axis2_char_t* name, axis2_char_t* ns);
/** @} */
Added: webservices/axis2/trunk/c/rampart/include/oxs_cipher.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_cipher.h?rev=426409&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_cipher.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_cipher.h Thu Jul 27 23:52:23 2006
@@ -0,0 +1,63 @@
+/*
+ * 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_CIPHER_H
+#define OXS_CIPHER_H
+
+
+/**
+ * @file oxs_utils.h
+ * @brief
+ */
+
+#include <axis2_defines.h>
+#include <oxs_constants.h>
+#include <axis2_env.h>
+#ifdef __cplusplus
+extern "C"
+{
+#endif
+
+/*
+typedef struct _oxs_cipher oxs_cipher, *oxs_cipher_ptr;
+
+struct _oxs_cipher
+{
+ axis2_char_t *name;
+ int key_size;
+ int iv_size;
+};
+*/
+
+AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+oxs_get_cipher(const axis2_env_t *env,
+ axis2_char_t *url);
+
+
+AXIS2_EXTERN int AXIS2_CALL
+oxs_get_cipher_key_size(const axis2_env_t *env,
+ axis2_char_t *url);
+
+
+AXIS2_EXTERN int AXIS2_CALL
+oxs_get_cipher_iv_size(const axis2_env_t *env,
+ axis2_char_t *url);
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_CIPHER_H */
Modified: webservices/axis2/trunk/c/rampart/include/oxs_error.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_error.h?rev=426409&r1=426408&r2=426409&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_error.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_error.h Thu Jul 27 23:52:23 2006
@@ -46,6 +46,7 @@
#define OXS_ERROR_INVALID_SIZE 4
#define OXS_ERROR_INVALID_FORMAT 5
#define OXS_ERROR_ELEMENT_FAILED 6
+#define OXS_ERROR_UNSUPPORTED_ALGO 7
typedef struct _oxs_error_description oxs_error_description, *oxs_error_description_ptr;
---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org