Index: Source/platform/exported/WebCryptoKeyAlgorithm.cpp |
diff --git a/Source/platform/exported/WebCryptoKeyAlgorithm.cpp b/Source/platform/exported/WebCryptoKeyAlgorithm.cpp |
index ae759d9e31cfc3a5ae9718d857b1db4992f5199b..83f7d90c9cad244666417cd1007efbe7557b806b 100644 |
--- a/Source/platform/exported/WebCryptoKeyAlgorithm.cpp |
+++ b/Source/platform/exported/WebCryptoKeyAlgorithm.cpp |
@@ -80,12 +80,6 @@ WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createHmac(WebCryptoAlgorithmId has |
return WebCryptoKeyAlgorithm(WebCryptoAlgorithmIdHmac, adoptPtr(new WebCryptoHmacKeyAlgorithmParams(createHash(hash), keyLengthBits))); |
} |
-WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createRsa(WebCryptoAlgorithmId id, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize) |
-{ |
- // FIXME: Verify that id is an RSA algorithm without a hash |
- return WebCryptoKeyAlgorithm(id, adoptPtr(new WebCryptoRsaKeyAlgorithmParams(modulusLengthBits, publicExponent, publicExponentSize))); |
-} |
- |
WebCryptoKeyAlgorithm WebCryptoKeyAlgorithm::createRsaHashed(WebCryptoAlgorithmId id, unsigned modulusLengthBits, const unsigned char* publicExponent, unsigned publicExponentSize, WebCryptoAlgorithmId hash) |
{ |
// FIXME: Verify that id is an RSA algorithm which expects a hash |
@@ -129,14 +123,6 @@ WebCryptoHmacKeyAlgorithmParams* WebCryptoKeyAlgorithm::hmacParams() const |
return 0; |
} |
-WebCryptoRsaKeyAlgorithmParams* WebCryptoKeyAlgorithm::rsaParams() const |
-{ |
- ASSERT(!isNull()); |
- if (paramsType() == WebCryptoKeyAlgorithmParamsTypeRsa || paramsType() == WebCryptoKeyAlgorithmParamsTypeRsaHashed) |
- return static_cast<WebCryptoRsaKeyAlgorithmParams*>(m_private->params.get()); |
- return 0; |
-} |
- |
WebCryptoRsaHashedKeyAlgorithmParams* WebCryptoKeyAlgorithm::rsaHashedParams() const |
{ |
ASSERT(!isNull()); |