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

    Modifizierer und Typ
    Methode
    Beschreibung
    Set<org.bouncycastle.openpgp.PGPSecretKeyRing>
    selectKeyRingsFromCollection(O identifier, org.bouncycastle.openpgp.PGPSecretKeyRingCollection keyRingCollection)
    Iterate of the given
    org.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 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

    • SecretKeyRingSelectionStrategy

      public SecretKeyRingSelectionStrategy()
  • Methodendetails

    • selectKeyRingsFromCollection

      public Set<org.bouncycastle.openpgp.PGPSecretKeyRing> selectKeyRingsFromCollection(O identifier, @Nonnull org.bouncycastle.openpgp.PGPSecretKeyRingCollection 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.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection,O>
      Parameter:
      identifier - identifier
      keyRingCollection - 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: 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.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection,O>
      Parameter:
      keyRingCollections - MultiMap of identifiers and keyRingCollections.
      Gibt zurück:
      MultiMap of identifiers and acceptable keyRings.