Свойство | Тип | Описание | |
---|---|---|---|
$nb_keys | integer | ||
$parameters | array |
Метод | Описание | |
---|---|---|
__construct ( string $filename, array $parameters, integer $nb_keys ) | StorableJWKSet constructor. | |
addKey ( Jose\Object\JWKInterface $key ) | ||
count ( ) | ||
countKeys ( ) | ||
current ( ) | ||
getKey ( $index ) | ||
getKeys ( ) | ||
hasKey ( $index ) | ||
jsonSerialize ( ) | ||
key ( ) | ||
next ( ) | ||
offsetExists ( $offset ) | ||
offsetGet ( $offset ) | ||
offsetSet ( $offset, $value ) | ||
offsetUnset ( $offset ) | ||
removeKey ( $index ) | ||
rewind ( ) | ||
selectKey ( $type, $algorithm = null, array $restrictions = [] ) | ||
valid ( ) |
Метод | Описание | |
---|---|---|
createJWK ( ) : Jose\Object\JWKInterface | ||
createNewObject ( ) | This method creates the JWKSet and populate it with keys. | |
createObjectFromFileContent ( array $file_content ) : JsonSerializable | ||
getJWKSet ( ) : Jose\Object\JWKSetInterface |
public addKey ( Jose\Object\JWKInterface $key ) | ||
$key | Jose\Object\JWKInterface |
protected createJWK ( ) : Jose\Object\JWKInterface | ||
Результат | Jose\Object\JWKInterface |
protected createNewObject ( ) |
protected createObjectFromFileContent ( array $file_content ) : JsonSerializable | ||
$file_content | array | |
Результат | JsonSerializable |
protected getJWKSet ( ) : Jose\Object\JWKSetInterface | ||
Результат | Jose\Object\JWKSetInterface |