Bug 124725

Summary: Implement WebCrypto unwrapKey
Product: WebKit Reporter: Alexey Proskuryakov <ap>
Component: WebCore Misc.Assignee: Alexey Proskuryakov <ap>
Severity: Normal CC: andersca, cdumez, commit-queue, esprehn+autocc, kondapallykalyan, mkwst, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 122679    
Description Flags
proposed patch andersca: review+

Description Alexey Proskuryakov 2013-11-21 10:26:23 PST
unwrapKey is basically decrypt+importKey. One subtlety is that there will be algorithms that support wrap/unwrap, but not encrypt/decrypt, so chaining should take that into account.
Comment 1 Alexey Proskuryakov 2013-11-21 10:35:35 PST
Created attachment 217582 [details]
proposed patch
Comment 2 Alexey Proskuryakov 2013-11-21 11:03:27 PST
Committed <http://trac.webkit.org/r159637>.