PHP 인터페이스 Jose\Object\RecipientInterface

파일 보기 프로젝트 열기: spomky-labs/jose 0 사용 예제들

공개 메소드들

메소드 설명
createRecipient ( Jose\Object\JWKInterface $recipient_key, array $headers = [] ) : Recipient
createRecipientFromLoadedJWE ( array $headers, string | null $encrypted_key ) : Recipient
getEncryptedKey ( ) : string
getHeader ( string $key ) : mixed | null Returns the value of the unprotected header of the specified key.
getHeaders ( ) : array
getRecipientKey ( ) : Jose\Object\JWKInterface
hasHeader ( string $key ) : boolean

메소드 상세

createRecipient() 공개 정적인 메소드

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

createRecipientFromLoadedJWE() 공개 정적인 메소드

public static createRecipientFromLoadedJWE ( array $headers, string | null $encrypted_key ) : Recipient
$headers array
$encrypted_key string | null
리턴 Recipient

getEncryptedKey() 공개 메소드

public getEncryptedKey ( ) : string
리턴 string

getHeader() 공개 메소드

Returns the value of the unprotected header of the specified key.
public getHeader ( string $key ) : mixed | null
$key string The key
리턴 mixed | null Header value

getHeaders() 공개 메소드

public getHeaders ( ) : array
리턴 array

getRecipientKey() 공개 메소드

public getRecipientKey ( ) : Jose\Object\JWKInterface
리턴 Jose\Object\JWKInterface

hasHeader() 공개 메소드

public hasHeader ( string $key ) : boolean
$key string The key
리턴 boolean