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
    Konstruktor
    Beschreibung
     
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    Set<org.bouncycastle.openpgp.PGPPublicKeyRing>
    selectKeyRingsFromCollection(O identifier, org.bouncycastle.openpgp.PGPPublicKeyRingCollection keyRingCollection)
    Iterate of the given
    org.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 given MultiMap of keyRingCollections and return a new MultiMap which 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, wait

    Von 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: KeyRingSelectionStrategy
      Iterate of the given
      keyRingCollection
      and return a Set of all acceptable keyRings in the collection, based on the given
      identifier
      .
      Angegeben von:
      selectKeyRingsFromCollection in Schnittstelle KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPPublicKeyRing,org.bouncycastle.openpgp.PGPPublicKeyRingCollection,O>
      Parameter:
      identifier - identifier
      keyRingCollection - 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: KeyRingSelectionStrategy
      Iterate over all keyRings in the given MultiMap of keyRingCollections and return a new MultiMap which for every identifier (key of the map) contains all acceptable keyRings based on that identifier.
      Angegeben von:
      selectKeyRingsFromCollections in Schnittstelle KeyRingSelectionStrategy<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.