Package org.pgpainless.key.selection.key
Class SecretKeySelectionStrategy
- java.lang.Object
-
- org.pgpainless.key.selection.key.SecretKeySelectionStrategy
-
- All Implemented Interfaces:
KeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,org.bouncycastle.openpgp.PGPSecretKeyRing>
- Direct Known Subclasses:
And.SecKeySelectionStrategy
,HasAllKeyFlagSelectionStrategy.SecretKey
,HasAnyKeyFlagSelectionStrategy.SecretKey
,NoRevocation.SecKeySelectionStrategy
,Or.SecKeySelectionStrategy
,PartialUserId.SecRingSelectionStrategy
,SignatureKeySelectionStrategy
public abstract class SecretKeySelectionStrategy extends java.lang.Object implements KeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,org.bouncycastle.openpgp.PGPSecretKeyRing>
Key Selection Strategy which acceptsPGPSecretKey
s that are accepted by the abstract methodKeySelectionStrategy.accept(Object)
.
-
-
Constructor Summary
Constructors Constructor Description SecretKeySelectionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<org.bouncycastle.openpgp.PGPSecretKey>
selectKeysFromKeyRing(org.bouncycastle.openpgp.PGPSecretKeyRing 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.PGPSecretKey> selectKeysFromKeyRing(@Nonnull org.bouncycastle.openpgp.PGPSecretKeyRing ring)
- Specified by:
selectKeysFromKeyRing
in interfaceKeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,org.bouncycastle.openpgp.PGPSecretKeyRing>
-
-