Class SignatureKeySelectionStrategy<O>
- java.lang.Object
-
- org.pgpainless.key.selection.key.SecretKeySelectionStrategy<O>
-
- org.pgpainless.key.selection.key.impl.SignatureKeySelectionStrategy<O>
-
- Type Parameters:
O- Type that describes the owner of the key (not used for this decision).
- All Implemented Interfaces:
KeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,org.bouncycastle.openpgp.PGPSecretKeyRing,O>
public class SignatureKeySelectionStrategy<O> extends SecretKeySelectionStrategy<O>
Key Selection Strategy that only acceptsPGPSecretKeys which are capable of signing.
-
-
Constructor Summary
Constructors Constructor Description SignatureKeySelectionStrategy()
-
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)
-
-