My java code for implementing the new JSON Web Token draft-01
 http://self-issued.info/docs/draft-jones-json-web-token-01.html
is ready and commited to the openinfocard source code repository.

JUNIT tests are here:
 
https://code.google.com/p/openinfocard/source/browse/trunk/testsrc/org/x
mldap/json/WebTokenTest.java
The JUNIT test verify all examples from the draft-01.

The implementation is here:
 
https://code.google.com/p/openinfocard/source/browse/trunk/src/org/xmlda
p/json/WebToken.java

The code supports all algorithms and all size variants.
HS256, HS384, HS512 : HMAC with sha256, sha384, sha512
RS256, RS384, RS512 : RSA with  sha256, sha384, sha512
ES256, ES384, ES512 : ECDSA 256, 384, 521 (sic) with sha256, sha384,
sha512

Cheers
Axel
_______________________________________________
OAuth mailing list
OAuth@ietf.org
https://www.ietf.org/mailman/listinfo/oauth

Reply via email to