Simone Tripodi created OLTU-165:
-----------------------------------
Summary: Refactoring the Hmac and Rsa signature methods APIs in JWS
Key: OLTU-165
URL: https://issues.apache.org/jira/browse/OLTU-165
Project: Apache Oltu
Issue Type: Improvement
Components: JWS
Reporter: Simone Tripodi
Assignee: Simone Tripodi
Main aspects I was focused on while making the proposal:
* simplify the _RSA_/_HMAC_ usage for users not familiar with
{{java.security}} APIs, introducing {{KeyFactory}};
* reduce drastically the magic role of {{String}} in the _RSA_ algorithms,
I would avoid end users have to manipulate strings in order to obtain
different _RSA_ algorithms, but IMHO it has to be clear which algorithm
they are going to use by simply instantiating classes;
* have classes well organised, collected in different packages depending by
the signature method.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)