Enum Class TlsClientAuth

java.lang.Object
java.lang.Enum<TlsClientAuth>
io.helidon.common.tls.TlsClientAuth
All Implemented Interfaces:
Serializable, Comparable<TlsClientAuth>, Constable

public enum TlsClientAuth extends Enum<TlsClientAuth>
Type of client authentication.
  • Enum Constant Details

    • REQUIRED

      public static final TlsClientAuth REQUIRED
      Mutual TLS is required. Server MUST present a certificate trusted by the client, client MUST present a certificate trusted by the server. This implies private key and trust configuration for both server and client.
    • OPTIONAL

      public static final TlsClientAuth OPTIONAL
      Mutual TLS is optional. Server MUST present a certificate trusted by the client, client MAY present a certificate trusted by the server. This implies private key configuration at least for server, trust configuration for at least client.
    • NONE

      public static final TlsClientAuth NONE
      Mutual TLS is disabled. Server MUST present a certificate trusted by the client, client does not present a certificate. This implies private key configuration for server, trust configuration for client.
  • Method Details

    • values

      public static TlsClientAuth[] 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 TlsClientAuth 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