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 di...@apache.org on 2004/07/17 23:26:52 UTC
cvs commit: ws-fx/wss4j/src/org/apache/ws/security/util WSSecurityUtil.java
dims 2004/07/17 14:26:52
Modified: wss4j/lib axis-ant.jar axis.jar jaxrpc.jar saaj.jar
xmlsec.jar
wss4j/src/org/apache/ws/security WSSecurityEngine.java
wss4j/src/org/apache/ws/security/message WSEncryptBody.java
wss4j/src/org/apache/ws/security/util WSSecurityUtil.java
Log:
- Updated xml-sec and axis jars
- getCiperInstance to getCipherInstance
Revision Changes Path
1.9 +57 -59 ws-fx/wss4j/lib/axis-ant.jar
<<Binary file>>
1.10 +2613 -2630ws-fx/wss4j/lib/axis.jar
<<Binary file>>
1.10 +142 -171 ws-fx/wss4j/lib/jaxrpc.jar
<<Binary file>>
1.9 +67 -66 ws-fx/wss4j/lib/saaj.jar
<<Binary file>>
1.5 +1766 -1395ws-fx/wss4j/lib/xmlsec.jar
<<Binary file>>
1.28 +1 -1 ws-fx/wss4j/src/org/apache/ws/security/WSSecurityEngine.java
Index: WSSecurityEngine.java
===================================================================
RCS file: /home/cvs/ws-fx/wss4j/src/org/apache/ws/security/WSSecurityEngine.java,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- WSSecurityEngine.java 1 Jul 2004 19:13:03 -0000 1.27
+++ WSSecurityEngine.java 17 Jul 2004 21:26:52 -0000 1.28
@@ -865,7 +865,7 @@
throw new WSSecurityException
(WSSecurityException.UNSUPPORTED_ALGORITHM, "noEncAlgo");
}
- Cipher cipher = WSSecurityUtil.getCiperInstance(keyEncAlgo);
+ Cipher cipher = WSSecurityUtil.getCipherInstance(keyEncAlgo);
/*
* Well, we can decrypt the session (symmetric) key. Now lookup CipherValue, this is the value of the
* encrypted session key (session key usually is a symmetrical key that encrypts
1.16 +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.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- WSEncryptBody.java 18 Jun 2004 11:33:03 -0000 1.15
+++ WSEncryptBody.java 17 Jul 2004 21:26:52 -0000 1.16
@@ -375,7 +375,7 @@
if (tlog.isDebugEnabled()) {
t2 = System.currentTimeMillis();
}
- Cipher cipher = WSSecurityUtil.getCiperInstance(keyEncAlgo);
+ Cipher cipher = WSSecurityUtil.getCipherInstance(keyEncAlgo);
try {
cipher.init(Cipher.ENCRYPT_MODE, remoteCert);
} catch (InvalidKeyException e) {
1.16 +1 -1 ws-fx/wss4j/src/org/apache/ws/security/util/WSSecurityUtil.java
Index: WSSecurityUtil.java
===================================================================
RCS file: /home/cvs/ws-fx/wss4j/src/org/apache/ws/security/util/WSSecurityUtil.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- WSSecurityUtil.java 24 Jun 2004 19:45:50 -0000 1.15
+++ WSSecurityUtil.java 17 Jul 2004 21:26:52 -0000 1.16
@@ -655,7 +655,7 @@
}
}
- public static Cipher getCiperInstance(String cipherAlgo)
+ public static Cipher getCipherInstance(String cipherAlgo)
throws WSSecurityException {
Cipher cipher = null;
try {