Class NoRevocation.SecKeySelectionStrategy<O>
- java.lang.Object
-
- org.pgpainless.key.selection.key.SecretKeySelectionStrategy<O>
-
- org.pgpainless.key.selection.key.impl.NoRevocation.SecKeySelectionStrategy<O>
-
- Type Parameters:
O- Type that describes the owner of this key (not used for this decision).
- All Implemented Interfaces:
KeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,org.bouncycastle.openpgp.PGPSecretKeyRing,O>
- Enclosing class:
- NoRevocation
public static class NoRevocation.SecKeySelectionStrategy<O> extends SecretKeySelectionStrategy<O>
Key Selection Strategy which only acceptsPGPSecretKeys which have no revocation.
-
-
Constructor Summary
Constructors Constructor Description SecKeySelectionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaccept(O identifier, org.bouncycastle.openpgp.PGPSecretKey key)-
Methods inherited from class org.pgpainless.key.selection.key.SecretKeySelectionStrategy
selectKeysFromKeyRing, selectKeysFromKeyRings
-
-
-
-
Method Detail
-
accept
public boolean accept(O identifier, @Nonnull org.bouncycastle.openpgp.PGPSecretKey key)
-
-