Klasse PublicKeyRingSelectionStrategy<O>
java.lang.Object
org.pgpainless.util.selection.keyring.PublicKeyRingSelectionStrategy<O>
- Typparameter:
O- Type of identifier
- Alle implementierten Schnittstellen:
KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPPublicKeyRing,org.bouncycastle.openpgp.PGPPublicKeyRingCollection, O>
- Bekannte direkte Unterklassen:
ExactUserId.PubRingSelectionStrategy,Whitelist.PubRingSelectionStrategy,Wildcard.PubRingSelectionStrategy
public abstract class PublicKeyRingSelectionStrategy<O>
extends Object
implements KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPPublicKeyRing,org.bouncycastle.openpgp.PGPPublicKeyRingCollection,O>
Abstract
KeyRingSelectionStrategy for PGPPublicKeyRings.-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungSet<org.bouncycastle.openpgp.PGPPublicKeyRing> selectKeyRingsFromCollection(O identifier, org.bouncycastle.openpgp.PGPPublicKeyRingCollection keyRingCollection) Iterate of the givenorg.pgpainless.util.MultiMap<O, org.bouncycastle.openpgp.PGPPublicKeyRing> selectKeyRingsFromCollections(org.pgpainless.util.MultiMap<O, org.bouncycastle.openpgp.PGPPublicKeyRingCollection> 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
-
PublicKeyRingSelectionStrategy
public PublicKeyRingSelectionStrategy()
-
-
Methodendetails
-
selectKeyRingsFromCollection
public Set<org.bouncycastle.openpgp.PGPPublicKeyRing> selectKeyRingsFromCollection(@Nonnull O identifier, @Nonnull org.bouncycastle.openpgp.PGPPublicKeyRingCollection 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.PGPPublicKeyRing,org.bouncycastle.openpgp.PGPPublicKeyRingCollection, O> - Parameter:
identifier- identifierkeyRingCollection- collection- Gibt zurück:
- set of acceptable key rings
-
selectKeyRingsFromCollections
public org.pgpainless.util.MultiMap<O,org.bouncycastle.openpgp.PGPPublicKeyRing> selectKeyRingsFromCollections(@Nonnull org.pgpainless.util.MultiMap<O, org.bouncycastle.openpgp.PGPPublicKeyRingCollection> 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.PGPPublicKeyRing,org.bouncycastle.openpgp.PGPPublicKeyRingCollection, O> - Parameter:
keyRingCollections- MultiMap of identifiers and keyRingCollections.- Gibt zurück:
- MultiMap of identifiers and acceptable keyRings.
-