toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SslProtocol.sSLv3:
      return 'SSLv3';
    case SslProtocol.tLSv1:
      return 'TLSv1';
    case SslProtocol.tLSv1_1:
      return 'TLSv1.1';
    case SslProtocol.tLSv1_2:
      return 'TLSv1.2';
  }
}