ws-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cohei...@apache.org
Subject svn commit: r1737812 - /webservices/wss4j/branches/2_1_x-fixes/policy/src/main/java/org/apache/wss4j/policy/model/AlgorithmSuite.java
Date Tue, 05 Apr 2016 09:52:38 GMT
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 {



Mime
View raw message