Class DefaultPGPPassphraseAccessor
java.lang.Object
org.apache.camel.converter.crypto.DefaultPGPPassphraseAccessor
- All Implemented Interfaces:
PGPPassphraseAccessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPassphrase(String userId) Returns the passphrase for a user Id
-
Constructor Details
-
DefaultPGPPassphraseAccessor
-
-
Method Details
-
getPassphrase
Description copied from interface:PGPPassphraseAccessorReturns the passphrase for a user Id- Specified by:
getPassphrasein interfacePGPPassphraseAccessor- Parameters:
userId- user Id, can benull- Returns:
- the passphrase for the user Id, or
nullif the passphrase cannot be found
-