PHP Интерфейс Jose\Object\JWKInterface

Наследование: extends JsonSerializable
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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