oltu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asa...@apache.org
Subject svn commit: r1583608 - /oltu/trunk/commons/encodedtoken/src/main/java/org/apache/oltu/commons/encodedtoken/TokenDecoder.java
Date Tue, 01 Apr 2014 10:55:06 GMT
Author: asanso
Date: Tue Apr  1 10:55:05 2014
New Revision: 1583608

URL: http://svn.apache.org/r1583608
Log:
OLTU-143 - Add support for public key signature algorithm to the JWS module

Modified:
    oltu/trunk/commons/encodedtoken/src/main/java/org/apache/oltu/commons/encodedtoken/TokenDecoder.java

Modified: oltu/trunk/commons/encodedtoken/src/main/java/org/apache/oltu/commons/encodedtoken/TokenDecoder.java
URL: http://svn.apache.org/viewvc/oltu/trunk/commons/encodedtoken/src/main/java/org/apache/oltu/commons/encodedtoken/TokenDecoder.java?rev=1583608&r1=1583607&r2=1583608&view=diff
==============================================================================
--- oltu/trunk/commons/encodedtoken/src/main/java/org/apache/oltu/commons/encodedtoken/TokenDecoder.java
(original)
+++ oltu/trunk/commons/encodedtoken/src/main/java/org/apache/oltu/commons/encodedtoken/TokenDecoder.java
Tue Apr  1 10:55:05 2014
@@ -42,6 +42,10 @@ public abstract class TokenDecoder {
     public static final String base64Decode(String base64encoded) {
         return new String(base64.decode(base64encoded), UTF_8);
     }
+    
+    public static final byte[] base64DecodeToByte(String base64encoded) {
+        return base64.decode(base64encoded);
+    }
 
     public static final String base64Encode(String input) {
         return new String(base64.encode(input.getBytes(UTF_8)), UTF_8);



Mime
View raw message