Enum Class IEncoder.EncoderAlgorithm

java.lang.Object
java.lang.Enum<IEncoder.EncoderAlgorithm>
passwordmanager.encoder.IEncoder.EncoderAlgorithm
All Implemented Interfaces:
Serializable, Comparable<IEncoder.EncoderAlgorithm>, Constable
Enclosing interface:
IEncoder

public static enum IEncoder.EncoderAlgorithm extends Enum<IEncoder.EncoderAlgorithm>
Algorithms that can be used MD2 MD5 SHA SHA256 SHA384 SHA512
  • Enum Constant Details

  • Constructor Details

    • EncoderAlgorithm

      private EncoderAlgorithm()
  • Method Details

    • values

      public static IEncoder.EncoderAlgorithm[] 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 IEncoder.EncoderAlgorithm 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
    • getInternalName

      public String getInternalName()
      Method for obtaining a string representation for a specific algorithm
      Returns:
      string representation for a specific algorithm