Jose\Encrypter::getEncryptedKeyFromKeyWrappingAlgorithm PHP Method

getEncryptedKeyFromKeyWrappingAlgorithm() private method

private getEncryptedKeyFromKeyWrappingAlgorithm ( array $complete_headers, string $cek, Jose\Algorithm\KeyEncryption\KeyWrappingInterface $key_encryption_algorithm, Jose\Object\JWKInterface $recipient_key, array &$additional_headers ) : string
$complete_headers array
$cek string
$key_encryption_algorithm Jose\Algorithm\KeyEncryption\KeyWrappingInterface
$recipient_key Jose\Object\JWKInterface
$additional_headers array
return string
    private function getEncryptedKeyFromKeyWrappingAlgorithm(array $complete_headers, $cek, Algorithm\KeyEncryption\KeyWrappingInterface $key_encryption_algorithm, Object\JWKInterface $recipient_key, &$additional_headers)
    {
        return $key_encryption_algorithm->wrapKey($recipient_key, $cek, $complete_headers, $additional_headers);
    }