PHP Interface Jose\JWTLoaderInterface

Datei anzeigen Open project: spomky-labs/jose

Public Methods

Method Description
enableDecryptionSupport ( jose\DecrypterInterface $decrypter )
getSupportedCompressionMethods ( ) : string[]
getSupportedContentEncryptionAlgorithms ( ) : string[]
getSupportedKeyEncryptionAlgorithms ( ) : string[]
getSupportedSignatureAlgorithms ( ) : string[]
isDecryptionSupportEnabled ( ) : boolean
load ( string $assertion, Jose\Object\JWKSetInterface $encryption_key_set = null, boolean $is_encryption_required = false ) : Jose\Object\JWSInterface
verify ( Jose\Object\JWSInterface $jws, Jose\Object\JWKSetInterface $signature_key_set, string | null $detached_payload = null ) : integer

Method Details

enableDecryptionSupport() public method

public enableDecryptionSupport ( jose\DecrypterInterface $decrypter )
$decrypter jose\DecrypterInterface

getSupportedCompressionMethods() public method

public getSupportedCompressionMethods ( ) : string[]
return string[]

getSupportedContentEncryptionAlgorithms() public method

public getSupportedContentEncryptionAlgorithms ( ) : string[]
return string[]

getSupportedKeyEncryptionAlgorithms() public method

public getSupportedKeyEncryptionAlgorithms ( ) : string[]
return string[]

getSupportedSignatureAlgorithms() public method

public getSupportedSignatureAlgorithms ( ) : string[]
return string[]

isDecryptionSupportEnabled() public method

load() public method

public load ( string $assertion, Jose\Object\JWKSetInterface $encryption_key_set = null, boolean $is_encryption_required = false ) : Jose\Object\JWSInterface
$assertion string
$encryption_key_set Jose\Object\JWKSetInterface
$is_encryption_required boolean
return Jose\Object\JWSInterface

verify() public method

public verify ( Jose\Object\JWSInterface $jws, Jose\Object\JWKSetInterface $signature_key_set, string | null $detached_payload = null ) : integer
$jws Jose\Object\JWSInterface
$signature_key_set Jose\Object\JWKSetInterface
$detached_payload string | null
return integer