PHP Интерфейс Jose\Factory\JWEFactoryInterface

Показать файл Открыть проект

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

Метод Описание
createJWE ( mixed $payload, array $shared_protected_headers = [], array $shared_headers = [], null | string $aad = null ) : Jose\Object\JWEInterface
createJWEToCompactJSON ( mixed $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers ) : string
createJWEToFlattenedJSON ( mixed $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers = [], array $shared_headers = [], array $recipient_headers = [], string | null $aad = null ) : string

Описание методов

createJWE() публичный статический Метод

public static createJWE ( mixed $payload, array $shared_protected_headers = [], array $shared_headers = [], null | string $aad = null ) : Jose\Object\JWEInterface
$payload mixed
$shared_protected_headers array
$shared_headers array
$aad null | string
Результат Jose\Object\JWEInterface

createJWEToCompactJSON() публичный статический Метод

public static createJWEToCompactJSON ( mixed $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers ) : string
$payload mixed
$recipient_key Jose\Object\JWKInterface
$shared_protected_headers array
Результат string

createJWEToFlattenedJSON() публичный статический Метод

public static createJWEToFlattenedJSON ( mixed $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers = [], array $shared_headers = [], array $recipient_headers = [], string | null $aad = null ) : string
$payload mixed
$recipient_key Jose\Object\JWKInterface
$shared_protected_headers array
$shared_headers array
$recipient_headers array
$aad string | null
Результат string