diff options
author | Maximilian Krambach <[email protected]> | 2018-08-17 12:40:27 +0000 |
---|---|---|
committer | Maximilian Krambach <[email protected]> | 2018-08-17 12:40:27 +0000 |
commit | 754e799d35fd62d7a979452f44342934659908c7 (patch) | |
tree | 4c16eea728543c50fd747220c755c4e980885d21 /lang/js/src/Errors.js | |
parent | js: importKey feedback refactor (diff) | |
download | gpgme-754e799d35fd62d7a979452f44342934659908c7.tar.gz gpgme-754e799d35fd62d7a979452f44342934659908c7.zip |
js: disallow bulk set data on key from outside
--
* src/Key.js Key class is not exported anymore, as it should not be
used directly anywhere. setKeyData is no more a method of the Key,
(optional) data are now validated and set on Key creation and on
updates, both from within this module, thus no longer exposing
setKeyData to the outside.
* createKey now gained an optional parameter which allows to set Key
data at this point.
Diffstat (limited to 'lang/js/src/Errors.js')
0 files changed, 0 insertions, 0 deletions