camel-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Franz Forsthofer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CAMEL-7201) PGPDataFormat: allow caching of PGP keys via key access interface
Date Thu, 13 Feb 2014 09:45:22 GMT

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

Franz Forsthofer updated CAMEL-7201:
------------------------------------

    Attachment: 0001-pgp-key-accessor-interfaces-for-key-caching.patch

> PGPDataFormat: allow caching of PGP keys via key access interface
> -----------------------------------------------------------------
>
>                 Key: CAMEL-7201
>                 URL: https://issues.apache.org/jira/browse/CAMEL-7201
>             Project: Camel
>          Issue Type: Improvement
>          Components:  camel-crypto
>            Reporter: Franz Forsthofer
>             Fix For: 2.12.3
>
>         Attachments: 0001-pgp-key-accessor-interfaces-for-key-caching.patch
>
>
> In the current PGPDataFormat implementation, you provide the public and secret keyring
as file or byte array and the keyrings are parsed into object representation during each call.
This is fine if you want dynamically exchange the keyrings. However, this has a performance
impact. In the provided patch I added the possibility that the PGP keys can be cached so that
the performance can be improved. I did this by adding the two interfaces PGPPublicKeyAccess
and PGPSecretKeyAccess. So user can now implement his own key access or use the provided default
implementations PGPPublicKeyAccessDefault and PGPSecretKeyAccessDefault.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message