You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by "Clement Pellerin (Updated) (JIRA)" <ji...@apache.org> on 2012/03/30 04:31:26 UTC

[jira] [Updated] (SANTUARIO-310) Implement KeyResolvers for PrivateKeys and SecretKeys

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

Clement Pellerin updated SANTUARIO-310:
---------------------------------------

    Attachment: santuario-310.zip

Patch attached.
                
> Implement KeyResolvers for PrivateKeys and SecretKeys
> -----------------------------------------------------
>
>                 Key: SANTUARIO-310
>                 URL: https://issues.apache.org/jira/browse/SANTUARIO-310
>             Project: Santuario
>          Issue Type: New Feature
>    Affects Versions: Java 1.5.1
>            Reporter: Clement Pellerin
>            Assignee: Colm O hEigeartaigh
>         Attachments: santuario-310.zip
>
>
> The built-in KeyResolvers can resolve PubicKeys by searching through the StorageResolvers. They cannot resolve private or secret keys because the StorageResolvers can only iterate certificates. I proposed to extend StorageResolverSpi or invent a new kind of storage class but the project lead prefers to rely on custom KeyResolvers.
> This patch implements KeyResolvers for private and secret keys for some common cases. These resolvers take their storage on the constructor. This means they cannot be used as static resolvers (because that requires a default constructor). The user must register the new resolvers explicitly as internal key resolvers.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira