PGP decryption - private key file in camel-crypto component

Solution Verified - Updated -


  • We are using camel-crypto feature to do PGP decryption. The keyFileName must be a classpath variable resources or a file on the file system - PGPDataFormat Options

  • Is it possible to point the keyFileName to another source than file: (e.g. using a specific URL handler) ? What are the other options than storing the private key on the file system?


  • Red Hat JBoss Fuse
    • 6.x
  • Apache Camel

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In