| Index: Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp
|
| diff --git a/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp b/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp
|
| index b913cb85416fde41a70412917c10c20aed473b19..891cb1090d58b156e77f550c266a01fc81265bcd 100644
|
| --- a/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp
|
| +++ b/Source/core/platform/chromium/support/WebCryptoAlgorithm.cpp
|
| @@ -99,6 +99,20 @@ WebCryptoHmacParams* WebCryptoAlgorithm::hmacParams() const
|
| return 0;
|
| }
|
|
|
| +WebCryptoRsaSsaParams* WebCryptoAlgorithm::rsaSsaParams() const
|
| +{
|
| + if (paramsType() == WebCryptoAlgorithmParamsTypeRsaSsaParams)
|
| + return static_cast<WebCryptoRsaSsaParams*>(m_private->params.get());
|
| + return 0;
|
| +}
|
| +
|
| +WebCryptoRsaKeyGenParams* WebCryptoAlgorithm::rsaKeyGenParams() const
|
| +{
|
| + if (paramsType() == WebCryptoAlgorithmParamsTypeRsaKeyGenParams)
|
| + return static_cast<WebCryptoRsaKeyGenParams*>(m_private->params.get());
|
| + return 0;
|
| +}
|
| +
|
| void WebCryptoAlgorithm::assign(const WebCryptoAlgorithm& other)
|
| {
|
| m_private = other.m_private;
|
|
|