oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r962507 - /incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/SignatureMethod.java
Date Fri, 09 Jul 2010 12:47:44 GMT
Author: simonetripodi
Date: Fri Jul  9 12:47:43 2010
New Revision: 962507

URL: http://svn.apache.org/viewvc?rev=962507&view=rev
Log:
dropped generics to improve the ServiceLoader-based engine

Modified:
    incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/SignatureMethod.java

Modified: incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/SignatureMethod.java
URL: http://svn.apache.org/viewvc/incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/SignatureMethod.java?rev=962507&r1=962506&r2=962507&view=diff
==============================================================================
--- incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/SignatureMethod.java
(original)
+++ incubator/amber/trunk/spec-api/src/main/java/org/apache/amber/signature/SignatureMethod.java
Fri Jul  9 12:47:43 2010
@@ -23,7 +23,7 @@ import org.apache.amber.OAuthRequest;
  *
  * @version $Id$
  */
-public interface SignatureMethod<S extends SigningKey, V extends VerifyingKey> {
+public interface SignatureMethod {
 
     /**
      * Returns the signing algorithm method.
@@ -40,7 +40,7 @@ public interface SignatureMethod<S exten
      * @return the calculated signature.
      * @throws SignatureException if any error occurs.
      */
-    String calculate(S signingKey, OAuthRequest request) throws SignatureException;
+    String calculate(SigningKey signingKey, OAuthRequest request) throws SignatureException;
 
     /**
      * Verifies the OAuth request message signature.
@@ -52,7 +52,7 @@ public interface SignatureMethod<S exten
      * @throws SignatureException if any error occurs.
      */
     boolean verify(String signature,
-            V verifyingKey,
+            VerifyingKey verifyingKey,
             OAuthRequest request) throws SignatureException;
 
 }



Mime
View raw message