JwkValidator
class JwkValidator
Constants
| ALGORITHMS |
|
| protected MAX_PARSED_KEYS |
|
Properties
| protected Key> | $parsedKeys |
Methods
Key
validate(array $jwk, string $algorithm)
Validate public signing material for the selected JWT algorithm.
bool
permits(array $jwk, string $algorithm)
Determine whether key metadata permits verification with the selected algorithm.
void
ensurePublic(array $jwk)
Reject private or symmetric material even in an otherwise unused key.
Details
at line 27
Key
validate(array $jwk, string $algorithm)
Validate public signing material for the selected JWT algorithm.
at line 93
bool
permits(array $jwk, string $algorithm)
Determine whether key metadata permits verification with the selected algorithm.
at line 129
void
ensurePublic(array $jwk)
Reject private or symmetric material even in an otherwise unused key.