You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Franz Forsthofer (JIRA)" <ji...@apache.org> on 2014/02/13 10:43:19 UTC
[jira] [Created] (CAMEL-7201) PGPDataFormat: allow caching of PGP
keys via key access interface
Franz Forsthofer created CAMEL-7201:
---------------------------------------
Summary: 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
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)