Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(239)

Unified Diff: Source/bindings/v8/custom/V8AlgorithmCustom.cpp

Issue 21759002: WebCrypto: Add algorithm normalization rules for RSASSA-PKCS1-v1_5. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/bindings/v8/custom/V8AlgorithmCustom.cpp
diff --git a/Source/bindings/v8/custom/V8AlgorithmCustom.cpp b/Source/bindings/v8/custom/V8AlgorithmCustom.cpp
index f230838e98620d6f3fc0c52cf636eedfee30be49..776460a64b8195c3644e22b7b6292e7c34b30375 100644
--- a/Source/bindings/v8/custom/V8AlgorithmCustom.cpp
+++ b/Source/bindings/v8/custom/V8AlgorithmCustom.cpp
@@ -34,6 +34,8 @@
#include "V8AesCbcParams.h"
#include "V8AesKeyGenParams.h"
#include "V8HmacParams.h"
+#include "V8RsaKeyGenParams.h"
+#include "V8RsaSsaParams.h"
#include "bindings/v8/V8Binding.h"
namespace WebCore {
@@ -52,6 +54,10 @@ v8::Handle<v8::Object> wrap(Algorithm* impl, v8::Handle<v8::Object> creationCont
return wrap(static_cast<AesKeyGenParams*>(impl), creationContext, isolate);
case WebKit::WebCryptoAlgorithmParamsTypeHmacParams:
return wrap(static_cast<HmacParams*>(impl), creationContext, isolate);
+ case WebKit::WebCryptoAlgorithmParamsTypeRsaSsaParams:
+ return wrap(static_cast<RsaSsaParams*>(impl), creationContext, isolate);
+ case WebKit::WebCryptoAlgorithmParamsTypeRsaKeyGenParams:
+ return wrap(static_cast<RsaKeyGenParams*>(impl), creationContext, isolate);
}
ASSERT_NOT_REACHED();
« no previous file with comments | « LayoutTests/crypto/normalize-algorithm-expected.txt ('k') | Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698