PHP Trait Jose\Object\BaseJWKSet

Afficher le fichier Open project: spomky-labs/jose

Méthodes publiques

Méthode Description
addKey ( Jose\Object\JWKInterface $key )
count ( integer $mode = COUNT_NORMAL ) : integer
countKeys ( ) : integer
current ( ) : Jose\Object\JWKInterface | null
getKey ( integer $index ) : Jose\Object\JWKInterface
getKeys ( ) : Jose\Object\JWKInterface[]
hasKey ( integer $index ) : boolean
jsonSerialize ( ) : array
key ( ) : integer
next ( )
offsetExists ( mixed $offset ) : boolean
offsetGet ( mixed $offset ) : Jose\Object\JWKInterface
offsetSet ( mixed $offset, mixed $value )
offsetUnset ( integer $offset )
removeKey ( integer $index )
rewind ( )
selectKey ( string $type, null | string $algorithm = null, array $restrictions = [] ) : null | Jose\Object\JWKInterface
sortKeys ( array $a, array $b ) : integer
valid ( ) : boolean

Private Methods

Méthode Description
canKeyBeUsedFor ( string $type, Jose\Object\JWKInterface $key ) : boolean | integer
canKeyBeUsedWithAlgorithm ( null | string $algorithm, Jose\Object\JWKInterface $key ) : boolean | integer
convertKeyOpsToKeyUse ( string $key_ops ) : string
doesKeySatisfyRestrictions ( array $restrictions, Jose\Object\JWKInterface $key ) : boolean

Method Details

addKey() abstract public méthode

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

count() public méthode

public count ( integer $mode = COUNT_NORMAL ) : integer
$mode integer
Résultat integer

countKeys() public méthode

public countKeys ( ) : integer
Résultat integer

current() public méthode

public current ( ) : Jose\Object\JWKInterface | null
Résultat Jose\Object\JWKInterface | null

getKey() public méthode

public getKey ( integer $index ) : Jose\Object\JWKInterface
$index integer
Résultat Jose\Object\JWKInterface

getKeys() abstract public méthode

abstract public getKeys ( ) : Jose\Object\JWKInterface[]
Résultat Jose\Object\JWKInterface[]

hasKey() public méthode

public hasKey ( integer $index ) : boolean
$index integer
Résultat boolean

jsonSerialize() public méthode

public jsonSerialize ( ) : array
Résultat array

key() public méthode

public key ( ) : integer
Résultat integer

next() public méthode

public next ( )

offsetExists() public méthode

public offsetExists ( mixed $offset ) : boolean
$offset mixed
Résultat boolean

offsetGet() public méthode

public offsetGet ( mixed $offset ) : Jose\Object\JWKInterface
$offset mixed
Résultat Jose\Object\JWKInterface

offsetSet() public méthode

public offsetSet ( mixed $offset, mixed $value )
$offset mixed
$value mixed

offsetUnset() public méthode

public offsetUnset ( integer $offset )
$offset integer

removeKey() abstract public méthode

abstract public removeKey ( integer $index )
$index integer

rewind() public méthode

public rewind ( )

selectKey() public méthode

public selectKey ( string $type, null | string $algorithm = null, array $restrictions = [] ) : null | Jose\Object\JWKInterface
$type string
$algorithm null | string
$restrictions array
Résultat null | Jose\Object\JWKInterface

sortKeys() public méthode

public sortKeys ( array $a, array $b ) : integer
$a array
$b array
Résultat integer

valid() public méthode

public valid ( ) : boolean
Résultat boolean