Description[webcrypto] Add crypto.subtle.wrapKey() and crypto.subtle.unwrapKey()
As described by the WebCrypto spec:
http://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-wrapKey
http://www.w3.org/TR/WebCryptoAPI/#dfn-SubtleCrypto-method-unwrapKey
In particular, this changelist introduces the javascript-side bindings. This includes the algorithm normalization, various checks on parameters like key usages and key extractability, and then defers the real cryptographic work to the embedder via two new methods on Blink API.
BUG=245025
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=163456
Patch Set 1 #Patch Set 2 : #Patch Set 3 : modify a comment for consistency #Patch Set 4 : Rebase test expectations (to match latest changes I had made) #
Messages
Total messages: 4 (0 generated)
|