oltu-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Simone Tripodi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OLTU-165) Refactoring the Hmac and Rsa signature methods APIs in JWS
Date Fri, 05 Dec 2014 22:25:12 GMT

     [ 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)

Mime
View raw message