You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oltu.apache.org by "Simone Tripodi (JIRA)" <ji...@apache.org> on 2014/12/05 23:25:12 UTC

[jira] [Updated] (OLTU-165) Refactoring the Hmac and Rsa signature methods APIs in JWS

     [ https://issues.apache.org/jira/browse/OLTU-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Simone Tripodi updated OLTU-165:
--------------------------------
    Attachment: OLTU-165.patch

Attached proposal patch for the refactoring

> 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
>         Attachments: OLTU-165.patch
>
>
> 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)