decryptOwnElement(), with a key in the HSM decrypting off the event loop (stsCrypto.decryptElementOffLoop(), #1955 P8 follow-up): the same keys, in the same order, and the same answer. A software key's answer is decryptElement()'s, as it was.
decryptOwnElement()
stsCrypto.decryptElementOffLoop()
decryptElement()
the document holding the encrypted element
stsCrypto.decryptElement()'s options
stsCrypto.decryptElement()
a promise of decryptOwnElement()'s answer
decryptOwnElement(), with a key in the HSM decrypting off the event loop (stsCrypto.decryptElementOffLoop(), #1955 P8 follow-up): the same keys, in the same order, and the same answer. A software key's answer isdecryptElement()'s, as it was.