Class SignatureKeySelectionStrategy<O>

  • Type Parameters:
    O - Type that describes the owner of the key (not used for this decision).
    All Implemented Interfaces:
    KeySelectionStrategy<org.bouncycastle.openpgp.PGPSecretKey,​org.bouncycastle.openpgp.PGPSecretKeyRing,​O>

    public class SignatureKeySelectionStrategy<O>
    extends SecretKeySelectionStrategy<O>
    Key Selection Strategy that only accepts PGPSecretKeys which are capable of signing.
    • Constructor Detail

      • SignatureKeySelectionStrategy

        public SignatureKeySelectionStrategy()
    • Method Detail

      • accept

        public boolean accept​(O identifier,
                              @Nonnull
                              org.bouncycastle.openpgp.PGPSecretKey key)