Enum Class ShamirSecretSplitter.Mode

java.lang.Object
java.lang.Enum<ShamirSecretSplitter.Mode>
org.bouncycastle.crypto.threshold.ShamirSecretSplitter.Mode
All Implemented Interfaces:
Serializable, Comparable<ShamirSecretSplitter.Mode>, Constable
Enclosing class:
ShamirSecretSplitter

@Deprecated public static enum ShamirSecretSplitter.Mode extends Enum<ShamirSecretSplitter.Mode>
Deprecated.
no longer selects anything. Mode.Table indexed log/exp tables with the secret being split and with the share bytes, so which cache line it touched revealed them; both values now use the same constant-time arithmetic. Use ShamirSecretSplitter.getInstance(Algorithm, int, SecureRandom), which takes no mode.
The GF(256) arithmetic to use.
  • Enum Constant Details

  • Method Details

    • values

      public static ShamirSecretSplitter.Mode[] values()
      Deprecated.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ShamirSecretSplitter.Mode valueOf(String name)
      Deprecated.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null