toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case EncodingType.ssh:
      return 'SSH';
    case EncodingType.pem:
      return 'PEM';
  }
}