Index: Source/modules/crypto/Algorithm.cpp |
diff --git a/Source/modules/crypto/Algorithm.cpp b/Source/modules/crypto/Algorithm.cpp |
index f94cf300dfdb5220da855a611acfec6259fd919c..5fd8855dae20ead0a985c3f3a59c3a2d72685f91 100644 |
--- a/Source/modules/crypto/Algorithm.cpp |
+++ b/Source/modules/crypto/Algorithm.cpp |
@@ -34,6 +34,8 @@ |
#include "modules/crypto/AesCbcParams.h" |
#include "modules/crypto/AesKeyGenParams.h" |
#include "modules/crypto/HmacParams.h" |
+#include "modules/crypto/RsaKeyGenParams.h" |
+#include "modules/crypto/RsaSsaParams.h" |
#include "wtf/text/WTFString.h" |
namespace WebCore { |
@@ -49,6 +51,10 @@ PassRefPtr<Algorithm> Algorithm::create(const WebKit::WebCryptoAlgorithm& algori |
return AesKeyGenParams::create(algorithm); |
case WebKit::WebCryptoAlgorithmParamsTypeHmacParams: |
return HmacParams::create(algorithm); |
+ case WebKit::WebCryptoAlgorithmParamsTypeRsaSsaParams: |
+ return RsaSsaParams::create(algorithm); |
+ case WebKit::WebCryptoAlgorithmParamsTypeRsaKeyGenParams: |
+ return RsaKeyGenParams::create(algorithm); |
} |
ASSERT_NOT_REACHED(); |
return 0; |