Index: Source/modules/crypto/KeyAlgorithm.cpp |
diff --git a/Source/modules/crypto/KeyAlgorithm.cpp b/Source/modules/crypto/KeyAlgorithm.cpp |
index 3bf3d4f62064fd1a3cb850e3bb207d5b38c9f4fb..ebcbcd0c3237657a4b18bc504ff2ea42a9081c66 100644 |
--- a/Source/modules/crypto/KeyAlgorithm.cpp |
+++ b/Source/modules/crypto/KeyAlgorithm.cpp |
@@ -53,8 +53,6 @@ KeyAlgorithm* KeyAlgorithm::create(const blink::WebCryptoKeyAlgorithm& algorithm |
return AesKeyAlgorithm::create(algorithm); |
case blink::WebCryptoKeyAlgorithmParamsTypeHmac: |
return HmacKeyAlgorithm::create(algorithm); |
- case blink::WebCryptoKeyAlgorithmParamsTypeRsa: |
- return RsaKeyAlgorithm::create(algorithm); |
case blink::WebCryptoKeyAlgorithmParamsTypeRsaHashed: |
return RsaHashedKeyAlgorithm::create(algorithm); |
} |
@@ -95,11 +93,6 @@ bool KeyAlgorithm::isRsaHashedKeyAlgorithm() const |
return m_algorithm.paramsType() == blink::WebCryptoKeyAlgorithmParamsTypeRsaHashed; |
} |
-bool KeyAlgorithm::isRsaKeyAlgorithm() const |
-{ |
- return m_algorithm.paramsType() == blink::WebCryptoKeyAlgorithmParamsTypeRsa; |
-} |
- |
void KeyAlgorithm::trace(Visitor*) |
{ |
} |