Parses and checks a JWS's protected header: alg, nonce, url and exactly one of jwk and kid, refusing the members that point at another key.
alg
nonce
url
jwk
kid
what parseFlattenedObject() returned
parseFlattenedObject()
{ ok, header } or a refusal
{ ok, header }
Parses and checks a JWS's protected header:
alg,nonce,urland exactly one ofjwkandkid, refusing the members that point at another key.