oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1524665 - in /oltu/trunk/jose/jws/src: main/java/org/apache/oltu/jose/jws/signature/ test/java/org/apache/oltu/jose/jws/signature/
Date Thu, 19 Sep 2013 09:30:25 GMT
Author: simonetripodi
Date: Thu Sep 19 09:30:24 2013
New Revision: 1524665

URL: http://svn.apache.org/r1524665
Log:
OLTU-118 - Implement JWS of the JOSE working group

Key abstraction is an overkill, (Signing|Verifying|Symetric)Key are enough for the purpose

Removed:
    oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/Key.java
Modified:
    oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/SigningKey.java
    oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/VerifyingKey.java
    oltu/trunk/jose/jws/src/test/java/org/apache/oltu/jose/jws/signature/TestSymetricKey.java

Modified: oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/SigningKey.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/SigningKey.java?rev=1524665&r1=1524664&r2=1524665&view=diff
==============================================================================
--- oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/SigningKey.java (original)
+++ oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/SigningKey.java Thu
Sep 19 09:30:24 2013
@@ -19,6 +19,6 @@ package org.apache.oltu.jose.jws.signatu
 /**
  * A key that marks has to be used for <i>sign</i> operations.
  */
-public interface SigningKey extends Key {
+public interface SigningKey {
 
 }

Modified: oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/VerifyingKey.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/VerifyingKey.java?rev=1524665&r1=1524664&r2=1524665&view=diff
==============================================================================
--- oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/VerifyingKey.java
(original)
+++ oltu/trunk/jose/jws/src/main/java/org/apache/oltu/jose/jws/signature/VerifyingKey.java
Thu Sep 19 09:30:24 2013
@@ -19,6 +19,6 @@ package org.apache.oltu.jose.jws.signatu
 /**
  * A key that marks has to be used for <i>verify</i> operations.
  */
-public interface VerifyingKey extends Key {
+public interface VerifyingKey {
 
 }

Modified: oltu/trunk/jose/jws/src/test/java/org/apache/oltu/jose/jws/signature/TestSymetricKey.java
URL: http://svn.apache.org/viewvc/oltu/trunk/jose/jws/src/test/java/org/apache/oltu/jose/jws/signature/TestSymetricKey.java?rev=1524665&r1=1524664&r2=1524665&view=diff
==============================================================================
--- oltu/trunk/jose/jws/src/test/java/org/apache/oltu/jose/jws/signature/TestSymetricKey.java
(original)
+++ oltu/trunk/jose/jws/src/test/java/org/apache/oltu/jose/jws/signature/TestSymetricKey.java
Thu Sep 19 09:30:24 2013
@@ -28,9 +28,4 @@ final class TestSymetricKey implements S
         return value;
     }
 
-    @Override
-    public String[] getAlgorithmMethods() {
-        return new String[]{ "TEST" };
-    }
-
 }



Mime
View raw message