Class S2K.GNUDummyParams

java.lang.Object
org.bouncycastle.bcpg.S2K.GNUDummyParams
Enclosing class:
S2K

public static class S2K.GNUDummyParams extends Object
Parameters for the S2K.GNU_DUMMY_S2K method.
See Also:
  • Method Details

    • noPrivateKey

      public static S2K.GNUDummyParams noPrivateKey()
      Factory method for a GNU Dummy S2K indicating a missing private key.
      Returns:
      params
    • divertToCard

      public static S2K.GNUDummyParams divertToCard()
      Factory method for a GNU Dummy S2K indicating a private key located on a smart card.
      Returns:
      params
    • internal

      public static S2K.GNUDummyParams internal()
      Factory method for a GNU Dummy S2K indicating an internal private key.
      Returns:
      params
    • getProtectionMode

      public int getProtectionMode()
      Return the GNU Dummy S2K protection method.
      Returns:
      protection method