public interface PGPSecretKeyAccessor
| Modifier and Type | Method and Description |
|---|---|
org.bouncycastle.openpgp.PGPPrivateKey |
getPrivateKey(org.apache.camel.Exchange exchange,
long keyId)
Returns the private key with a certain key ID.
|
List<PGPSecretKeyAndPrivateKeyAndUserId> |
getSignerKeys(org.apache.camel.Exchange exchange,
List<String> useridParts)
Returns the signer keys for the given user ID parts.
|
List<PGPSecretKeyAndPrivateKeyAndUserId> getSignerKeys(org.apache.camel.Exchange exchange, List<String> useridParts) throws Exception
exchange - exchange, can be nulluseridParts - parts of User IDs, can be null or empty, then an empty list must be returnednull, can be emptyExceptionorg.bouncycastle.openpgp.PGPPrivateKey getPrivateKey(org.apache.camel.Exchange exchange,
long keyId)
throws Exception
exchange - exchange, can be nullkeyId - key IDnull if the key cannot be foundExceptionApache Camel