You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wss4j-dev@ws.apache.org by we...@apache.org on 2006/02/06 08:57:41 UTC

svn commit: r375213 - /webservices/wss4j/trunk/test/policy/WSSPolicyTesterAsymm.java

Author: werner
Date: Sun Feb  5 23:57:39 2006
New Revision: 375213

URL: http://svn.apache.org/viewcvs?rev=375213&view=rev
Log:
Fix getKeyIdentifier() call to WSS4JPolicyToken

Modified:
    webservices/wss4j/trunk/test/policy/WSSPolicyTesterAsymm.java

Modified: webservices/wss4j/trunk/test/policy/WSSPolicyTesterAsymm.java
URL: http://svn.apache.org/viewcvs/webservices/wss4j/trunk/test/policy/WSSPolicyTesterAsymm.java?rev=375213&r1=375212&r2=375213&view=diff
==============================================================================
--- webservices/wss4j/trunk/test/policy/WSSPolicyTesterAsymm.java (original)
+++ webservices/wss4j/trunk/test/policy/WSSPolicyTesterAsymm.java Sun Feb  5 23:57:39 2006
@@ -216,7 +216,7 @@
 		if ((recToken = wpd.getRecipientToken()) != null) {
 			recEncrypt = new WSSecEncrypt();
 			recEncrypt.setUserInfo("wss4jcert");
-			recEncrypt.setKeyIdentifierType(recToken.getEncKeyIdentifier());
+			recEncrypt.setKeyIdentifierType(recToken.getKeyIdentifier());
 			recEncrypt.setSymmetricEncAlgorithm(recToken.getEncAlgorithm());
 			recEncrypt.setKeyEnc(recToken.getEncTransportAlgorithm());
 			recEncrypt.prepare(doc, cryptoSKI);
@@ -243,7 +243,7 @@
 			iniSignature = new WSSecSignature();
 			iniSignature.setUserInfo("16c73ab6-b892-458f-abf5-2f875f74882e",
 					"security");
-			iniSignature.setKeyIdentifierType(iniToken.getSigKeyIdentifier());
+			iniSignature.setKeyIdentifierType(iniToken.getKeyIdentifier());
 			iniSignature.setSignatureAlgorithm(iniToken.getSigAlgorithm());
 			iniSignature.prepare(doc, crypto, secHeader);
 			if (wpd.isSignatureProtection()) {



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