PHP 인터페이스 Jose\EncrypterInterface

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

공개 메소드들

메소드 설명
createEncrypter ( array $key_encryption_algorithms, array $content_encryption_algorithms, array $compression_methods = ['DEF', 'ZLIB', 'GZ'] ) : Jose\EncrypterInterface
encrypt ( Jose\Object\JWEInterface &$jwe )
getSupportedCompressionMethods ( ) : string[]
getSupportedContentEncryptionAlgorithms ( ) : string[]
getSupportedKeyEncryptionAlgorithms ( ) : string[]

메소드 상세

createEncrypter() 공개 정적인 메소드

public static createEncrypter ( array $key_encryption_algorithms, array $content_encryption_algorithms, array $compression_methods = ['DEF', 'ZLIB', 'GZ'] ) : Jose\EncrypterInterface
$key_encryption_algorithms array
$content_encryption_algorithms array
$compression_methods array
리턴 Jose\EncrypterInterface

encrypt() 공개 메소드

public encrypt ( Jose\Object\JWEInterface &$jwe )
$jwe Jose\Object\JWEInterface

getSupportedCompressionMethods() 공개 메소드

public getSupportedCompressionMethods ( ) : string[]
리턴 string[]

getSupportedContentEncryptionAlgorithms() 공개 메소드

public getSupportedContentEncryptionAlgorithms ( ) : string[]
리턴 string[]

getSupportedKeyEncryptionAlgorithms() 공개 메소드

public getSupportedKeyEncryptionAlgorithms ( ) : string[]
리턴 string[]