[Ndn-lib] NDN-JS support for crypto.subtle
jefft0 at remap.UCLA.EDU
Mon Feb 2 14:37:23 PST 2015
Currently there is support for signing and verifying. Crypto.subtle is asynchronous and returns its results in a callback. This was OK for verify because the NDN-JS call already uses callbacks for onVerified and onVerifyFailed. But for signing, we needed to add an optional callback to KeyChain.sign. See the doc comment for the onComplete callback:
Many thanks to Ryan Bennett for submitting the code to support crypto.subtle.
- Jeff T
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ndn-lib