DescriptionWebCrypto: Add WebKit API structure for keys.
This corresponds to the "Key interface" in the spec:
https://dvcs.w3.org/hg/webcrypto-api/raw-file/tip/spec/Overview.html#key-interface
This changelist introduces "WebCryptoKey" as a reference-counted wrapper to an opaque key handle.
This opaque key handle is a pointer created by the embedder, which derives from WebCryptoKeyHandle.
Testing: This change does not have any accompanying tests, as there isn't a way to create key objects from Javascript yet. These interfaces will get test coverage once key generation is hooked up.
BUG=245025
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=153657
Patch Set 1 : #
Total comments: 15
Patch Set 2 : address abarth's comments #Patch Set 3 : TEMPORARY: explore alternate implementations for building keyUsage() Vector #
Total comments: 3
Patch Set 4 : Switch to first of the alternate implementations #Patch Set 5 : Add a FIXME for returning the same array #Patch Set 6 : bugfix: move createAlgorithm() --> Algorithm::create(), since Key depends on it #Patch Set 7 : rebase onto master #
Messages
Total messages: 15 (0 generated)
|