Package org.pgpainless.key.selection.key
Class PublicKeySelectionStrategy
- java.lang.Object
-
- org.pgpainless.key.selection.key.PublicKeySelectionStrategy
-
- All Implemented Interfaces:
KeySelectionStrategy<org.bouncycastle.openpgp.PGPPublicKey,org.bouncycastle.openpgp.PGPPublicKeyRing>
- Direct Known Subclasses:
And.PubKeySelectionStrategy,EncryptionKeySelectionStrategy,HasAllKeyFlagSelectionStrategy.PublicKey,HasAnyKeyFlagSelectionStrategy.PublicKey,NoRevocation.PubKeySelectionStrategy,Or.PubKeySelectionStrategy,PartialUserId.PubRingSelectionStrategy,SignedByMasterKey.PubkeySelectionStrategy
public abstract class PublicKeySelectionStrategy extends java.lang.Object implements KeySelectionStrategy<org.bouncycastle.openpgp.PGPPublicKey,org.bouncycastle.openpgp.PGPPublicKeyRing>
Key Selection Strategy which acceptsPGPPublicKeys that are accepted by the abstract methodKeySelectionStrategy.accept(Object).
-
-
Constructor Summary
Constructors Constructor Description PublicKeySelectionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.bouncycastle.openpgp.PGPPublicKey>selectKeysFromKeyRing(org.bouncycastle.openpgp.PGPPublicKeyRing ring)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pgpainless.key.selection.key.KeySelectionStrategy
accept
-
-
-
-
Method Detail
-
selectKeysFromKeyRing
public java.util.Set<org.bouncycastle.openpgp.PGPPublicKey> selectKeysFromKeyRing(@Nonnull org.bouncycastle.openpgp.PGPPublicKeyRing ring)- Specified by:
selectKeysFromKeyRingin interfaceKeySelectionStrategy<org.bouncycastle.openpgp.PGPPublicKey,org.bouncycastle.openpgp.PGPPublicKeyRing>
-
-