Home GnuPG
Diffusion GPGME 24a000586522

js: add decrypt result options

Description

js: add decrypt result options

  • As a decrypt result cannot be known beforehand, the decrypt operation may add an 'expect' property, taking either 'uint8' or 'base64', which will return the decrypted data in the appropiate formats. the return property 'format' will give a feedback on which option was taken. A test was added to reflect these changes.

Details

Provenance
mkrambachAuthored on Aug 22 2018, 7:07 PM
Parents
rMf0409bbdafcb: js: make method parameters objects
Branches
Unknown
Tags
Unknown