jose.jwk
alg_of(key) -> alg, err
key
alg
err
Name the JWS algorithm a key signs with
EdDSA for an OKP key on Ed25519, ES256 for an EC key on P-256, HS256 for an oct key. The algorithm follows from kty and crv alone; a JWS header never picks it.
EdDSA
ES256
HS256
kty
crv