PHP Class Jose\Object\Recipient

Inheritance: implements Jose\Object\RecipientInterface
Mostrar archivo Open project: spomky-labs/jose Class Usage Examples

Public Methods

Method Description
createRecipient ( Jose\Object\JWKInterface $recipient_key, array $headers = [] )
createRecipientFromLoadedJWE ( array $headers, $encrypted_key )
getEncryptedKey ( )
getHeader ( $key )
getHeaders ( )
getRecipientKey ( )
hasHeader ( $key )

Method Details

createRecipient() public static method

public static createRecipient ( Jose\Object\JWKInterface $recipient_key, array $headers = [] )
$recipient_key Jose\Object\JWKInterface
$headers array

createRecipientFromLoadedJWE() public static method

public static createRecipientFromLoadedJWE ( array $headers, $encrypted_key )
$headers array

getEncryptedKey() public method

public getEncryptedKey ( )

getHeader() public method

public getHeader ( $key )

getHeaders() public method

public getHeaders ( )

getRecipientKey() public method

public getRecipientKey ( )

hasHeader() public method

public hasHeader ( $key )