toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SecurityPolicy.tls_1_0:
      return 'TLS_1_0';
    case SecurityPolicy.tls_1_2:
      return 'TLS_1_2';
  }
}