-
ap@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=124161 Reviewed by Geoffrey Garen. No new tests yet, will be tested once generateKey is implemented for any RSA algorithms. * CMakeLists.txt: * DerivedSources.make: * GNUmakefile.list.am: * WebCore.xcodeproj/project.pbxproj: Added new files. * bindings/js/JSDOMPromise.h: Support returning a key pair via a promise. * bindings/js/JSCryptoKeyPairCustom.cpp: Added. (WebCore::JSCryptoKeyPair::visitChildren): * crypto/CryptoKey.idl: CryptoKey wrapper is reachable through KeyPair, but it doesn't have (or need) a back pointer. * crypto/CryptoKeyPair.cpp: Added. (WebCore::CryptoKeyPair::CryptoKeyPair): (WebCore::CryptoKeyPair::~CryptoKeyPair): * crypto/CryptoKeyPair.h: Added. (WebCore::CryptoKeyPair::create): (WebCore::CryptoKeyPair::publicKey): (WebCore::CryptoKeyPair::privateKey): * crypto/CryptoKeyPair.idl: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
b4086485