toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case CertificateMode.$default:
      return 'DEFAULT';
    case CertificateMode.sniOnly:
      return 'SNI_ONLY';
  }
}