Enum SslVerificationMode

java.lang.Object
java.lang.Enum<SslVerificationMode>
org.redisson.config.SslVerificationMode
All Implemented Interfaces:
Serializable, Comparable<SslVerificationMode>

public enum SslVerificationMode extends Enum<SslVerificationMode>
Author:
Nikita Koksharov
  • Enum Constant Details

    • NONE

      public static final SslVerificationMode NONE
      No SSL certificate verification.
    • CA_ONLY

      public static final SslVerificationMode CA_ONLY
      Validate the certificate chain but ignore hostname verification.
    • STRICT

      public static final SslVerificationMode STRICT
      Complete validation of the certificate chain and hostname.
  • Method Details

    • values

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