PHP 인터페이스 Jose\Object\JWKInterface

상속: extends JsonSerializable
파일 보기 프로젝트 열기: spomky-labs/jose 0 사용 예제들

공개 메소드들

메소드 설명
get ( string $key ) : mixed | null Get the value with a specific key.
getAll ( ) : array Get all values stored in the JWK object.
has ( string $key ) : boolean Returns true if the JWK has the value identified by.
thumbprint ( string $hash_algorithm ) : string Returns the thumbprint of the key.
toPublic ( ) : Jose\Object\JWKInterface

메소드 상세

get() 공개 메소드

Get the value with a specific key.
public get ( string $key ) : mixed | null
$key string The key
리턴 mixed | null The value

getAll() 공개 메소드

Get all values stored in the JWK object.
public getAll ( ) : array
리턴 array Values of the JWK object

has() 공개 메소드

Returns true if the JWK has the value identified by.
public has ( string $key ) : boolean
$key string The key
리턴 boolean

thumbprint() 공개 메소드

Returns the thumbprint of the key.
또한 보기: https://tools.ietf.org/html/rfc7638
public thumbprint ( string $hash_algorithm ) : string
$hash_algorithm string
리턴 string

toPublic() 공개 메소드

public toPublic ( ) : Jose\Object\JWKInterface
리턴 Jose\Object\JWKInterface