PHP 인터페이스 Jose\JWTCreatorInterface

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

공개 메소드들

메소드 설명
enableEncryptionSupport ( jose\EncrypterInterface $encrypter )
encrypt ( string $payload, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) : string
getSupportedCompressionMethods ( ) : string[]
getSupportedContentEncryptionAlgorithms ( ) : string[]
getSupportedKeyEncryptionAlgorithms ( ) : string[]
getSupportedSignatureAlgorithms ( ) : string[]
isEncryptionSupportEnabled ( ) : boolean
sign ( mixed $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key ) : string
signAndEncrypt ( mixed $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) : string

메소드 상세

enableEncryptionSupport() 공개 메소드

public enableEncryptionSupport ( jose\EncrypterInterface $encrypter )
$encrypter jose\EncrypterInterface

encrypt() 공개 메소드

public encrypt ( string $payload, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) : string
$payload string
$encryption_protected_headers array
$encryption_key Jose\Object\JWKInterface
리턴 string

getSupportedCompressionMethods() 공개 메소드

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

getSupportedContentEncryptionAlgorithms() 공개 메소드

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

getSupportedKeyEncryptionAlgorithms() 공개 메소드

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

getSupportedSignatureAlgorithms() 공개 메소드

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

isEncryptionSupportEnabled() 공개 메소드

sign() 공개 메소드

public sign ( mixed $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key ) : string
$payload mixed
$signature_protected_headers array
$signature_key Jose\Object\JWKInterface
리턴 string

signAndEncrypt() 공개 메소드

public signAndEncrypt ( mixed $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) : string
$payload mixed
$signature_protected_headers array
$signature_key Jose\Object\JWKInterface
$encryption_protected_headers array
$encryption_key Jose\Object\JWKInterface
리턴 string