PHP 트레잇 Jose\Object\BaseJWKSet

파일 보기 프로젝트 열기: spomky-labs/jose

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
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

메소드 상세

addKey() 추상적인 공개 메소드

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

count() 공개 메소드

public count ( integer $mode = COUNT_NORMAL ) : integer
$mode integer
리턴 integer

countKeys() 공개 메소드

public countKeys ( ) : integer
리턴 integer

current() 공개 메소드

public current ( ) : Jose\Object\JWKInterface | null
리턴 Jose\Object\JWKInterface | null

getKey() 공개 메소드

public getKey ( integer $index ) : Jose\Object\JWKInterface
$index integer
리턴 Jose\Object\JWKInterface

getKeys() 추상적인 공개 메소드

abstract public getKeys ( ) : Jose\Object\JWKInterface[]
리턴 Jose\Object\JWKInterface[]

hasKey() 공개 메소드

public hasKey ( integer $index ) : boolean
$index integer
리턴 boolean

jsonSerialize() 공개 메소드

public jsonSerialize ( ) : array
리턴 array

key() 공개 메소드

public key ( ) : integer
리턴 integer

next() 공개 메소드

public next ( )

offsetExists() 공개 메소드

public offsetExists ( mixed $offset ) : boolean
$offset mixed
리턴 boolean

offsetGet() 공개 메소드

public offsetGet ( mixed $offset ) : Jose\Object\JWKInterface
$offset mixed
리턴 Jose\Object\JWKInterface

offsetSet() 공개 메소드

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

offsetUnset() 공개 메소드

public offsetUnset ( integer $offset )
$offset integer

removeKey() 추상적인 공개 메소드

abstract public removeKey ( integer $index )
$index integer

rewind() 공개 메소드

public rewind ( )

selectKey() 공개 메소드

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

sortKeys() 공개 메소드

public sortKeys ( array $a, array $b ) : integer
$a array
$b array
리턴 integer

valid() 공개 메소드

public valid ( ) : boolean
리턴 boolean