Jose\Encrypter::getEncryptedKeyFromKeyEncryptionAlgorithm PHP Метод

getEncryptedKeyFromKeyEncryptionAlgorithm() приватный Метод

private getEncryptedKeyFromKeyEncryptionAlgorithm ( array $complete_headers, string $cek, Jose\Algorithm\KeyEncryption\KeyEncryptionInterface $key_encryption_algorithm, Jose\Object\JWKInterface $recipient_key, array &$additional_headers ) : string
$complete_headers array
$cek string
$key_encryption_algorithm Jose\Algorithm\KeyEncryption\KeyEncryptionInterface
$recipient_key Jose\Object\JWKInterface
$additional_headers array
Результат string
    private function getEncryptedKeyFromKeyEncryptionAlgorithm(array $complete_headers, $cek, Algorithm\KeyEncryption\KeyEncryptionInterface $key_encryption_algorithm, Object\JWKInterface $recipient_key, array &$additional_headers)
    {
        return $key_encryption_algorithm->encryptKey($recipient_key, $cek, $complete_headers, $additional_headers);
    }