Klasse ExactUserId.SecRingSelectionStrategy

java.lang.Object
org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy<String>
org.pgpainless.util.selection.keyring.impl.ExactUserId.SecRingSelectionStrategy
Alle implementierten Schnittstellen:
KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,org.bouncycastle.openpgp.PGPSecretKeyRingCollection,String>
Bekannte direkte Unterklassen:
XMPP.SecRingSelectionStrategy
Umschließende Klasse:
ExactUserId

public static class ExactUserId.SecRingSelectionStrategy extends SecretKeyRingSelectionStrategy<String>
SecretKeyRingSelectionStrategy which accepts PGPSecretKeyRings if those have a user-id which exactly matches the given
identifier
.
  • Konstruktordetails

    • SecRingSelectionStrategy

      public SecRingSelectionStrategy()
  • Methodendetails

    • accept

      public boolean accept(String identifier, org.bouncycastle.openpgp.PGPSecretKeyRing keyRing)
      Beschreibung aus Schnittstelle kopiert: KeyRingSelectionStrategy
      Return true, if the filter accepts the given
      keyRing
      based on the given
      identifier
      .
      Parameter:
      identifier - identifier
      keyRing - key ring
      Gibt zurück:
      acceptance