You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by co...@apache.org on 2016/04/05 12:16:39 UTC
svn commit: r1737818 -
/webservices/wss4j/branches/2_0_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
Author: coheigea
Date: Tue Apr 5 10:16:38 2016
New Revision: 1737818
URL: http://svn.apache.org/viewvc?rev=1737818&view=rev
Log:
[WSS-575] - Support for Digest other than sha1 in xenc:EncryptionMethod
Modified:
webservices/wss4j/branches/2_0_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
Modified: webservices/wss4j/branches/2_0_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_0_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java?rev=1737818&r1=1737817&r2=1737818&view=diff
==============================================================================
--- webservices/wss4j/branches/2_0_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java (original)
+++ webservices/wss4j/branches/2_0_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java Tue Apr 5 10:16:38 2016
@@ -217,6 +217,7 @@ public class AlgorithmSuite extends Abst
private int maximumAsymmetricKeyLength;
private String mgfAlgo;
private String ns;
+ private String encryptionDigest;
public AlgorithmSuiteType(String name, String digest, String encryption, String symmetricKeyWrap, String asymmetricKeyWrap,
String encryptionKeyDerivation, String signatureKeyDerivation, int encryptionDerivedKeyLength,
@@ -321,6 +322,14 @@ public class AlgorithmSuite extends Abst
public String getMGFAlgo() {
return mgfAlgo;
}
+
+ public void setEncryptionDigest(String encryptionDigest) {
+ this.encryptionDigest = encryptionDigest;
+ }
+
+ public String getEncryptionDigest() {
+ return encryptionDigest;
+ }
}
public enum XPathType {