public class DefaultPGPPassphraseAccessor extends Object implements PGPPassphraseAccessor
| Constructor and Description |
|---|
DefaultPGPPassphraseAccessor(Map<String,String> userId2Passphrase) |
| Modifier and Type | Method and Description |
|---|---|
String |
getPassphrase(String userId)
Returns the passphrase for a user Id
|
public String getPassphrase(String userId)
PGPPassphraseAccessorgetPassphrase in interface PGPPassphraseAccessoruserId - user Id, can be nullnull if the
passphrase cannot be foundApache Camel