Unwraps a CMS content-encryption key with an RSA private key.
rsaes-pkcs1-v1_5 or rsaes-oaep
rsaes-pkcs1-v1_5
rsaes-oaep
the recipient's private key (a PEM or a KeyObject)
the KeyTransRecipientInfo's encryptedKey
for OAEP, one of CMS_OAEP_HASHES
the content-encryption key
Error for a transport or hash outside the lists, or what node throws
Unwraps a CMS content-encryption key with an RSA private key.