JwkSet
extends
JsonSerializable
in
Represents a JSON Web Key Set.
Table of Contents
Methods
- getKey() : Jwk
- Attempts to match a key with the given arguments.
- getKeys() : array<string|int, Jwk>
- Gets all keys contained in this set.
- getPublicKeySet() : JwkSet
- Gets an instance of JwkSet that only contains public keys.
Methods
getKey()
Attempts to match a key with the given arguments.
public
getKey([string|null $keyId = null ][, string|null $algo = null ]) : Jwk
Parameters
- $keyId : string|null = null
-
Key ID, equivalent to the "kid" field.
- $algo : string|null = null
-
Algorithm, equivalent to the "alg" field.
Tags
Return values
JwkgetKeys()
Gets all keys contained in this set.
public
getKeys() : array<string|int, Jwk>
Return values
array<string|int, Jwk>getPublicKeySet()
Gets an instance of JwkSet that only contains public keys.
public
getPublicKeySet() : JwkSet