Class S2K.GNUDummyParams

  • Enclosing class:
    S2K

    public static class S2K.GNUDummyParams
    extends java.lang.Object
    Parameters for the S2K.GNU_DUMMY_S2K method.
    • Method Detail

      • 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
      • getProtectionMode

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