You are viewing a plain text version of this content. The canonical link for it is here.
Posted to rampart-dev@ws.apache.org by ka...@apache.org on 2007/03/28 10:54:36 UTC
svn commit: r523234 [3/5] - /webservices/rampart/trunk/c/include/
Modified: webservices/rampart/trunk/c/include/oxs_token_c14n_method.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_c14n_method.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_c14n_method.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_c14n_method.h Wed Mar 28 01:54:30 2007
@@ -35,18 +35,18 @@
#endif
-/**
-* C14N Method element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_c14n_method_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *algorithm
- );
+ /**
+ * C14N Method element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_c14n_method_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *algorithm
+ );
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_c14n_method(const axis2_env_t *env, axiom_node_t *c14n_mtd_node);
-/** @} */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_c14n_method(const axis2_env_t *env, axiom_node_t *c14n_mtd_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_cipher_data.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_cipher_data.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_cipher_data.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_cipher_data.h Wed Mar 28 01:54:30 2007
@@ -34,20 +34,20 @@
{
#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
- );
+ /**
+ * 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
+ );
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_cipher_value_from_cipher_data(const axis2_env_t *env,
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_cipher_value_from_cipher_data(const axis2_env_t *env,
axiom_node_t *cd_node);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_cipher_value.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_cipher_value.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_cipher_value.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_cipher_value.h Wed Mar 28 01:54:30 2007
@@ -34,23 +34,23 @@
{
#endif
-/**
-* Cipher Value element
-*/
+ /**
+ * Cipher Value element
+ */
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_cipher_value(const axis2_env_t *env,
- axiom_node_t *cv_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_cipher_value(const axis2_env_t *env,
+ axiom_node_t *cv_node);
-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
- );
+ 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
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_data_reference.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_data_reference.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_data_reference.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_data_reference.h Wed Mar 28 01:54:30 2007
@@ -34,19 +34,19 @@
{
#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 *data_ref
- );
+ /**
+ * 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 *data_ref
+ );
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_data_reference(const axis2_env_t *env, axiom_node_t *data_ref_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_data_reference(const axis2_env_t *env, axiom_node_t *data_ref_node);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_digest_method.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_digest_method.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_digest_method.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_digest_method.h Wed Mar 28 01:54:30 2007
@@ -35,18 +35,18 @@
#endif
-/**
-* DigestMethod element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_digest_method_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *algorithm
- );
+ /**
+ * DigestMethod element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_digest_method_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *algorithm
+ );
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_digest_method(const axis2_env_t *env, axiom_node_t *enc_mtd_node);
-/** @} */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_digest_method(const axis2_env_t *env, axiom_node_t *enc_mtd_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_digest_value.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_digest_value.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_digest_value.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_digest_value.h Wed Mar 28 01:54:30 2007
@@ -34,23 +34,23 @@
{
#endif
-/**
-* DigestValue element
-*/
+ /**
+ * DigestValue element
+ */
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_digest_value(const axis2_env_t *env,
- axiom_node_t *sv_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_digest_value(const axis2_env_t *env,
+ axiom_node_t *sv_node);
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_digest_value_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* digest_val
- );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_digest_value_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* digest_val
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_ds_reference.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_ds_reference.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_ds_reference.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_ds_reference.h Wed Mar 28 01:54:30 2007
@@ -34,20 +34,20 @@
{
#endif
-/**
-* ds:Reference element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_ds_reference_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *id,
- axis2_char_t *uri,
- axis2_char_t *type);
+ /**
+ * ds:Reference element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_ds_reference_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *id,
+ axis2_char_t *uri,
+ axis2_char_t *type);
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_ds_reference(const axis2_env_t *env, axiom_node_t *ref_node);
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_ds_reference(const axis2_env_t *env, axiom_node_t *ref_node);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_embedded.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_embedded.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_embedded.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_embedded.h Wed Mar 28 01:54:30 2007
@@ -34,15 +34,15 @@
{
#endif
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_embedded_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* id);
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_embedded_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* id);
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_embedded_id(const axis2_env_t *env, axiom_node_t *embedded_node);
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_embedded_id(const axis2_env_t *env, axiom_node_t *embedded_node);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_encrypted_data.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_encrypted_data.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_encrypted_data.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_encrypted_data.h Wed Mar 28 01:54:30 2007
@@ -34,17 +34,17 @@
{
#endif
-/**
-* EncryptedData element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_encrypted_data_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* type_attribute,
- axis2_char_t* id
- );
+ /**
+ * EncryptedData element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_encrypted_data_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* type_attribute,
+ axis2_char_t* id
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_encrypted_key.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_encrypted_key.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_encrypted_key.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_encrypted_key.h Wed Mar 28 01:54:30 2007
@@ -34,16 +34,16 @@
{
#endif
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_encrypted_key_element(const axis2_env_t *env,
- axiom_node_t *parent );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_encrypted_key_element(const axis2_env_t *env,
+ axiom_node_t *parent );
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_get_encrypted_key_node(const axis2_env_t *env,
- axiom_node_t *parent);
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_get_encrypted_key_node(const axis2_env_t *env,
+ axiom_node_t *parent);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_encryption_method.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_encryption_method.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_encryption_method.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_encryption_method.h Wed Mar 28 01:54:30 2007
@@ -35,18 +35,18 @@
#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
- );
+ /**
+ * 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
+ );
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_encryption_method(const axis2_env_t *env, axiom_node_t *enc_mtd_node);
-/** @} */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_encryption_method(const axis2_env_t *env, axiom_node_t *enc_mtd_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_key_identifier.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_key_identifier.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_key_identifier.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_key_identifier.h Wed Mar 28 01:54:30 2007
@@ -34,19 +34,19 @@
{
#endif
-/**
-* KeyIdentifier
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_key_identifier_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* encoding_type,
- axis2_char_t* value_type,
- axis2_char_t* value
- );
+ /**
+ * KeyIdentifier
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_key_identifier_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* encoding_type,
+ axis2_char_t* value_type,
+ axis2_char_t* value
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_key_info.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_key_info.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_key_info.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_key_info.h Wed Mar 28 01:54:30 2007
@@ -34,16 +34,16 @@
{
#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
- );
+ /**
+ * KeyInfo element
+ */
+ AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+ oxs_token_build_key_info_element(const axis2_env_t *env,
+ axiom_node_t *parent
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_key_name.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_key_name.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_key_name.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_key_name.h Wed Mar 28 01:54:30 2007
@@ -34,19 +34,19 @@
{
#endif
-/**
-* KeyName element
-*/
+ /**
+ * 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
- );
+ 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
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_reference.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_reference.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_reference.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_reference.h Wed Mar 28 01:54:30 2007
@@ -34,22 +34,22 @@
{
#endif
-/**
-* Reference element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_reference_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *ref,
- axis2_char_t *value_type
- );
+ /**
+ * Reference element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_reference_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *ref,
+ axis2_char_t *value_type
+ );
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_reference(const axis2_env_t *env, axiom_node_t *ref_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_reference(const axis2_env_t *env, axiom_node_t *ref_node);
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_reference_value_type(const axis2_env_t *env, axiom_node_t *ref_node);
-/** @} */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_reference_value_type(const axis2_env_t *env, axiom_node_t *ref_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_reference_list.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_reference_list.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_reference_list.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_reference_list.h Wed Mar 28 01:54:30 2007
@@ -34,23 +34,23 @@
{
#endif
-/**
-* KeyInfo element
-*/
+ /**
+ * KeyInfo element
+ */
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_reference_list_element(const axis2_env_t *env,
- axiom_node_t *parent
- );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_reference_list_element(const axis2_env_t *env,
+ axiom_node_t *parent
+ );
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_token_build_data_reference_list(const axis2_env_t *env, axiom_node_t *parent, axis2_array_list_t *id_list);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_token_build_data_reference_list(const axis2_env_t *env, axiom_node_t *parent, axis2_array_list_t *id_list);
-AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
-oxs_token_get_reference_list_data(const axis2_env_t *env, axiom_node_t *ref_list_node);
+ AXIS2_EXTERN axis2_array_list_t *AXIS2_CALL
+ oxs_token_get_reference_list_data(const axis2_env_t *env, axiom_node_t *ref_list_node);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_security_token_reference.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_security_token_reference.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_security_token_reference.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_security_token_reference.h Wed Mar 28 01:54:30 2007
@@ -33,12 +33,12 @@
extern "C"
{
#endif
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_security_token_reference_element(const axis2_env_t *env,
- axiom_node_t *parent);
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_security_token_reference_element(const axis2_env_t *env,
+ axiom_node_t *parent);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_signature.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_signature.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_signature.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_signature.h Wed Mar 28 01:54:30 2007
@@ -34,16 +34,16 @@
{
#endif
-/**
-* ds:Signature element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_signature_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* id
- );
+ /**
+ * ds:Signature element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_signature_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* id
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_signature_method.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_signature_method.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_signature_method.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_signature_method.h Wed Mar 28 01:54:30 2007
@@ -35,18 +35,18 @@
#endif
-/**
-* Signature Method element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_signature_method_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *algorithm
- );
+ /**
+ * Signature Method element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_signature_method_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *algorithm
+ );
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_signature_method(const axis2_env_t *env, axiom_node_t *enc_mtd_node);
-/** @} */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_signature_method(const axis2_env_t *env, axiom_node_t *enc_mtd_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_signature_value.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_signature_value.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_signature_value.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_signature_value.h Wed Mar 28 01:54:30 2007
@@ -34,23 +34,23 @@
{
#endif
-/**
-* Signature Value element
-*/
+ /**
+ * Signature Value element
+ */
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_signature_value(const axis2_env_t *env,
- axiom_node_t *sv_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_signature_value(const axis2_env_t *env,
+ axiom_node_t *sv_node);
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_signature_value_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* signature_val
- );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_signature_value_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* signature_val
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_signed_info.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_signed_info.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_signed_info.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_signed_info.h Wed Mar 28 01:54:30 2007
@@ -34,16 +34,16 @@
{
#endif
-/**
-* SignedInfo element
-*/
-AXIS2_EXTERN axiom_node_t *AXIS2_CALL
-oxs_token_build_signed_info_element(const axis2_env_t *env,
- axiom_node_t *parent
- );
+ /**
+ * SignedInfo element
+ */
+ AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+ oxs_token_build_signed_info_element(const axis2_env_t *env,
+ axiom_node_t *parent
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_transform.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_transform.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_transform.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_transform.h Wed Mar 28 01:54:30 2007
@@ -35,18 +35,18 @@
#endif
-/**
-* ds:Transform element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_transform_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *algorithm
- );
+ /**
+ * ds:Transform element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_transform_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *algorithm
+ );
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_token_get_transform(const axis2_env_t *env, axiom_node_t *transform_node);
-/** @} */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_token_get_transform(const axis2_env_t *env, axiom_node_t *transform_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_transforms.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_transforms.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_transforms.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_transforms.h Wed Mar 28 01:54:30 2007
@@ -34,16 +34,16 @@
{
#endif
-/**
-* ds:Transforms element
-*/
-AXIS2_EXTERN axiom_node_t *AXIS2_CALL
-oxs_token_build_transforms_element(const axis2_env_t *env,
- axiom_node_t *parent
- );
+ /**
+ * ds:Transforms element
+ */
+ AXIS2_EXTERN axiom_node_t *AXIS2_CALL
+ oxs_token_build_transforms_element(const axis2_env_t *env,
+ axiom_node_t *parent
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_x509_certificate.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_x509_certificate.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_x509_certificate.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_x509_certificate.h Wed Mar 28 01:54:30 2007
@@ -34,23 +34,23 @@
{
#endif
-/**
-* ds:X509Certificate element
-*/
+ /**
+ * ds:X509Certificate element
+ */
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_x509_certificate(const axis2_env_t *env,
- axiom_node_t *sv_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_x509_certificate(const axis2_env_t *env,
+ axiom_node_t *sv_node);
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_x509_certificate_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* cert_data
- );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_x509_certificate_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* cert_data
+ );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_x509_data.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_x509_data.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_x509_data.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_x509_data.h Wed Mar 28 01:54:30 2007
@@ -34,14 +34,14 @@
{
#endif
-/**
-* X509Data element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_x509_data_element(const axis2_env_t *env,
- axiom_node_t *parent);
+ /**
+ * X509Data element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_x509_data_element(const axis2_env_t *env,
+ axiom_node_t *parent);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_x509_issuer_name.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_x509_issuer_name.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_x509_issuer_name.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_x509_issuer_name.h Wed Mar 28 01:54:30 2007
@@ -34,20 +34,20 @@
{
#endif
-/**
-* X509IssuerName element
-*/
+ /**
+ * X509IssuerName element
+ */
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_issuer_name(const axis2_env_t *env,
- axiom_node_t *issuer_name_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_issuer_name(const axis2_env_t *env,
+ axiom_node_t *issuer_name_node);
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_issuer_name_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* value );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_issuer_name_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* value );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_x509_issuer_serial.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_x509_issuer_serial.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_x509_issuer_serial.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_x509_issuer_serial.h Wed Mar 28 01:54:30 2007
@@ -34,21 +34,21 @@
{
#endif
-/**
-* X509Data element
-*/
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_x509_issuer_serial_with_data(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t *issuer_name,
- axis2_char_t *serial_number);
+ /**
+ * X509Data element
+ */
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_x509_issuer_serial_with_data(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t *issuer_name,
+ axis2_char_t *serial_number);
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_x509_issuer_serial_element(const axis2_env_t *env,
- axiom_node_t *parent);
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_x509_issuer_serial_element(const axis2_env_t *env,
+ axiom_node_t *parent);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_token_x509_serial_number.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_token_x509_serial_number.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_token_x509_serial_number.h (original)
+++ webservices/rampart/trunk/c/include/oxs_token_x509_serial_number.h Wed Mar 28 01:54:30 2007
@@ -34,20 +34,20 @@
{
#endif
-/**
-* X509IssuerName element
-*/
+ /**
+ * X509IssuerName element
+ */
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_token_get_serial_number(const axis2_env_t *env,
- axiom_node_t *serial_number_node);
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_token_get_serial_number(const axis2_env_t *env,
+ axiom_node_t *serial_number_node);
-AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_build_serial_number_element(const axis2_env_t *env,
- axiom_node_t *parent,
- axis2_char_t* value );
+ AXIS2_EXTERN axiom_node_t* AXIS2_CALL
+ oxs_token_build_serial_number_element(const axis2_env_t *env,
+ axiom_node_t *parent,
+ axis2_char_t* value );
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_tokens.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_tokens.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_tokens.h (original)
+++ webservices/rampart/trunk/c/include/oxs_tokens.h Wed Mar 28 01:54:30 2007
@@ -14,39 +14,39 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
+
#ifndef OXS_TOKENS_H
#define OXS_TOKENS_H
-#include <axis2_qname.h>
+#include <axis2_qname.h>
#include <oxs_token_binary_security_token.h>
#include <oxs_token_embedded.h>
-#include <oxs_token_reference_list.h>
+#include <oxs_token_reference_list.h>
#include <oxs_token_transforms.h>
-#include <oxs_token_c14n_method.h>
-#include <oxs_token_encrypted_data.h>
-#include <oxs_token_security_token_reference.h>
+#include <oxs_token_c14n_method.h>
+#include <oxs_token_encrypted_data.h>
+#include <oxs_token_security_token_reference.h>
#include <oxs_token_x509_certificate.h>
-#include <oxs_token_cipher_data.h>
-#include <oxs_token_encrypted_key.h>
+#include <oxs_token_cipher_data.h>
+#include <oxs_token_encrypted_key.h>
#include <oxs_token_x509_data.h>
-#include <oxs_token_cipher_value.h>
-#include <oxs_token_encryption_method.h>
-#include <oxs_token_signature.h>
+#include <oxs_token_cipher_value.h>
+#include <oxs_token_encryption_method.h>
+#include <oxs_token_signature.h>
#include <oxs_token_x509_issuer_name.h>
-#include <oxs_token_data_reference.h>
-#include <oxs_token_key_identifier.h>
-#include <oxs_token_signature_method.h>
+#include <oxs_token_data_reference.h>
+#include <oxs_token_key_identifier.h>
+#include <oxs_token_signature_method.h>
#include <oxs_token_x509_issuer_serial.h>
-#include <oxs_token_digest_method.h>
-#include <oxs_token_key_info.h>
-#include <oxs_token_signature_value.h>
+#include <oxs_token_digest_method.h>
+#include <oxs_token_key_info.h>
+#include <oxs_token_signature_value.h>
#include <oxs_token_x509_serial_number.h>
-#include <oxs_token_digest_value.h>
-#include <oxs_token_key_name.h>
+#include <oxs_token_digest_value.h>
+#include <oxs_token_key_name.h>
#include <oxs_token_signed_info.h>
-#include <oxs_token_ds_reference.h>
-#include <oxs_token_reference.h>
+#include <oxs_token_ds_reference.h>
+#include <oxs_token_reference.h>
#include <oxs_token_transform.h>
@@ -61,7 +61,7 @@
{
#endif
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
Modified: webservices/rampart/trunk/c/include/oxs_transform.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_transform.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_transform.h (original)
+++ webservices/rampart/trunk/c/include/oxs_transform.h Wed Mar 28 01:54:30 2007
@@ -38,16 +38,16 @@
typedef enum {
OXS_TRANSFORM_TYPE_UNKNOWN = 0,
OXS_TRANSFORM_TYPE_CHAR,
- OXS_TRANSFORM_TYPE_NODE
+ OXS_TRANSFORM_TYPE_NODE
} oxs_tr_dtype_t;
/*Function interface for any transform*/
typedef oxs_tr_dtype_t (AXIS2_CALL*
- oxs_transform_tr_func)(const axis2_env_t *env,
- void *input,
- oxs_tr_dtype_t input_dtype,
- void **output);
+ oxs_transform_tr_func)(const axis2_env_t *env,
+ void *input,
+ oxs_tr_dtype_t input_dtype,
+ void **output);
typedef struct oxs_transform_t oxs_transform_t;
@@ -59,56 +59,56 @@
/*Free*/
AXIS2_EXTERN axis2_status_t AXIS2_CALL
oxs_transform_free(oxs_transform_t *ctx,
+ const axis2_env_t *env);
+
+
+ /**********************Getter functions******************************************/
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_transform_get_id(
+ const oxs_transform_t *transform,
const axis2_env_t *env);
+ AXIS2_EXTERN oxs_tr_dtype_t AXIS2_CALL
+ oxs_transform_get_input_data_type(
+ const oxs_transform_t *transform,
+ const axis2_env_t *env);
-/**********************Getter functions******************************************/
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_transform_get_id(
- const oxs_transform_t *transform,
- const axis2_env_t *env);
-
-AXIS2_EXTERN oxs_tr_dtype_t AXIS2_CALL
-oxs_transform_get_input_data_type(
- const oxs_transform_t *transform,
- const axis2_env_t *env);
-
-AXIS2_EXTERN oxs_tr_dtype_t AXIS2_CALL
-oxs_transform_get_output_data_type(
- const oxs_transform_t *transform,
- const axis2_env_t *env);
+ AXIS2_EXTERN oxs_tr_dtype_t AXIS2_CALL
+ oxs_transform_get_output_data_type(
+ const oxs_transform_t *transform,
+ const axis2_env_t *env);
-AXIS2_EXTERN oxs_transform_tr_func AXIS2_CALL
+ AXIS2_EXTERN oxs_transform_tr_func AXIS2_CALL
oxs_transform_get_transform_function(
- const oxs_transform_t *transform,
- const axis2_env_t *env);
+ const oxs_transform_t *transform,
+ const axis2_env_t *env);
+
+ /**********************Setter functions******************************************/
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_transform_set_id(
+ oxs_transform_t *transform,
+ const axis2_env_t *env,
+ axis2_char_t *id);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_transform_set_input_data_type(
+ oxs_transform_t *transform,
+ const axis2_env_t *env,
+ oxs_tr_dtype_t input_data_type);
-/**********************Setter functions******************************************/
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_transform_set_id(
- oxs_transform_t *transform,
- const axis2_env_t *env,
- axis2_char_t *id);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_transform_set_input_data_type(
- oxs_transform_t *transform,
- const axis2_env_t *env,
- oxs_tr_dtype_t input_data_type);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_transform_set_output_data_type(
- oxs_transform_t *transform,
- const axis2_env_t *env,
- oxs_tr_dtype_t output_data_type);
-
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_transform_set_transform_func(
- oxs_transform_t *transform,
- const axis2_env_t *env,
- oxs_transform_tr_func transform_func);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_transform_set_output_data_type(
+ oxs_transform_t *transform,
+ const axis2_env_t *env,
+ oxs_tr_dtype_t output_data_type);
+
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_transform_set_transform_func(
+ oxs_transform_t *transform,
+ const axis2_env_t *env,
+ oxs_transform_tr_func transform_func);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_transforms_factory.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_transforms_factory.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_transforms_factory.h (original)
+++ webservices/rampart/trunk/c/include/oxs_transforms_factory.h Wed Mar 28 01:54:30 2007
@@ -37,12 +37,12 @@
{
#endif
-AXIS2_EXTERN oxs_transform_t *AXIS2_CALL
-oxs_transforms_factory_produce_transform(const axis2_env_t *env,
- axis2_char_t *id);
+ AXIS2_EXTERN oxs_transform_t *AXIS2_CALL
+ oxs_transforms_factory_produce_transform(const axis2_env_t *env,
+ axis2_char_t *id);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_utility.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_utility.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_utility.h (original)
+++ webservices/rampart/trunk/c/include/oxs_utility.h Wed Mar 28 01:54:30 2007
@@ -33,40 +33,40 @@
{
#endif
-/**
- * Generates an id for an element.
- * Specially used in xml encryption and signature references.
- * @param env pointer to environment struct
- * @param prefix the prefix of the id. For ex: EncDataID-1u343yrcarwqe
- * @return the generated id
- **/
-AXIS2_EXTERN axis2_char_t* AXIS2_CALL
-oxs_util_generate_id(const axis2_env_t *env,
- axis2_char_t *prefix);
+ /**
+ * Generates an id for an element.
+ * Specially used in xml encryption and signature references.
+ * @param env pointer to environment struct
+ * @param prefix the prefix of the id. For ex: EncDataID-1u343yrcarwqe
+ * @return the generated id
+ **/
+ AXIS2_EXTERN axis2_char_t* AXIS2_CALL
+ oxs_util_generate_id(const axis2_env_t *env,
+ axis2_char_t *prefix);
-/**
- * Given the filename returns the format of the file.
- * These formats are defined in asym_ctx.h
- * @param env pointer to environment struct
- * @param file_name the file name
- **/
-AXIS2_EXTERN oxs_asym_ctx_format_t AXIS2_CALL
-oxs_util_get_format_by_file_extension(const axis2_env_t *env,
- axis2_char_t *file_name);
+ /**
+ * Given the filename returns the format of the file.
+ * These formats are defined in asym_ctx.h
+ * @param env pointer to environment struct
+ * @param file_name the file name
+ **/
+ AXIS2_EXTERN oxs_asym_ctx_format_t AXIS2_CALL
+ oxs_util_get_format_by_file_extension(const axis2_env_t *env,
+ axis2_char_t *file_name);
-/**
- * Given string and returns new lined removed string
- * @param env pointer to environment struct
- * @param input a pointer to the string which has \n s.
- * return the newline removed buffer.
- **/
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_util_get_newline_removed_string(const axis2_env_t *env,
- axis2_char_t *input);
+ /**
+ * Given string and returns new lined removed string
+ * @param env pointer to environment struct
+ * @param input a pointer to the string which has \n s.
+ * return the newline removed buffer.
+ **/
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_util_get_newline_removed_string(const axis2_env_t *env,
+ axis2_char_t *input);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_x509_cert.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_x509_cert.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_x509_cert.h (original)
+++ webservices/rampart/trunk/c/include/oxs_x509_cert.h Wed Mar 28 01:54:30 2007
@@ -34,245 +34,245 @@
{
#endif
-/** @defgroup oxs_x509_cert
- * @ingroup
- * @{
- */
-
-
-typedef struct oxs_x509_cert_t oxs_x509_cert_t;
-
-/**
- * Create function of the X509 certificate
- * @param env pointer to environment struct
- * @return created X509 certificate
- **/
-AXIS2_EXTERN oxs_x509_cert_t *AXIS2_CALL
-oxs_x509_cert_create( const axis2_env_t *env);
-
-/**
- * Free function of the X509 certificate
- * @param x509_cert the X509 certificate to be freed
- * @param env pointer to environment struct
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- **/
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_free(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/*Getters*/
-/**
- * Get the serial number of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the serial number of X509 certificate
- */
-AXIS2_EXTERN int AXIS2_CALL
-oxs_x509_cert_get_serial_number(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the subject of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the subject of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_subject(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the issuer of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the issuer of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_issuer(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the key identifier of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the key identifier of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_key_identifier(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the finger print of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the finger print of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_fingerprint(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the expiration date of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the expiration date of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_date(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the hash of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the hash of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_hash(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the data of X509 Certificate
- * This is the base64 encoded string in between the --BEGIN CERTIFICATE- --END CERTIFICATE-- lines
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the data of X509 certificate
- */
-AXIS2_EXTERN axis2_char_t *AXIS2_CALL
-oxs_x509_cert_get_data(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/**
- * Get the public key of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @return the public key of X509 certificate
- */
-AXIS2_EXTERN openssl_pkey_t *AXIS2_CALL
-oxs_x509_cert_get_public_key(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env);
-
-/*Setters*/
-/**
- * Set the serial number of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the serial number of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_serial_number(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- int value);
-
-/**
- * Set the issuer of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the issuer of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_issuer(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the key identifier of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the key identifier of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_key_identifier(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the subject of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the subject of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_subject(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the finger print of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the fingerprint of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_fingerprint(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the expiration date of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the expiration date of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_date(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the hash of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the hash of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_hash(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the data of X509 Certificate.
- * This is the base64 encoded string in between the --BEGIN CERTIFICATE- --END CERTIFICATE-- lines
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param value the data of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_data(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- axis2_char_t *value);
-
-/**
- * Set the public key of X509 Certificate
- * @param x509_cert the X509 certificate
- * @param env pointer to environment struct
- * @param public_key public key of X509 Certificate
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_set_public_key(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- openssl_pkey_t *public_key);
-/**
- * Copy contents of a certificate to another
- * @param x509_cert the X509 certificate, the source
- * @param env pointer to environment struct
- * @param to, another x509 certificate, the target
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_x509_cert_copy_to(oxs_x509_cert_t *x509_cert,
- const axis2_env_t *env,
- oxs_x509_cert_t *to);
-/** @} */
+ /** @defgroup oxs_x509_cert
+ * @ingroup
+ * @{
+ */
+
+
+ typedef struct oxs_x509_cert_t oxs_x509_cert_t;
+
+ /**
+ * Create function of the X509 certificate
+ * @param env pointer to environment struct
+ * @return created X509 certificate
+ **/
+ AXIS2_EXTERN oxs_x509_cert_t *AXIS2_CALL
+ oxs_x509_cert_create( const axis2_env_t *env);
+
+ /**
+ * Free function of the X509 certificate
+ * @param x509_cert the X509 certificate to be freed
+ * @param env pointer to environment struct
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ **/
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_free(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /*Getters*/
+ /**
+ * Get the serial number of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the serial number of X509 certificate
+ */
+ AXIS2_EXTERN int AXIS2_CALL
+ oxs_x509_cert_get_serial_number(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the subject of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the subject of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_subject(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the issuer of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the issuer of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_issuer(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the key identifier of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the key identifier of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_key_identifier(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the finger print of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the finger print of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_fingerprint(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the expiration date of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the expiration date of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_date(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the hash of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the hash of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_hash(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the data of X509 Certificate
+ * This is the base64 encoded string in between the --BEGIN CERTIFICATE- --END CERTIFICATE-- lines
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the data of X509 certificate
+ */
+ AXIS2_EXTERN axis2_char_t *AXIS2_CALL
+ oxs_x509_cert_get_data(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /**
+ * Get the public key of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @return the public key of X509 certificate
+ */
+ AXIS2_EXTERN openssl_pkey_t *AXIS2_CALL
+ oxs_x509_cert_get_public_key(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env);
+
+ /*Setters*/
+ /**
+ * Set the serial number of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the serial number of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_serial_number(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ int value);
+
+ /**
+ * Set the issuer of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the issuer of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_issuer(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the key identifier of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the key identifier of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_key_identifier(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the subject of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the subject of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_subject(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the finger print of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the fingerprint of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_fingerprint(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the expiration date of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the expiration date of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_date(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the hash of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the hash of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_hash(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the data of X509 Certificate.
+ * This is the base64 encoded string in between the --BEGIN CERTIFICATE- --END CERTIFICATE-- lines
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param value the data of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_data(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ axis2_char_t *value);
+
+ /**
+ * Set the public key of X509 Certificate
+ * @param x509_cert the X509 certificate
+ * @param env pointer to environment struct
+ * @param public_key public key of X509 Certificate
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_set_public_key(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ openssl_pkey_t *public_key);
+ /**
+ * Copy contents of a certificate to another
+ * @param x509_cert the X509 certificate, the source
+ * @param env pointer to environment struct
+ * @param to, another x509 certificate, the target
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_x509_cert_copy_to(oxs_x509_cert_t *x509_cert,
+ const axis2_env_t *env,
+ oxs_x509_cert_t *to);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_xml_encryption.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_xml_encryption.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_xml_encryption.h (original)
+++ webservices/rampart/trunk/c/include/oxs_xml_encryption.h Wed Mar 28 01:54:30 2007
@@ -36,100 +36,100 @@
{
#endif
-/**
- * Encrypts a given node as specified in the @enc_ctx.
- * A reference is taken for the EncryptedData to place the encrypted data.
- * @param env pointer to environment struct
- * @param enc_ctx encryption context
- * @param node the node tobe encrypted
- * @param enc_type_node reference to the EncryptedData node
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_enc_encrypt_node(const axis2_env_t *env,
- oxs_ctx_t * enc_ctx,
- axiom_node_t *node,
- axiom_node_t **enc_type_node);
+ /**
+ * Encrypts a given node as specified in the @enc_ctx.
+ * A reference is taken for the EncryptedData to place the encrypted data.
+ * @param env pointer to environment struct
+ * @param enc_ctx encryption context
+ * @param node the node tobe encrypted
+ * @param enc_type_node reference to the EncryptedData node
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_enc_encrypt_node(const axis2_env_t *env,
+ oxs_ctx_t * enc_ctx,
+ axiom_node_t *node,
+ axiom_node_t **enc_type_node);
-/**
- * Decrypts a node as specified in the @enc_ctx.
- * A reference is taken to assign the address of the decrypted node
- * @param env pointer to environment struct
- * @param enc_ctx encryption context
- * @param enc_type_node the EncryptedData node which needs to be decrypted
- * @param decrypted_node reference to the decrypted node
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_enc_decrypt_node(const axis2_env_t *env,
- oxs_ctx_t * enc_ctx,
- axiom_node_t *enc_type_node,
- axiom_node_t **decrypted_node);
+ /**
+ * Decrypts a node as specified in the @enc_ctx.
+ * A reference is taken to assign the address of the decrypted node
+ * @param env pointer to environment struct
+ * @param enc_ctx encryption context
+ * @param enc_type_node the EncryptedData node which needs to be decrypted
+ * @param decrypted_node reference to the decrypted node
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_enc_decrypt_node(const axis2_env_t *env,
+ oxs_ctx_t * enc_ctx,
+ axiom_node_t *enc_type_node,
+ axiom_node_t **decrypted_node);
-/**
- * Encrypts data or the content of the @content_buf as specified in the @enc_ctx.
- * A reference is taken for the EncryptedData to place the encrypted data
- * @param env pointer to environment struct
- * @param enc_ctx encryption context
- * @param content_buf the content to be encrypted.
- * @param enc_type_node reference to the EncryptedData node
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_enc_encrypt_data(const axis2_env_t *env,
- oxs_ctx_t * enc_ctx,
- oxs_buffer_t *content_buf,
- axiom_node_t **enc_type_node);
+ /**
+ * Encrypts data or the content of the @content_buf as specified in the @enc_ctx.
+ * A reference is taken for the EncryptedData to place the encrypted data
+ * @param env pointer to environment struct
+ * @param enc_ctx encryption context
+ * @param content_buf the content to be encrypted.
+ * @param enc_type_node reference to the EncryptedData node
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_enc_encrypt_data(const axis2_env_t *env,
+ oxs_ctx_t * enc_ctx,
+ oxs_buffer_t *content_buf,
+ axiom_node_t **enc_type_node);
-/**
- * Decrypts @enc_type_node and places the data inside the @result_buf
- * The name of the method is bit tricky as it doesn't exactly decrypts a data buffer.
- * @param env pointer to environment struct
- * @param enc_ctx encryption context
- * @param enc_type_node the EncryptedData node which needs to be decrypted
- * @param result_buf the buffer to keep the decrypted content
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_enc_decrypt_data(const axis2_env_t *env,
- oxs_ctx_t * enc_ctx,
- axiom_node_t *enc_type_node,
- oxs_buffer_t *result_buf);
+ /**
+ * Decrypts @enc_type_node and places the data inside the @result_buf
+ * The name of the method is bit tricky as it doesn't exactly decrypts a data buffer.
+ * @param env pointer to environment struct
+ * @param enc_ctx encryption context
+ * @param enc_type_node the EncryptedData node which needs to be decrypted
+ * @param result_buf the buffer to keep the decrypted content
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_enc_decrypt_data(const axis2_env_t *env,
+ oxs_ctx_t * enc_ctx,
+ axiom_node_t *enc_type_node,
+ oxs_buffer_t *result_buf);
-/**
- * Encrypts a key/data in asymmetric way as specified in @asym_ctx.
- * This method is specifically written to support the key encryption in WS-Secruity
- * @param env pointer to environment struct
- * @param enc_ctx encryption context
- * @param parent parent of the EncryptedKey node
- * @param sym_key, the symmetric key that needs to be encrypted
- * @param id_list the list of nodes that are encrypted by this particular key
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_enc_encrypt_key(const axis2_env_t *env,
+ /**
+ * Encrypts a key/data in asymmetric way as specified in @asym_ctx.
+ * This method is specifically written to support the key encryption in WS-Secruity
+ * @param env pointer to environment struct
+ * @param enc_ctx encryption context
+ * @param parent parent of the EncryptedKey node
+ * @param sym_key, the symmetric key that needs to be encrypted
+ * @param id_list the list of nodes that are encrypted by this particular key
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_enc_encrypt_key(const axis2_env_t *env,
oxs_asym_ctx_t * asym_ctx,
axiom_node_t *parent,
oxs_key_t *sym_key,
axis2_array_list_t *id_list);
-/**
- * Decrypts a key/data in asymmetric way as specified in @asym_ctx.
- * This method is specifically written to support the key decryption in WS-Secruity
- * @param env pointer to environment struct
- * @param enc_ctx encryption context
- * @param parent parent of the EncryptedKey node
- * @param encrypted_key_node the EncryptedKey node
- * @param key, the key which holds the decrypted key data
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_enc_decrypt_key(const axis2_env_t *env,
+ /**
+ * Decrypts a key/data in asymmetric way as specified in @asym_ctx.
+ * This method is specifically written to support the key decryption in WS-Secruity
+ * @param env pointer to environment struct
+ * @param enc_ctx encryption context
+ * @param parent parent of the EncryptedKey node
+ * @param encrypted_key_node the EncryptedKey node
+ * @param key, the key which holds the decrypted key data
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_enc_decrypt_key(const axis2_env_t *env,
oxs_asym_ctx_t * asym_ctx,
axiom_node_t *parent,
axiom_node_t *encrypted_key_node,
- oxs_key_t *key);
-/** @} */
+ oxs_key_t *key);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_xml_key_info_builder.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_xml_key_info_builder.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_xml_key_info_builder.h (original)
+++ webservices/rampart/trunk/c/include/oxs_xml_key_info_builder.h Wed Mar 28 01:54:30 2007
@@ -36,29 +36,29 @@
{
#endif
-typedef enum{
- OXS_KIBP_UNKNOWN = 0,
- OXS_KIBP_X509DATA_X509CERTIFICATE,
- OXS_KIBP_X509DATA_ISSUER_SERIAL,
-}oxs_key_info_build_pattern_t;
+ typedef enum{
+ OXS_KIBP_UNKNOWN = 0,
+ OXS_KIBP_X509DATA_X509CERTIFICATE,
+ OXS_KIBP_X509DATA_ISSUER_SERIAL,
+ }oxs_key_info_build_pattern_t;
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_info_build(const axis2_env_t *env,
- axiom_node_t *parent,
- oxs_x509_cert_t *cert,
- oxs_key_info_build_pattern_t pattern);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_info_build(const axis2_env_t *env,
+ axiom_node_t *parent,
+ oxs_x509_cert_t *cert,
+ oxs_key_info_build_pattern_t pattern);
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_info_build_x509_data_x509_certificate(const axis2_env_t *env,
- axiom_node_t *parent,
- oxs_x509_cert_t *cert);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_info_build_x509_data_x509_certificate(const axis2_env_t *env,
+ axiom_node_t *parent,
+ oxs_x509_cert_t *cert);
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_info_build_x509_data_issuer_serial(const axis2_env_t *env,
- axiom_node_t *parent,
- oxs_x509_cert_t *cert);
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_info_build_x509_data_issuer_serial(const axis2_env_t *env,
+ axiom_node_t *parent,
+ oxs_x509_cert_t *cert);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_xml_key_processor.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_xml_key_processor.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_xml_key_processor.h (original)
+++ webservices/rampart/trunk/c/include/oxs_xml_key_processor.h Wed Mar 28 01:54:30 2007
@@ -35,38 +35,38 @@
extern "C"
{
#endif
-/*Process a ds:X509SKI element and populate a certificate */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_process_X509SKI(const axis2_env_t *env,
- axiom_node_t *X509SKI_node,
- oxs_x509_cert_t *cert);
-
-/*Process a ds:X509SubjectName element and populate a certificate*/
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_process_X509SubjectName(const axis2_env_t *env,
- axiom_node_t *X509_subj_name_node,
- oxs_x509_cert_t *cert);
-
-/*Process a ds:X509IssuerSerial element and populate a certificate*/
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_process_X509IssuerSerial(const axis2_env_t *env,
- axiom_node_t *X509_issuer_serial_node,
- oxs_x509_cert_t *cert);
-
-/*Process data in a ds:X509Certificate and returns a certificate*/
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_process_X509Certificate(const axis2_env_t *env,
- axiom_node_t *X509_cert_node,
- oxs_x509_cert_t *cert);
-
-/*Higher level function ot process an ds:X509Data element*/
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_key_process_X509Data(const axis2_env_t *env,
- axiom_node_t *X509_data_node,
- oxs_x509_cert_t *cert);
+ /*Process a ds:X509SKI element and populate a certificate */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_process_X509SKI(const axis2_env_t *env,
+ axiom_node_t *X509SKI_node,
+ oxs_x509_cert_t *cert);
+
+ /*Process a ds:X509SubjectName element and populate a certificate*/
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_process_X509SubjectName(const axis2_env_t *env,
+ axiom_node_t *X509_subj_name_node,
+ oxs_x509_cert_t *cert);
+
+ /*Process a ds:X509IssuerSerial element and populate a certificate*/
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_process_X509IssuerSerial(const axis2_env_t *env,
+ axiom_node_t *X509_issuer_serial_node,
+ oxs_x509_cert_t *cert);
+
+ /*Process data in a ds:X509Certificate and returns a certificate*/
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_process_X509Certificate(const axis2_env_t *env,
+ axiom_node_t *X509_cert_node,
+ oxs_x509_cert_t *cert);
+
+ /*Higher level function ot process an ds:X509Data element*/
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_key_process_X509Data(const axis2_env_t *env,
+ axiom_node_t *X509_data_node,
+ oxs_x509_cert_t *cert);
-/** @} */
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/oxs_xml_signature.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/oxs_xml_signature.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/oxs_xml_signature.h (original)
+++ webservices/rampart/trunk/c/include/oxs_xml_signature.h Wed Mar 28 01:54:30 2007
@@ -37,84 +37,84 @@
extern "C"
{
#endif
-/**
- * Sign according to the information available in the @sign_ctx.
- * @env pointer to environment struct
- * @sign_ctx the signature context
- * @parent the node that the ds:Signature element should be attached.
- * @sig_node a reference to the ds:Signature node
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_sig_sign(const axis2_env_t *env,
- oxs_sign_ctx_t *sign_ctx,
- axiom_node_t *parent,
- axiom_node_t **sig_node);
-
-/**
- * Verify a complete xml document
- * @env pointer to environment struct
- * @sign_ctx the signature context
- * @signature_node the ds:Signature node
- * @scope_node the root node in which the referenced are found
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_sig_verify(const axis2_env_t *env,
- oxs_sign_ctx_t *sign_ctx,
- axiom_node_t *signature_node,
- axiom_node_t *scope_node);
-
-/**
- * Verify a single signature part @sign_part.
- * Do transforms, Generate digest and compare with the digest in hand
- * @env pointer to environment struct
- * @sign_part the signature part
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_sig_verify_sign_part(const axis2_env_t *env,
- oxs_sign_part_t *sign_part);
-
-/**
- * Verify all digests in signature parts of a single signature context @sign_ctx
- * @env pointer to environment struct
- * @sign_ctx the signature context
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_sig_verify_digests(const axis2_env_t *env,
- oxs_sign_ctx_t *sign_ctx);
-
-
-/**
- * Process the ds:Reference node. Populate a signature part
- * @env pointer to environment struct
- * @sign_part the signature part
- * @ref_node the ds:Reference node
- * @scope_node the root node in which the referenced are found
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_sig_process_ref_node(const axis2_env_t *env,
- oxs_sign_part_t *sign_part,
- axiom_node_t *ref_node,
- axiom_node_t *scope_node);
-
-/**
- * Process the ds:Signature node. Populate a signature context
- * @env pointer to environment struct
- * @sign_ctx the signature context
- * @signature_node the ds:Signature node
- * @scope_node the root node in which the referenced are found
- * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
- */
-AXIS2_EXTERN axis2_status_t AXIS2_CALL
-oxs_xml_sig_process_signature_node(const axis2_env_t *env,
- oxs_sign_ctx_t *sign_ctx,
- axiom_node_t *signature_node,
- axiom_node_t *scope_node);
-/** @} */
+ /**
+ * Sign according to the information available in the @sign_ctx.
+ * @env pointer to environment struct
+ * @sign_ctx the signature context
+ * @parent the node that the ds:Signature element should be attached.
+ * @sig_node a reference to the ds:Signature node
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_sig_sign(const axis2_env_t *env,
+ oxs_sign_ctx_t *sign_ctx,
+ axiom_node_t *parent,
+ axiom_node_t **sig_node);
+
+ /**
+ * Verify a complete xml document
+ * @env pointer to environment struct
+ * @sign_ctx the signature context
+ * @signature_node the ds:Signature node
+ * @scope_node the root node in which the referenced are found
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_sig_verify(const axis2_env_t *env,
+ oxs_sign_ctx_t *sign_ctx,
+ axiom_node_t *signature_node,
+ axiom_node_t *scope_node);
+
+ /**
+ * Verify a single signature part @sign_part.
+ * Do transforms, Generate digest and compare with the digest in hand
+ * @env pointer to environment struct
+ * @sign_part the signature part
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_sig_verify_sign_part(const axis2_env_t *env,
+ oxs_sign_part_t *sign_part);
+
+ /**
+ * Verify all digests in signature parts of a single signature context @sign_ctx
+ * @env pointer to environment struct
+ * @sign_ctx the signature context
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_sig_verify_digests(const axis2_env_t *env,
+ oxs_sign_ctx_t *sign_ctx);
+
+
+ /**
+ * Process the ds:Reference node. Populate a signature part
+ * @env pointer to environment struct
+ * @sign_part the signature part
+ * @ref_node the ds:Reference node
+ * @scope_node the root node in which the referenced are found
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_sig_process_ref_node(const axis2_env_t *env,
+ oxs_sign_part_t *sign_part,
+ axiom_node_t *ref_node,
+ axiom_node_t *scope_node);
+
+ /**
+ * Process the ds:Signature node. Populate a signature context
+ * @env pointer to environment struct
+ * @sign_ctx the signature context
+ * @signature_node the ds:Signature node
+ * @scope_node the root node in which the referenced are found
+ * @return AXIS2_SUCCESS on success, else AXIS2_FAILURE
+ */
+ AXIS2_EXTERN axis2_status_t AXIS2_CALL
+ oxs_xml_sig_process_signature_node(const axis2_env_t *env,
+ oxs_sign_ctx_t *sign_ctx,
+ axiom_node_t *signature_node,
+ axiom_node_t *scope_node);
+ /** @} */
#ifdef __cplusplus
}
#endif
Modified: webservices/rampart/trunk/c/include/rampart_authn_provider.h
URL: http://svn.apache.org/viewvc/webservices/rampart/trunk/c/include/rampart_authn_provider.h?view=diff&rev=523234&r1=523233&r2=523234
==============================================================================
--- webservices/rampart/trunk/c/include/rampart_authn_provider.h (original)
+++ webservices/rampart/trunk/c/include/rampart_authn_provider.h Wed Mar 28 01:54:30 2007
@@ -41,7 +41,7 @@
RAMPART_AUTHN_PROVIDER_USER_NOT_FOUND,
RAMPART_AUTHN_PROVIDER_GENERAL_ERROR
} rampart_authn_provider_status;
-
+
typedef enum rampart_authn_provider_status rampart_authn_provider_status_t;
/**
@@ -51,7 +51,7 @@
* @{
*/
- /**
+ /**
* Type name for struct rampart_authn_provider_ops
*/
typedef struct rampart_authn_provider_ops rampart_authn_provider_ops_t;
@@ -61,36 +61,36 @@
*/
typedef struct rampart_authn_provider rampart_authn_provider_t;
-
+
/**
*/
- struct rampart_authn_provider_ops
- {
-
-
- rampart_authn_provider_status_t (AXIS2_CALL*
- rampart_authn_provider_check_password)(
- rampart_authn_provider_t *authn_provider,
- const axis2_env_t* env,
- axis2_msg_ctx_t *msg_ctx,
- const axis2_char_t *username,
- const axis2_char_t *password
- );
-
- rampart_authn_provider_status_t (AXIS2_CALL*
- rampart_authn_provider_check_password_digest)(
- rampart_authn_provider_t *authn_provider,
- const axis2_env_t* env,
- axis2_msg_ctx_t *msg_ctx,
- const axis2_char_t *username,
- const axis2_char_t *nonce,
- const axis2_char_t *created,
- const char *digest
- );
-
- axis2_status_t (AXIS2_CALL*
- free)(rampart_authn_provider_t *authn_provider,
- const axis2_env_t* env);
+ struct rampart_authn_provider_ops
+ {
+
+
+ rampart_authn_provider_status_t (AXIS2_CALL*
+ rampart_authn_provider_check_password)(
+ rampart_authn_provider_t *authn_provider,
+ const axis2_env_t* env,
+ axis2_msg_ctx_t *msg_ctx,
+ const axis2_char_t *username,
+ const axis2_char_t *password
+ );
+
+ rampart_authn_provider_status_t (AXIS2_CALL*
+ rampart_authn_provider_check_password_digest)(
+ rampart_authn_provider_t *authn_provider,
+ const axis2_env_t* env,
+ axis2_msg_ctx_t *msg_ctx,
+ const axis2_char_t *username,
+ const axis2_char_t *nonce,
+ const axis2_char_t *created,
+ const char *digest
+ );
+
+ axis2_status_t (AXIS2_CALL*
+ free)(rampart_authn_provider_t *authn_provider,
+ const axis2_env_t* env);
};
@@ -99,8 +99,8 @@
rampart_authn_provider_ops_t *ops;
};
-/*************************** Function macros **********************************/
-/*TODO write the implementation*/
+ /*************************** Function macros **********************************/
+ /*TODO write the implementation*/
#define RAMPART_AUTHN_PROVIDER_FREE(authn_provider, env) \
((authn_provider)->ops->free (authn_provider, env))