Class Whitelist.SecRingSelectionStrategy<O>
- java.lang.Object
-
- org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy<O>
-
- org.pgpainless.util.selection.keyring.impl.Whitelist.SecRingSelectionStrategy<O>
-
- All Implemented Interfaces:
KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection,O>
- Enclosing class:
- Whitelist
public static class Whitelist.SecRingSelectionStrategy<O> extends SecretKeyRingSelectionStrategy<O>
-
-
Constructor Summary
Constructors Constructor Description SecRingSelectionStrategy(Map<O,Set<Long>> whitelist)
SecRingSelectionStrategy(MultiMap<O,Long> whitelist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(O identifier, org.bouncycastle.openpgp.PGPSecretKeyRing keyRing)
-
Methods inherited from class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
selectKeyRingsFromCollection, selectKeyRingsFromCollections
-
-
-
-
Constructor Detail
-
SecRingSelectionStrategy
public SecRingSelectionStrategy(MultiMap<O,Long> whitelist)
-
SecRingSelectionStrategy
public SecRingSelectionStrategy(Map<O,Set<Long>> whitelist)
-
-