Class EncryptionKeySelectionStrategy
- java.lang.Object
-
- org.pgpainless.key.selection.key.PublicKeySelectionStrategy
-
- org.pgpainless.key.selection.key.impl.EncryptionKeySelectionStrategy
-
- All Implemented Interfaces:
KeySelectionStrategy<org.bouncycastle.openpgp.PGPPublicKey,org.bouncycastle.openpgp.PGPPublicKeyRing>
public class EncryptionKeySelectionStrategy extends PublicKeySelectionStrategy
Key Selection Strategy that only acceptsPGPPublicKey
s which are capable of encryption.
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.logging.Logger
LOGGER
-
Constructor Summary
Constructors Constructor Description EncryptionKeySelectionStrategy(KeyFlag... flags)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(org.bouncycastle.openpgp.PGPPublicKey key)
-
Methods inherited from class org.pgpainless.key.selection.key.PublicKeySelectionStrategy
selectKeysFromKeyRing
-
-
-
-
Constructor Detail
-
EncryptionKeySelectionStrategy
public EncryptionKeySelectionStrategy(KeyFlag... flags)
-
-