Method | Description | |
---|---|---|
createJWE ( $payload, array $shared_protected_headers = [], array $shared_headers = [], $aad = null ) | ||
createJWEToCompactJSON ( $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers ) | ||
createJWEToFlattenedJSON ( $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers = [], $shared_headers = [], $recipient_headers = [], $aad = null ) |
Method | Description | |
---|---|---|
createJWEAndEncrypt ( mixed $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers = [], array $shared_headers = [], array $recipient_headers = [], string | null $aad = null ) : Jose\Object\JWEInterface |
public static createJWEToCompactJSON ( $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers ) | ||
$recipient_key | Jose\Object\JWKInterface | |
$shared_protected_headers | array |
public static createJWEToFlattenedJSON ( $payload, Jose\Object\JWKInterface $recipient_key, array $shared_protected_headers = [], $shared_headers = [], $recipient_headers = [], $aad = null ) | ||
$recipient_key | Jose\Object\JWKInterface | |
$shared_protected_headers | array |