name method

String name()

Gets the name of the value.

Implementation

String name() {
  switch (_value) {
    case 'COMMON_NAME_IS_INCORRECT':
      return 'COMMON_NAME_IS_INCORRECT';
    case 'DATE_INVALID':
      return 'DATE_INVALID';
    case 'DENY':
      return 'DENY';
    case 'EXPIRED':
      return 'EXPIRED';
    case 'FATAL_TRUST_FAILURE':
      return 'FATAL_TRUST_FAILURE';
    case 'IDMISMATCH':
      return 'IDMISMATCH';
    case 'INVALID':
      return 'INVALID';
    case 'NOT_YET_VALID':
      return 'NOT_YET_VALID';
    case 'OTHER_ERROR':
      return 'OTHER_ERROR';
    case 'RECOVERABLE_TRUST_FAILURE':
      return 'RECOVERABLE_TRUST_FAILURE';
    case 'REVOKED':
      return 'REVOKED';
    case 'UNSPECIFIED':
      return 'UNSPECIFIED';
    case 'UNTRUSTED':
      return 'UNTRUSTED';
  }
  return _value.toString();
}