Class NoRevocation.SecKeySelectionStrategy<O>

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

    public static class NoRevocation.SecKeySelectionStrategy<O>
    extends SecretKeySelectionStrategy<O>
    Key Selection Strategy which only accepts PGPSecretKeys which have no revocation.
    • Constructor Detail

      • SecKeySelectionStrategy

        public SecKeySelectionStrategy()
    • Method Detail

      • accept

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