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

Unified Diff: Source/modules/crypto/KeyAlgorithm.cpp

Issue 284973002: [webcrypto] Remove RSA-ES support (3 of 3) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Placate compiler warning on android about uninitialized variable Created 6 years, 7 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
« no previous file with comments | « Source/modules/crypto/KeyAlgorithm.h ('k') | Source/modules/crypto/KeyAlgorithm.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*)
{
}
« no previous file with comments | « Source/modules/crypto/KeyAlgorithm.h ('k') | Source/modules/crypto/KeyAlgorithm.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698