PHP 클래스 Jose\Object\JWE

상속: extends JWT, implements Jose\Object\JWEInterface
파일 보기 프로젝트 열기: spomky-labs/jose

공개 메소드들

메소드 설명
addRecipientInformation ( Jose\Object\JWKInterface $recipient_key, $recipient_headers = [] )
addRecipientWithEncryptedKey ( $encrypted_key, array $recipient_headers )
countRecipients ( )
getAAD ( )
getCiphertext ( )
getEncodedSharedProtectedHeaders ( )
getIV ( )
getRecipient ( $id )
getRecipients ( )
getSharedHeader ( $key )
getSharedHeaders ( )
getSharedProtectedHeader ( $key )
getSharedProtectedHeaders ( )
getTag ( )
hasSharedHeader ( $key )
hasSharedProtectedHeader ( $key )
isEncrypted ( )
toCompactJSON ( $id )
toFlattenedJSON ( $id )
toJSON ( )
withAAD ( $aad )
withCiphertext ( $ciphertext )
withEncodedSharedProtectedHeaders ( $encoded_shared_protected_headers )
withIV ( $iv )
withSharedHeader ( $key, $value )
withSharedHeaders ( array $shared_headers )
withSharedProtectedHeader ( $key, $value )
withSharedProtectedHeaders ( array $shared_protected_headers )
withTag ( $tag )

비공개 메소드들

메소드 설명
checkHasNoAAD ( )
checkHasSharedProtectedHeaders ( )
checkRecipientHasNoHeaders ( integer $id )
getJSONBase ( ) : array

메소드 상세

addRecipientInformation() 공개 메소드

public addRecipientInformation ( Jose\Object\JWKInterface $recipient_key, $recipient_headers = [] )
$recipient_key Jose\Object\JWKInterface

addRecipientWithEncryptedKey() 공개 메소드

public addRecipientWithEncryptedKey ( $encrypted_key, array $recipient_headers )
$recipient_headers array

countRecipients() 공개 메소드

public countRecipients ( )

getAAD() 공개 메소드

public getAAD ( )

getCiphertext() 공개 메소드

public getCiphertext ( )

getEncodedSharedProtectedHeaders() 공개 메소드

getIV() 공개 메소드

public getIV ( )

getRecipient() 공개 메소드

public getRecipient ( $id )

getRecipients() 공개 메소드

public getRecipients ( )

getSharedHeader() 공개 메소드

public getSharedHeader ( $key )

getSharedHeaders() 공개 메소드

public getSharedHeaders ( )

getSharedProtectedHeader() 공개 메소드

public getSharedProtectedHeader ( $key )

getSharedProtectedHeaders() 공개 메소드

getTag() 공개 메소드

public getTag ( )

hasSharedHeader() 공개 메소드

public hasSharedHeader ( $key )

hasSharedProtectedHeader() 공개 메소드

public hasSharedProtectedHeader ( $key )

isEncrypted() 공개 메소드

public isEncrypted ( )

toCompactJSON() 공개 메소드

public toCompactJSON ( $id )

toFlattenedJSON() 공개 메소드

public toFlattenedJSON ( $id )

toJSON() 공개 메소드

public toJSON ( )

withAAD() 공개 메소드

public withAAD ( $aad )

withCiphertext() 공개 메소드

public withCiphertext ( $ciphertext )

withEncodedSharedProtectedHeaders() 공개 메소드

public withEncodedSharedProtectedHeaders ( $encoded_shared_protected_headers )

withIV() 공개 메소드

public withIV ( $iv )

withSharedHeader() 공개 메소드

public withSharedHeader ( $key, $value )

withSharedHeaders() 공개 메소드

public withSharedHeaders ( array $shared_headers )
$shared_headers array

withSharedProtectedHeader() 공개 메소드

public withSharedProtectedHeader ( $key, $value )

withSharedProtectedHeaders() 공개 메소드

public withSharedProtectedHeaders ( array $shared_protected_headers )
$shared_protected_headers array

withTag() 공개 메소드

public withTag ( $tag )