Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge r220619 - [WebIDL] Replace JSCryptoKeyCustom and JSCryptoAlgori…
…thmBuilder with generated code https://bugs.webkit.org/show_bug.cgi?id=175457 Patch by Sam Weinig <sam@webkit.org> on 2017-08-11 Reviewed by Chris Dumez. * CMakeLists.txt: * DerivedSources.make: * WebCore.xcodeproj/project.pbxproj: * bindings/js/JSCryptoAlgorithmBuilder.cpp: Removed. * bindings/js/JSCryptoAlgorithmBuilder.h: Removed. * bindings/js/JSCryptoKeyCustom.cpp: Removed. Remove JSCryptoAlgorithmBuilder and JSCryptoKeyCustom, add KeyAlgorithm IDLs and headers. * crypto/CryptoKey.cpp: * crypto/CryptoKey.h: * crypto/CryptoKey.idl: Replace custom algorithm attribute with a union of the supported key algorithms. * crypto/keys/CryptoAesKeyAlgorithm.h: Added. * crypto/keys/CryptoAesKeyAlgorithm.idl: Added. * crypto/keys/CryptoEcKeyAlgorithm.h: Added. * crypto/keys/CryptoEcKeyAlgorithm.idl: Added. * crypto/keys/CryptoHmacKeyAlgorithm.h: Added. * crypto/keys/CryptoHmacKeyAlgorithm.idl: Added. * crypto/keys/CryptoKeyAlgorithm.h: Added. * crypto/keys/CryptoKeyAlgorithm.idl: Added. * crypto/keys/CryptoRsaHashedKeyAlgorithm.h: Added. * crypto/keys/CryptoRsaHashedKeyAlgorithm.idl: Added. * crypto/keys/CryptoRsaKeyAlgorithm.h: Added. * crypto/keys/CryptoRsaKeyAlgorithm.idl: Added. Add IDLs and headers fo the supported key algorithms. * crypto/keys/CryptoKeyAES.h: * crypto/keys/CryptoKeyEC.h: * crypto/keys/CryptoKeyHMAC.h: * crypto/keys/CryptoKeyRSA.h: * crypto/keys/CryptoKeyRaw.h: Give each of the existing KeyAlgorithm subclasses a dictionary() function that returns the populated corresponding spec'd dictionary.
- Loading branch information
1 parent
ecf205c
commit 30ef731
Showing
31 changed files
with
657 additions
and
244 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.