[java-opensaml COMMIT] in /trunk: opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningConfiguration...

noreply at shibboleth.net noreply at shibboleth.net
Fri May 16 20:58:14 EDT 2014


Author: putmanb
Date: Fri May 16 20:58:13 2014
New Revision: 3884

URL: http://svn.shibboleth.net/view/java-opensaml?rev=3884&view=rev
Log:
Pull DSAParams from signing config, params and resolver.
This was a mindless port from the old security config and doesn't go here.

Modified:
    trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningConfiguration.java
    trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningParameters.java
    trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicSignatureSigningConfiguration.java
    trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicSignatureSigningParametersResolver.java
    trunk/opensaml-xmlsec-impl/src/test/java/org/opensaml/xmlsec/impl/BasicSignatureSigningParametersResolverTest.java

Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningConfiguration.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningConfiguration.java?rev=3884&r1=3883&r2=3884&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningConfiguration.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningConfiguration.java Fri May 16 20:58:13 2014
@@ -17,7 +17,6 @@
 
 package org.opensaml.xmlsec;
 
-import java.security.interfaces.DSAParams;
 import java.util.List;
 
 import javax.annotation.Nonnull;
@@ -74,15 +73,6 @@
     @Nullable public Integer getSignatureHMACOutputLength();
     
     /**
-     * Get a DSA parameters instance which defines the default DSA key information to be used 
-     * within a DSA "key family".
-     * 
-     * @param keyLength length of the DSA key whose parameters are desired
-     * @return the default DSA parameters instance, or null if no default is available
-     */
-    @Nullable public DSAParams getDSAParams(int keyLength);
-    
-    /**
      * Get the manager for named KeyInfoGenerator instances.
      * 
      * @return the KeyInfoGenerator manager, or null if none is configured

Modified: trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningParameters.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningParameters.java?rev=3884&r1=3883&r2=3884&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningParameters.java (original)
+++ trunk/opensaml-xmlsec-api/src/main/java/org/opensaml/xmlsec/SignatureSigningParameters.java Fri May 16 20:58:13 2014
@@ -16,8 +16,6 @@
  */
 
 package org.opensaml.xmlsec;
-
-import java.security.interfaces.DSAParams;
 
 import javax.annotation.Nullable;
 
@@ -44,9 +42,6 @@
     
     /** The signature HMAC output length value. */
     private Integer signatureHMACOutputLength;
-    
-    /** The DSA params instance, when signing with a DSA key. */
-    private DSAParams dsaParams;
     
     /** The KeyInfo generator. */
     private KeyInfoGenerator keyInfoGenerator;
@@ -144,26 +139,6 @@
     }
     
     /**
-     * Get a DSA parameters instance which defines the default DSA key information to be used 
-     * within a DSA "key family".
-     * 
-     * @return the default DSA parameters instance
-     */
-    @Nullable public DSAParams getDSAParams() {
-        return dsaParams;
-    }
-    
-    /**
-     * Set a DSA parameters instance which defines the default DSA key information to be used 
-     * within a DSA "key family".
-     * 
-     * @param params the default DSA parameters instance
-     */
-    public void setDSAParams(@Nullable final DSAParams params) {
-        dsaParams = params;
-    }
-    
-    /**
      * Get the KeyInfoGenerator to use when generating the Signature/KeyInfo.
      * 
      * @return the KeyInfoGenerator instance

Modified: trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicSignatureSigningConfiguration.java
URL: http://svn.shibboleth.net/view/java-opensaml/trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicSignatureSigningConfiguration.java?rev=3884&r1=3883&r2=3884&view=diff
==============================================================================
--- trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicSignatureSigningConfiguration.java (original)
+++ trunk/opensaml-xmlsec-impl/src/main/java/org/opensaml/xmlsec/impl/BasicSignatureSigningConfiguration.java Fri May 16 20:58:13 2014
@@ -17,11 +17,8 @@
 
 package org.opensaml.xmlsec.impl;
 
-import java.security.interfaces.DSAParams;
 import java.util.Collections;
-import java.util.HashMap;
 import java.util.List;
-import java.util.Map;
 
 import javax.annotation.Nonnull;
 import javax.annotation.Nullable;
@@ -69,9 +66,6 @@
     /** Manager for named KeyInfoGenerator instances. */

[... 114 lines stripped ...]


More information about the commits mailing list