JWK
JSON Web Key implementation, based on this spec: https://tools.ietf.org/html/draft-ietf-jose-json-web-key-41
PHP version 5
Tags
Table of Contents
Methods
- parseKey() : resource|array<string|int, mixed>
- Parse a JWK key
- parseKeySet() : array<string|int, mixed>
- Parse a set of JWK keys
Methods
parseKey()
Parse a JWK key
public
static parseKey(mixed $source) : resource|array<string|int, mixed>
Parameters
- $source : mixed
Return values
resource|array<string|int, mixed> —an associative array represents the key
parseKeySet()
Parse a set of JWK keys
public
static parseKeySet(mixed $source) : array<string|int, mixed>
Parameters
- $source : mixed
Return values
array<string|int, mixed> —an associative array represents the set of keys