algorithmForOperation method
Returns a JSON Web Algorithm name that can be used with this key for
operation
Implementation
String? algorithmForOperation(String operation) {
if (!usableForOperation(operation)) return null;
if (algorithm != null) return algorithm;
return JsonWebAlgorithm.find(operation: operation, keyType: keyType)
.firstWhereOrNull((element) => true)
?.name;
}