Class ExactUserId.SecRingSelectionStrategy
java.lang.Object
org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy<String>
org.pgpainless.util.selection.keyring.impl.ExactUserId.SecRingSelectionStrategy
- All Implemented Interfaces:
KeyRingSelectionStrategy<org.bouncycastle.openpgp.PGPSecretKeyRing,
org.bouncycastle.openpgp.PGPSecretKeyRingCollection, String>
- Direct Known Subclasses:
XMPP.SecRingSelectionStrategy
- Enclosing class:
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.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.pgpainless.util.selection.keyring.SecretKeyRingSelectionStrategy
selectKeyRingsFromCollection, selectKeyRingsFromCollections
-
Constructor Details
-
SecRingSelectionStrategy
public SecRingSelectionStrategy()
-
-
Method Details
-
accept
Description copied from interface:KeyRingSelectionStrategy
Return true, if the filter accepts the givenkeyRing
based on the givenidentifier
.- Parameters:
identifier
- identifierkeyRing
- key ring- Returns:
- acceptance
-