PHP 클래스 Jose\Object\StorableJWKSet

상속: implements Jose\Object\StorableInterface, implements Jose\Object\JWKSetInterface, use trait Storable, use trait JWKSetPEM
파일 보기 프로젝트 열기: spomky-labs/jose

보호된 프로퍼티들

프로퍼티 타입 설명
$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

메소드 상세

__construct() 공개 메소드

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

addKey() 공개 메소드

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

count() 공개 메소드

public count ( )

countKeys() 공개 메소드

public countKeys ( )

createJWK() 보호된 메소드

protected createJWK ( ) : Jose\Object\JWKInterface
리턴 Jose\Object\JWKInterface

createNewObject() 보호된 메소드

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

createObjectFromFileContent() 보호된 메소드

protected createObjectFromFileContent ( array $file_content ) : JsonSerializable
$file_content array
리턴 JsonSerializable

current() 공개 메소드

public current ( )

getJWKSet() 보호된 메소드

protected getJWKSet ( ) : Jose\Object\JWKSetInterface
리턴 Jose\Object\JWKSetInterface

getKey() 공개 메소드

public getKey ( $index )

getKeys() 공개 메소드

public getKeys ( )

hasKey() 공개 메소드

public hasKey ( $index )

jsonSerialize() 공개 메소드

public jsonSerialize ( )

key() 공개 메소드

public key ( )

next() 공개 메소드

public next ( )

offsetExists() 공개 메소드

public offsetExists ( $offset )

offsetGet() 공개 메소드

public offsetGet ( $offset )

offsetSet() 공개 메소드

public offsetSet ( $offset, $value )

offsetUnset() 공개 메소드

public offsetUnset ( $offset )

removeKey() 공개 메소드

public removeKey ( $index )

rewind() 공개 메소드

public rewind ( )

selectKey() 공개 메소드

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

valid() 공개 메소드

public valid ( )

프로퍼티 상세

$nb_keys 보호되어 있는 프로퍼티

protected int $nb_keys
리턴 integer

$parameters 보호되어 있는 프로퍼티

protected array $parameters
리턴 array