[java-opensaml COMMIT] /trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java

noreply at shibboleth.net noreply at shibboleth.net
Wed Feb 5 22:56:08 EST 2014


Author: scantor
Date: Wed Feb  5 22:56:08 2014
New Revision: 3601

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3601&view=rev
Log:
Remove mistaken c'tor.

Modified:
    trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java

Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java?rev=3601&r1=3600&r2=3601&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/encryption/support/Decrypter.java Wed Feb  5 22:56:08 2014
@@ -55,7 +55,6 @@
 import org.opensaml.security.criteria.KeyAlgorithmCriterion;
 import org.opensaml.security.criteria.KeyLengthCriterion;
 import org.opensaml.security.criteria.UsageCriterion;
-import org.opensaml.xmlsec.DecryptionConfiguration;
 import org.opensaml.xmlsec.crypto.AlgorithmSupport;
 import org.opensaml.xmlsec.encryption.EncryptedData;
 import org.opensaml.xmlsec.encryption.EncryptedKey;
@@ -215,17 +214,6 @@
     /** Flag to determine whether by default the Element which backs the underlying decrypted SAMLObject will be the 
      * root of a new DOM document. */
     private boolean defaultRootInNewDocument;
-    
-    /**
-     * Constructor.
-     *
-     * @param decryptionConfig  source of configuration material for decryption
-     */
-    public Decrypter(@Nonnull final DecryptionConfiguration decryptionConfig) {
-        this(decryptionConfig.getDataKeyInfoCredentialResolver(), decryptionConfig.getKEKKeyInfoCredentialResolver(),
-                decryptionConfig.getEncryptedKeyResolver());
-        // TODO incorporate algorithm lists
-    }
     
     /**
      * Constructor.



More information about the commits mailing list