fromId

Returns the SigningAlgorithm whose id matches the given string.

Return

the matching SigningAlgorithm instance

Parameters

id

the JWS algorithm identifier to look up (e.g. "RS256")

Throws

if no algorithm with the given id is registered