Inheritance: extends Jose\Algorithm\KeyEncryptionAlgorithmInterface
Esempio n. 1
0
 /**
  * @param array                                                $complete_headers
  * @param string                                               $cek
  * @param \Jose\Algorithm\KeyEncryption\KeyEncryptionInterface $key_encryption_algorithm
  * @param \Jose\Object\JWKInterface                            $recipient_key
  * @param array                                                $additional_headers
  *
  * @return 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);
 }