fromId

fun fromId(id: String): Jwa(source)

Returns the Jwa instance whose id matches the given string.

Return

the matching Jwa instance

Parameters

id

the JWA algorithm identifier to look up (e.g. "HS256")

Throws

if no algorithm with the given id is registered