PHP 트레잇 Jose\Behaviour\EncrypterTrait

파일 보기 프로젝트 열기: spomky-labs/jose

보호된 메소드들

메소드 설명
checkKeyAlgorithm ( Jose\Object\JWKInterface $key, string $algorithm )
checkKeyUsage ( Jose\Object\JWKInterface $key, string $usage ) : boolean
getCompressionManager ( ) : Jose\Compression\CompressionManagerInterface
getJWAManager ( ) : Jose\Algorithm\JWAManagerInterface

비공개 메소드들

메소드 설명
areKeyManagementModesCompatible ( string $current, string $new ) : boolean
checkKeys ( Jose\Algorithm\KeyEncryptionAlgorithmInterface $key_encryption_algorithm, Jose\Algorithm\ContentEncryptionAlgorithmInterface $content_encryption_algorithm, Jose\Object\JWKInterface $recipient_key )
createCEK ( integer $size ) : string
createIV ( integer $size ) : string
determineCEK ( Jose\Object\JWEInterface $jwe, Jose\Algorithm\ContentEncryptionAlgorithmInterface $content_encryption_algorithm, string $key_management_mode, array &$additional_headers ) : string
findKeyEncryptionAlgorithm ( array $complete_headers ) : Jose\Algorithm\KeyEncryptionAlgorithmInterface
getCompressionMethod ( Jose\Object\JWEInterface $jwe ) : Jose\Compression\CompressionInterface | null
getContentEncryptionAlgorithm ( Jose\Object\JWEInterface $jwe ) : Jose\Algorithm\ContentEncryptionAlgorithmInterface
getKeyManagementMode ( Jose\Object\JWEInterface $jwe ) : string

메소드 상세

checkKeyAlgorithm() 추상적인 보호된 메소드

abstract protected checkKeyAlgorithm ( Jose\Object\JWKInterface $key, string $algorithm )
$key Jose\Object\JWKInterface
$algorithm string

checkKeyUsage() 추상적인 보호된 메소드

abstract protected checkKeyUsage ( Jose\Object\JWKInterface $key, string $usage ) : boolean
$key Jose\Object\JWKInterface
$usage string
리턴 boolean

getCompressionManager() 추상적인 보호된 메소드

abstract protected getCompressionManager ( ) : Jose\Compression\CompressionManagerInterface
리턴 Jose\Compression\CompressionManagerInterface

getJWAManager() 추상적인 보호된 메소드

abstract protected getJWAManager ( ) : Jose\Algorithm\JWAManagerInterface
리턴 Jose\Algorithm\JWAManagerInterface