| Index: trunk/Source/modules/crypto/KeyAlgorithm.cpp
|
| ===================================================================
|
| --- trunk/Source/modules/crypto/KeyAlgorithm.cpp (revision 174732)
|
| +++ trunk/Source/modules/crypto/KeyAlgorithm.cpp (working copy)
|
| @@ -53,6 +53,8 @@
|
| 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);
|
| }
|
| @@ -93,6 +95,11 @@
|
| return m_algorithm.paramsType() == blink::WebCryptoKeyAlgorithmParamsTypeRsaHashed;
|
| }
|
|
|
| +bool KeyAlgorithm::isRsaKeyAlgorithm() const
|
| +{
|
| + return m_algorithm.paramsType() == blink::WebCryptoKeyAlgorithmParamsTypeRsa;
|
| +}
|
| +
|
| void KeyAlgorithm::trace(Visitor*)
|
| {
|
| }
|
|
|