Enum EncryptionMode

java.lang.Object
java.lang.Enum<EncryptionMode>
io.vertx.mssqlclient.EncryptionMode
All Implemented Interfaces:
Serializable, Comparable<EncryptionMode>

public enum EncryptionMode extends Enum<EncryptionMode>
Encryption mode for SQL Server connections.
  • Enum Constant Details

    • OFF

      public static final EncryptionMode OFF
      No encryption (TDS 7.x).
    • ON

      public static final EncryptionMode ON
      Optional encryption (TDS 7.x).
    • STRICT

      public static final EncryptionMode STRICT
      Mandatory TDS 8.0 encryption.
  • Method Details

    • values

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