Author: damitha
Date: Mon Jul 17 22:49:50 2006
New Revision: 422977
URL: http://svn.apache.org/viewvc?rev=422977&view=rev
Log:
Adding files for token classes
Added:
webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_data.h
webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_value.h
webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_type.h
webservices/axis2/trunk/c/rampart/include/oxs_token_encryption_method.h
webservices/axis2/trunk/c/rampart/include/oxs_token_key_info.h
webservices/axis2/trunk/c/rampart/include/oxs_token_key_name.h
Modified:
webservices/axis2/trunk/c/rampart/include/oxs_buffer.h
webservices/axis2/trunk/c/rampart/include/oxs_error.h
Modified: webservices/axis2/trunk/c/rampart/include/oxs_buffer.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_buffer.h?rev=422977&r1=422976&r2=422977&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_buffer.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_buffer.h Mon Jul 17 22:49:50
2006
@@ -62,7 +62,7 @@
* @max_size : allocated size of the buffer
* @alloc_mode : Mode of the allcoation
*/
-typedef struct _oxs_buffer{
+struct _oxs_buffer{
unsigned char* data;
unsigned int size;
unsigned int max_size;
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=422977&r1=422976&r2=422977&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_error.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_error.h Mon Jul 17 22:49:50
2006
@@ -45,6 +45,7 @@
#define OXS_ERROR_INVALID_DATA 3
#define OXS_ERROR_INVALID_SIZE 4
#define OXS_ERROR_INVALID_FORMAT 5
+#define OXS_ERROR_ELEMENT_FAILED 6
typedef struct _oxs_error_description oxs_error_description,
*oxs_error_description_ptr;
Added: webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_data.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_data.h?rev=422977&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_data.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_data.h Mon Jul
17 22:49:50 2006
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef OXS_TOKEN_CIPHER_DATA_H
+#define OXS_TOKEN_CIPHER_DATA_H
+
+
+/**
+ * @file oxs_token_cipher_data.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
+
+/**
+* Cipher Data element
+*/
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_cipher_data_element(const axis2_env_t *env,
+ axiom_node_t *parent
+ );
+
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_TOKEN_CIPHER_DATA_H */
Added: webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_value.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_value.h?rev=422977&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_value.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_cipher_value.h Mon Jul
17 22:49:50 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_TOKEN_CIPHER_VALUE_H
+#define OXS_TOKEN_CIPHER_VALUE_H
+
+
+/**
+ * @file oxs_token_cipher_value.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
+
+/**
+* Cipher Value element
+*/
+
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_cipher_value_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* cipher_val
+ );
+
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_TOKEN_CIPHER_VALUE_H */
Added: webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_type.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_type.h?rev=422977&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_type.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_type.h Mon
Jul 17 22:49:50 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_ENCRYPTED_TYPE_H
+#define OXS_ENCRYPTED_TYPE_H
+
+
+/**
+ * @file oxs_enc.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
+
+/**
+* EncryptedData or EncryptedKey element
+*/
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_encrypted_type_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* encrypted_type,
+ axis2_char_t* type_attribute,
+ axis2_char_t* id
+ );
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_ENCRYPTED_TYPE_H */
Added: webservices/axis2/trunk/c/rampart/include/oxs_token_encryption_method.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_encryption_method.h?rev=422977&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_encryption_method.h
(added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_encryption_method.h Mon
Jul 17 22:49:50 2006
@@ -0,0 +1,52 @@
+/*
+ * Copyright 2004,2005 The Apache Software Foundation.
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#ifndef OXS_ENCRIPTION_METHOD_H
+#define OXS_ENCRIPTION_METHOD_H
+
+
+/**
+ * @file oxs_token_encription_method.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
+
+/**
+* Encryption Method element
+*/
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_encryption_method_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* algorithm
+ );
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_ENCRIPTION_METHOD_H */
Added: webservices/axis2/trunk/c/rampart/include/oxs_token_key_info.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_key_info.h?rev=422977&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_key_info.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_key_info.h Mon Jul 17
22:49:50 2006
@@ -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 OXS_TOKEN_KEY_INFO_H
+#define OXS_TOKEN_KEY_INFO_H
+
+
+/**
+ * @file oxs_token_key_info.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_key_info_element(const axis2_env_t *env,
+ axiom_node_t *parent
+ );
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_TOKEN_KEY_INFO_H */
Added: webservices/axis2/trunk/c/rampart/include/oxs_token_key_name.h
URL:
http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_key_name.h?rev=422977&view=auto
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_key_name.h (added)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_key_name.h Mon Jul 17
22:49:50 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_TOKEN_KEY_NAME_H
+#define OXS_TOKEN_KEY_NAME_H
+
+
+/**
+ * @file oxs_token_key_name.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
+
+/**
+* KeyName element
+*/
+
+AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+oxs_token_build_key_name_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* key_name_val
+ );
+
+
+
+/*TODO write free method*/
+/** @} */
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* OXS_TOKEN_KEY_NAME_H */
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]