Jose\Algorithm\KeyEncryption\KeyEncryptionInterface::decryptKey PHP Méthode

decryptKey() public méthode

Decrypt de CEK.
public decryptKey ( Jose\Object\JWKInterface $key, string $encrypted_cek, array $header ) : string
$key Jose\Object\JWKInterface The key used to wrap the CEK
$encrypted_cek string The CEK to decrypt
$header array The complete header of the JWT
Résultat string The decrypted CEK
    public function decryptKey(JWKInterface $key, $encrypted_cek, array $header);
KeyEncryptionInterface