PHP 인터페이스 Jose\Object\JWEInterface

상속: extends Jose\Object\JWTInterface
파일 보기 프로젝트 열기: spomky-labs/jose 0 사용 예제들

공개 메소드들

메소드 설명
addRecipientInformation ( Jose\Object\JWKInterface $recipient_key, array $recipient_headers = [] ) : Jose\Object\JWEInterface
addRecipientWithEncryptedKey ( string | null $encrypted_key, array $recipient_headers ) : Jose\Object\JWEInterface
countRecipients ( ) : integer Returns the number of recipients associated with the JWS.
getAAD ( ) : string | null
getCiphertext ( ) : string | null
getEncodedSharedProtectedHeaders ( ) : string | null
getIV ( ) : string | null
getRecipient ( integer $id ) : Jose\Object\RecipientInterface
getRecipients ( ) : Jose\Object\RecipientInterface[] Returns the recipients associated with the JWS.
getSharedHeader ( string $key ) : mixed | null
getSharedHeaders ( ) : array
getSharedProtectedHeader ( string $key ) : mixed | null
getSharedProtectedHeaders ( ) : array
getTag ( ) : string | null
hasSharedHeader ( string $key ) : boolean
hasSharedProtectedHeader ( string $key ) : boolean
isEncrypted ( ) : boolean
toCompactJSON ( integer $recipient ) : string
toFlattenedJSON ( integer $recipient ) : string
toJSON ( ) : string
withAAD ( string $aad ) : Jose\Object\JWEInterface
withCiphertext ( string $ciphertext ) : Jose\Object\JWEInterface
withEncodedSharedProtectedHeaders ( string $encoded_shared_protected_headers ) : Jose\Object\JWEInterface
withIV ( string $iv ) : Jose\Object\JWEInterface
withSharedHeader ( string $key, mixed | null $value ) : Jose\Object\JWEInterface
withSharedHeaders ( array $shared_headers ) : Jose\Object\JWEInterface
withSharedProtectedHeader ( string $key, mixed | null $value ) : Jose\Object\JWEInterface
withSharedProtectedHeaders ( array $shared_protected_headers ) : Jose\Object\JWEInterface
withTag ( string $tag ) : Jose\Object\JWEInterface

메소드 상세

addRecipientInformation() 공개 메소드

public addRecipientInformation ( Jose\Object\JWKInterface $recipient_key, array $recipient_headers = [] ) : Jose\Object\JWEInterface
$recipient_key Jose\Object\JWKInterface
$recipient_headers array
리턴 Jose\Object\JWEInterface

addRecipientWithEncryptedKey() 공개 메소드

public addRecipientWithEncryptedKey ( string | null $encrypted_key, array $recipient_headers ) : Jose\Object\JWEInterface
$encrypted_key string | null
$recipient_headers array
리턴 Jose\Object\JWEInterface

countRecipients() 공개 메소드

Returns the number of recipients associated with the JWS.
public countRecipients ( ) : integer
리턴 integer

getAAD() 공개 메소드

public getAAD ( ) : string | null
리턴 string | null

getCiphertext() 공개 메소드

public getCiphertext ( ) : string | null
리턴 string | null The cyphertext

getEncodedSharedProtectedHeaders() 공개 메소드

getIV() 공개 메소드

public getIV ( ) : string | null
리턴 string | null

getRecipient() 공개 메소드

public getRecipient ( integer $id ) : Jose\Object\RecipientInterface
$id integer
리턴 Jose\Object\RecipientInterface

getRecipients() 공개 메소드

Returns the recipients associated with the JWS.
public getRecipients ( ) : Jose\Object\RecipientInterface[]
리턴 Jose\Object\RecipientInterface[]

getSharedHeader() 공개 메소드

public getSharedHeader ( string $key ) : mixed | null
$key string The key
리턴 mixed | null Header value

getSharedHeaders() 공개 메소드

public getSharedHeaders ( ) : array
리턴 array

getSharedProtectedHeader() 공개 메소드

public getSharedProtectedHeader ( string $key ) : mixed | null
$key string The key
리턴 mixed | null Header value

getSharedProtectedHeaders() 공개 메소드

public getSharedProtectedHeaders ( ) : array
리턴 array

getTag() 공개 메소드

public getTag ( ) : string | null
리턴 string | null

hasSharedHeader() 공개 메소드

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

hasSharedProtectedHeader() 공개 메소드

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

isEncrypted() 공개 메소드

public isEncrypted ( ) : boolean
리턴 boolean

toCompactJSON() 공개 메소드

public toCompactJSON ( integer $recipient ) : string
$recipient integer
리턴 string

toFlattenedJSON() 공개 메소드

public toFlattenedJSON ( integer $recipient ) : string
$recipient integer
리턴 string

toJSON() 공개 메소드

public toJSON ( ) : string
리턴 string

withAAD() 공개 메소드

public withAAD ( string $aad ) : Jose\Object\JWEInterface
$aad string
리턴 Jose\Object\JWEInterface

withCiphertext() 공개 메소드

public withCiphertext ( string $ciphertext ) : Jose\Object\JWEInterface
$ciphertext string
리턴 Jose\Object\JWEInterface

withEncodedSharedProtectedHeaders() 공개 메소드

public withEncodedSharedProtectedHeaders ( string $encoded_shared_protected_headers ) : Jose\Object\JWEInterface
$encoded_shared_protected_headers string
리턴 Jose\Object\JWEInterface

withIV() 공개 메소드

public withIV ( string $iv ) : Jose\Object\JWEInterface
$iv string
리턴 Jose\Object\JWEInterface

withSharedHeader() 공개 메소드

public withSharedHeader ( string $key, mixed | null $value ) : Jose\Object\JWEInterface
$key string
$value mixed | null
리턴 Jose\Object\JWEInterface

withSharedHeaders() 공개 메소드

public withSharedHeaders ( array $shared_headers ) : Jose\Object\JWEInterface
$shared_headers array
리턴 Jose\Object\JWEInterface

withSharedProtectedHeader() 공개 메소드

public withSharedProtectedHeader ( string $key, mixed | null $value ) : Jose\Object\JWEInterface
$key string
$value mixed | null
리턴 Jose\Object\JWEInterface

withSharedProtectedHeaders() 공개 메소드

public withSharedProtectedHeaders ( array $shared_protected_headers ) : Jose\Object\JWEInterface
$shared_protected_headers array
리턴 Jose\Object\JWEInterface

withTag() 공개 메소드

public withTag ( string $tag ) : Jose\Object\JWEInterface
$tag string
리턴 Jose\Object\JWEInterface