PHP Class Jose\Object\StorableJWKSet

Inheritance: implements Jose\Object\StorableInterface, implements Jose\Object\JWKSetInterface, use trait Storable, use trait JWKSetPEM
Afficher le fichier Open project: spomky-labs/jose

Protected Properties

Свойство Type Description
$nb_keys integer
$parameters array

Méthodes publiques

Méthode Description
__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 ( )

Méthodes protégées

Méthode Description
createJWK ( ) : Jose\Object\JWKInterface
createNewObject ( ) This method creates the JWKSet and populate it with keys.
createObjectFromFileContent ( array $file_content ) : JsonSerializable
getJWKSet ( ) : Jose\Object\JWKSetInterface

Method Details

__construct() public méthode

StorableJWKSet constructor.
public __construct ( string $filename, array $parameters, integer $nb_keys )
$filename string
$parameters array
$nb_keys integer

addKey() public méthode

public addKey ( Jose\Object\JWKInterface $key )
$key Jose\Object\JWKInterface

count() public méthode

public count ( )

countKeys() public méthode

public countKeys ( )

createJWK() protected méthode

protected createJWK ( ) : Jose\Object\JWKInterface
Résultat Jose\Object\JWKInterface

createNewObject() protected méthode

This method creates the JWKSet and populate it with keys.
protected createNewObject ( )

createObjectFromFileContent() protected méthode

protected createObjectFromFileContent ( array $file_content ) : JsonSerializable
$file_content array
Résultat JsonSerializable

current() public méthode

public current ( )

getJWKSet() protected méthode

protected getJWKSet ( ) : Jose\Object\JWKSetInterface
Résultat Jose\Object\JWKSetInterface

getKey() public méthode

public getKey ( $index )

getKeys() public méthode

public getKeys ( )

hasKey() public méthode

public hasKey ( $index )

jsonSerialize() public méthode

public jsonSerialize ( )

key() public méthode

public key ( )

next() public méthode

public next ( )

offsetExists() public méthode

public offsetExists ( $offset )

offsetGet() public méthode

public offsetGet ( $offset )

offsetSet() public méthode

public offsetSet ( $offset, $value )

offsetUnset() public méthode

public offsetUnset ( $offset )

removeKey() public méthode

public removeKey ( $index )

rewind() public méthode

public rewind ( )

selectKey() public méthode

public selectKey ( $type, $algorithm = null, array $restrictions = [] )
$restrictions array

valid() public méthode

public valid ( )

Property Details

$nb_keys protected_oe property

protected int $nb_keys
Résultat integer

$parameters protected_oe property

protected array $parameters
Résultat array