Class Wildcard.SecRingSelectionStrategy<O>
- java.lang.Object
-
- org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy<O>
-
- org.pgpainless.util.selection.keyring.impl.Wildcard.SecRingSelectionStrategy<O>
-
- All Implemented Interfaces:
KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection,O>
- Enclosing class:
- Wildcard
public static class Wildcard.SecRingSelectionStrategy<O> extends SecretKeyRingSelectionStrategy<O>
-
-
Constructor Summary
Constructors Constructor Description SecRingSelectionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(O identifier, org.bouncycastle.openpgp.PGPSecretKeyRing keyRing)
Return true, if the filter accepts the given-
Methods inherited from class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
selectKeyRingsFromCollection, selectKeyRingsFromCollections
-
-
-
-
Method Detail
-
accept
public boolean accept(O identifier, org.bouncycastle.openpgp.PGPSecretKeyRing keyRing)
Description copied from interface:KeyRingSelectionStrategy
Return true, if the filter accepts the givenkeyRing
based on the givenidentifier
.- Parameters:
identifier
- identifierkeyRing
- key ring- Returns:
- acceptance
-
-