PHP Interface Jose\Factory\JWEFactoryInterface

Afficher le fichier Open project: spomky-labs/jose

Méthodes publiques

Méthode Description
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

Method Details

createJWE() public static méthode

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
Résultat Jose\Object\JWEInterface

createJWEToCompactJSON() public static méthode

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
Résultat string

createJWEToFlattenedJSON() public static méthode

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
Résultat string