Enum Class PrngType

java.lang.Object
java.lang.Enum<PrngType>
net.messagevortex.asn1.encryption.PrngType
All Implemented Interfaces:
Serializable, Comparable<PrngType>, Constable

public enum PrngType extends Enum<PrngType>

Specifies random number generator.

  • Enum Constant Details

    • FIXME

      public static final PrngType FIXME
  • Method Details

    • values

      public static PrngType[] values()
      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 PrngType valueOf(String name)
      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
    • getId

      public int getId()
    • getById

      public static PrngType getById(int id)

      Gets a pseudo random number generator based on its id.

      Parameters:
      id - the ID to be looked up
      Returns:
      the type or null if not found