Метод | Описание | |
---|---|---|
__construct ( jose\SignerInterface $signer ) | JWTCreator constructor. | |
enableEncryptionSupport ( jose\EncrypterInterface $encrypter ) | ||
encrypt ( $payload, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) | ||
getSupportedCompressionMethods ( ) | ||
getSupportedContentEncryptionAlgorithms ( ) | ||
getSupportedKeyEncryptionAlgorithms ( ) | ||
getSupportedSignatureAlgorithms ( ) | ||
isEncryptionSupportEnabled ( ) : boolean | ||
sign ( $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key ) | ||
signAndEncrypt ( $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) |
public __construct ( jose\SignerInterface $signer ) | ||
$signer | jose\SignerInterface |
public enableEncryptionSupport ( jose\EncrypterInterface $encrypter ) | ||
$encrypter | jose\EncrypterInterface |
public getSupportedContentEncryptionAlgorithms ( ) |
public getSupportedKeyEncryptionAlgorithms ( ) |
public isEncryptionSupportEnabled ( ) : boolean | ||
Результат | boolean |
public signAndEncrypt ( $payload, array $signature_protected_headers, Jose\Object\JWKInterface $signature_key, array $encryption_protected_headers, Jose\Object\JWKInterface $encryption_key ) | ||
$signature_protected_headers | array | |
$signature_key | Jose\Object\JWKInterface | |
$encryption_protected_headers | array | |
$encryption_key | Jose\Object\JWKInterface |