toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case ServerCertificateStatus.invalid:
      return 'INVALID';
    case ServerCertificateStatus.valid:
      return 'VALID';
  }
}