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

svn commit: r430241 - in /webservices/axis2/trunk/c/rampart/include: oxs_constants.h oxs_enc_engine.h oxs_token_encrypted_key.h oxs_token_reference_list.h rampart_constants.h

Author: damitha
Date: Wed Aug  9 22:00:24 2006
New Revision: 430241

URL: http://svn.apache.org/viewvc?rev=430241&view=rev
Log:
Applying patches

Modified:
    webservices/axis2/trunk/c/rampart/include/oxs_constants.h
    webservices/axis2/trunk/c/rampart/include/oxs_enc_engine.h
    webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_key.h
    webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h
    webservices/axis2/trunk/c/rampart/include/rampart_constants.h

Modified: webservices/axis2/trunk/c/rampart/include/oxs_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_constants.h?rev=430241&r1=430240&r2=430241&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_constants.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_constants.h Wed Aug  9 22:00:24 2006
@@ -23,6 +23,9 @@
 {
 #endif
 
+/*Default values*/
+/*Key transfer algo*/
+#define OXS_DEFAULT_KT_ALGO_HREF OXS_HrefRsaPkcs1
 
 
 /*Global prefixes**********************/

Modified: webservices/axis2/trunk/c/rampart/include/oxs_enc_engine.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_enc_engine.h?rev=430241&r1=430240&r2=430241&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_enc_engine.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_enc_engine.h Wed Aug  9 22:00:24 2006
@@ -38,6 +38,20 @@
 {
 #endif
 
+/*Decrypt data using the private key*/
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+oxs_prvkey_decrypt_data(const axis2_env_t *env, oxs_buffer_ptr input, oxs_buffer_ptr result, axis2_char_t *filename);
+
+
+/*Encrypt data using the public key*/
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+oxs_pubkey_encrypt_data(const axis2_env_t *env, oxs_buffer_ptr input, oxs_buffer_ptr result, axis2_char_t *filename );
+
+/*Get the encrypted session key from the EncryptedKeyNode*/
+AXIS2_EXTERN axis2_status_t AXIS2_CALL
+oxs_get_encrypted_key(const axis2_env_t *env,
+                            axiom_node_t *enc_key_node,  
+                            oxs_key_ptr session_key);
 
 /*Does encryption or decryption depending on the enc_ctx*/
 AXIS2_EXTERN axis2_status_t AXIS2_CALL

Modified: webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_key.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_key.h?rev=430241&r1=430240&r2=430241&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_key.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_encrypted_key.h Wed Aug  9 22:00:24 2006
@@ -38,7 +38,7 @@
                         axiom_node_t *parent );
 
 AXIS2_EXTERN axiom_node_t* AXIS2_CALL
-oxs_token_get_encrypted_key(const axis2_env_t *env,
+oxs_token_get_encrypted_key_node(const axis2_env_t *env,
                             axiom_node_t *parent);
 
 

Modified: webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h?rev=430241&r1=430240&r2=430241&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h (original)
+++ webservices/axis2/trunk/c/rampart/include/oxs_token_reference_list.h Wed Aug  9 22:00:24 2006
@@ -42,6 +42,8 @@
                         axiom_node_t *parent
                     );
 
+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);
 
 
 /*TODO write free method*/

Modified: webservices/axis2/trunk/c/rampart/include/rampart_constants.h
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/c/rampart/include/rampart_constants.h?rev=430241&r1=430240&r2=430241&view=diff
==============================================================================
--- webservices/axis2/trunk/c/rampart/include/rampart_constants.h (original)
+++ webservices/axis2/trunk/c/rampart/include/rampart_constants.h Wed Aug  9 22:00:24 2006
@@ -24,7 +24,6 @@
 #endif
 
 /*Default values*/
-#define RAMPART_DEFAULT_KT_ALGO_HREF OXS_HrefRsaPkcs1
 
 /* rampart element names*/
 #define RAMPART_SECURITY "Security"



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