jose.jwk.set_new

jose.jwk

set_new(list) -> set, err

Build a key set from a list of keys

A set is { keys, by_kid }: the keys in the list's order, and the keyed ones by kid. Every key is checked, and a kid seen twice is refused.