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 acceptsPGPSecretKeys 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:
selectKeysFromKeyRingin interfaceKeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,org.bouncycastle.openpgp.PGPSecretKeyRing>
-
-