Class TlsVersion

  • public final class TlsVersion
    Defines values for TlsVersion.
    • Field Detail

      • ONE_ZERO

        public static final TlsVersion ONE_ZERO
        Static value 1.0 for TlsVersion.
      • ONE_ONE

        public static final TlsVersion ONE_ONE
        Static value 1.1 for TlsVersion.
      • ONE_TWO

        public static final TlsVersion ONE_TWO
        Static value 1.2 for TlsVersion.
    • Constructor Detail

      • TlsVersion

        public TlsVersion()
    • Method Detail

      • fromString

        public static TlsVersion fromString​(String name)
        Creates or finds a TlsVersion from its string representation.
        name - a name to look for.
        the corresponding TlsVersion.