public interface PGPPublicKeyAccessor
Modifier and Type | Method and Description |
---|---|
List<org.bouncycastle.openpgp.PGPPublicKey> |
getEncryptionKeys(org.apache.camel.Exchange exchange,
List<String> useridParts)
Returns the encryption keys for the given user ID parts.
|
org.bouncycastle.openpgp.PGPPublicKey |
getPublicKey(org.apache.camel.Exchange exchange,
long keyId,
List<String> useridParts)
Returns the public key with a certain key ID.
|
List<org.bouncycastle.openpgp.PGPPublicKey> getEncryptionKeys(org.apache.camel.Exchange exchange, List<String> useridParts) throws Exception
exchange
- exchange, can be null
useridParts
- parts of User IDs, must not be null
null
Exception
org.bouncycastle.openpgp.PGPPublicKey getPublicKey(org.apache.camel.Exchange exchange, long keyId, List<String> useridParts) throws Exception
exchange
- exchangekeyId
- key IDuseridParts
- parts of User IDs, must not be null
, but can be
emptynull
if the key cannot be foundException
Apache Camel