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