toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case SigningAlgorithm.sha256withecdsa:
      return 'SHA256WITHECDSA';
    case SigningAlgorithm.sha384withecdsa:
      return 'SHA384WITHECDSA';
    case SigningAlgorithm.sha512withecdsa:
      return 'SHA512WITHECDSA';
    case SigningAlgorithm.sha256withrsa:
      return 'SHA256WITHRSA';
    case SigningAlgorithm.sha384withrsa:
      return 'SHA384WITHRSA';
    case SigningAlgorithm.sha512withrsa:
      return 'SHA512WITHRSA';
  }
}