fromId
Returns the EncryptionContentAlgorithm whose id matches the given string.
Return
the matching EncryptionContentAlgorithm instance
Parameters
id
the JWE content algorithm identifier to look up (e.g. "A256GCM")
Throws
if no algorithm with the given id is registered