public selectKey ( string $type, string | null $algorithm = null, array $restrictions = [] ) : Jose\Object\JWKInterface | null | ||
$type | string | Must be 'sig' (signature) or 'enc' (encryption) |
$algorithm | string | null | Specifies the algorithm to be used |
$restrictions | array | More restrictions such as 'kid' or 'kty' |
Результат | Jose\Object\JWKInterface | null |