fromId

Returns the EncryptionAlgorithm whose id matches the given string.

Return

the matching EncryptionAlgorithm instance

Parameters

id

the JWE key algorithm identifier to look up (e.g. "RSA-OAEP")

Throws

if no algorithm with the given id is registered