[ 
https://issues.apache.org/jira/browse/CAMEL-6019?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13566551#comment-13566551
 ] 

Daniel Gredler commented on CAMEL-6019:
---------------------------------------

Thanks, Claus! I've updated Confluence -- have a look and let me know if it 
looks OK. The only thing that I see that we may want to add is a code sample 
for sign+encrypt and verify+decrypt, but to do that I think we'd need to add 
"START SNIPPET" and "END SNIPPET" comments around the last lines in 
PGPDataFormatTest.
                
> Add PGP signature and signature verification support to PGPDataFormat
> ---------------------------------------------------------------------
>
>                 Key: CAMEL-6019
>                 URL: https://issues.apache.org/jira/browse/CAMEL-6019
>             Project: Camel
>          Issue Type: Improvement
>          Components:  camel-crypto
>    Affects Versions: 2.11.0
>            Reporter: Daniel Gredler
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.11.0
>
>         Attachments: pgp-sign.patch
>
>
> PGPDataFormat currently supports PGP encryption (equivalent to "gpg -e") and 
> decryption (equivalent to "gpg -d"), but does not support simultaneously 
> encrypting and signing (equivalent to "gpg -e -s") or simultaneously 
> decrypting and verifying (equivalent to "gpg -v -d").
> This patch adds three new optional attributes to the PGPDataFormat class 
> (signatureKeyUserid, signatureKeyFileName, signaturePassword), which can be 
> used to sign while encrypting, or to verify a signature while decrypting.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to