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 11:52:38 UTC

svn commit: r1737812 - /webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java

Author: coheigea
Date: Tue Apr  5 09:52:38 2016
New Revision: 1737812

URL: http://svn.apache.org/viewvc?rev=1737812&view=rev
Log:
[WSS-575] - Support for Digest other than sha1 in xenc:EncryptionMethod

Modified:
    webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java

Modified: webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
URL: http://svn.apache.org/viewvc/webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java?rev=1737812&r1=1737811&r2=1737812&view=diff
==============================================================================
--- webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java (original)
+++ webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java Tue Apr  5 09:52: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, 
@@ -323,6 +324,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 {