You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by mu...@apache.org on 2004/08/10 04:58:29 UTC
cvs commit: ws-fx/wss4j/src/org/apache/ws/security/message WSEncryptBody.java
muthulee 2004/08/09 19:58:29
Modified: wss4j/src/org/apache/ws/security/message WSEncryptBody.java
Log:
Removing the 302 line frome WSEncryptBody
i.e. commenting SecretKey symmetricKey = null;
Making the local vriable "symmetricKey" to be class atrribute.
In the process of implementing WS-Secure Conversation.
Revision Changes Path
1.23 +1 -1 ws-fx/wss4j/src/org/apache/ws/security/message/WSEncryptBody.java
Index: WSEncryptBody.java
===================================================================
RCS file: /home/cvs/ws-fx/wss4j/src/org/apache/ws/security/message/WSEncryptBody.java,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- WSEncryptBody.java 9 Aug 2004 17:53:45 -0000 1.22
+++ WSEncryptBody.java 10 Aug 2004 02:58:29 -0000 1.23
@@ -299,7 +299,7 @@
* Second step: generate a symmetric key (session key) for
* this alogrithm, and set the cipher into encryption mode.
*/
- SecretKey symmetricKey = null;
+ // This variable is made a classs attribute :: SecretKey symmetricKey = null;
KeyGenerator keyGen = getKeyGenerator();
symmetricKey = keyGen.generateKey();
XMLCipher xmlCipher = null;