decryptElement(), with an HSM key's RSA-OAEP decryption or ECDH agreement made off the event loop. Any other key is decryptElement(), resolved.
decryptElement()
the document holding the encrypted element
the recipient's key: a PEM, a KeyObject, an HSM key or its reference
as for decryptElement()
a promise of decryptElement()'s answer
decryptElement(), with an HSM key's RSA-OAEP decryption or ECDH agreement made off the event loop. Any other key isdecryptElement(), resolved.