Klasse SecretKeyRingSelectionStrategy<O>
java.lang.Object
org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy<O>
- Typparameter:
O- Type of identifier
- Alle implementierten Schnittstellen:
KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection, O>
- Bekannte direkte Unterklassen:
ExactUserId.SecRingSelectionStrategy,Whitelist.SecRingSelectionStrategy,Wildcard.SecRingSelectionStrategy
public abstract class SecretKeyRingSelectionStrategy<O>
extends Object
implements KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection,O>
Abstract
KeyRingSelectionStrategy for PGPSecretKeyRings.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungSet<org.bouncycastle.openpgp.PGPSecretKeyRing> selectKeyRingsFromCollection(O identifier, org.bouncycastle.openpgp.PGPSecretKeyRingCollection keyRingCollection) Iterate of the givenorg.pgpainless.util.MultiMap<O, org.bouncycastle.openpgp.PGPSecretKeyRing> selectKeyRingsFromCollections(org.pgpainless.util.MultiMap<O, org.bouncycastle.openpgp.PGPSecretKeyRingCollection> keyRingCollections) Iterate over all keyRings in the givenMultiMapof keyRingCollections and return a newMultiMapwhich for every identifier (key of the map) contains all acceptable keyRings based on that identifier.Von Klasse geerbte Methoden java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitVon Schnittstelle geerbte Methoden org.pgpainless.util.selection.keyring.KeyRingSelectionStrategy
accept
-
Konstruktordetails
-
SecretKeyRingSelectionStrategy
public SecretKeyRingSelectionStrategy()
-
-
Methodendetails
-
selectKeyRingsFromCollection
public Set<org.bouncycastle.openpgp.PGPSecretKeyRing> selectKeyRingsFromCollection(O identifier, @Nonnull org.bouncycastle.openpgp.PGPSecretKeyRingCollection keyRingCollection) Beschreibung aus Schnittstelle kopiert:KeyRingSelectionStrategyIterate of the givenkeyRingCollection
and return aSetof all acceptable keyRings in the collection, based on the givenidentifier
.- Angegeben von:
selectKeyRingsFromCollectionin SchnittstelleKeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection, O> - Parameter:
identifier- identifierkeyRingCollection- collection- Gibt zurück:
- set of acceptable key rings
-
selectKeyRingsFromCollections
public org.pgpainless.util.MultiMap<O,org.bouncycastle.openpgp.PGPSecretKeyRing> selectKeyRingsFromCollections(@Nonnull org.pgpainless.util.MultiMap<O, org.bouncycastle.openpgp.PGPSecretKeyRingCollection> keyRingCollections) Beschreibung aus Schnittstelle kopiert:KeyRingSelectionStrategyIterate over all keyRings in the givenMultiMapof keyRingCollections and return a newMultiMapwhich for every identifier (key of the map) contains all acceptable keyRings based on that identifier.- Angegeben von:
selectKeyRingsFromCollectionsin SchnittstelleKeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection, O> - Parameter:
keyRingCollections- MultiMap of identifiers and keyRingCollections.- Gibt zurück:
- MultiMap of identifiers and acceptable keyRings.
-