Enum TlsHashAlgorithm

java.lang.Object
java.lang.Enum<TlsHashAlgorithm>
software.amazon.awssdk.crt.io.TlsHashAlgorithm
All Implemented Interfaces:
Serializable, Comparable<TlsHashAlgorithm>

public enum TlsHashAlgorithm extends Enum<TlsHashAlgorithm>
The hash algorithm of a TLS private key operation. Any custom private key operation handlers are expected to perform operations on the input TLS data using the correct hash algorithm or fail the operation.
  • Enum Constant Details

  • Method Details

    • values

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

      public static TlsHashAlgorithm valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getEnumValueFromInteger

      public static TlsHashAlgorithm getEnumValueFromInteger(int value)
    • getNativeValue

      public int getNativeValue()