| Index: Source/modules/crypto/RsaSsaParams.h
|
| diff --git a/Source/modules/crypto/HmacParams.h b/Source/modules/crypto/RsaSsaParams.h
|
| similarity index 86%
|
| copy from Source/modules/crypto/HmacParams.h
|
| copy to Source/modules/crypto/RsaSsaParams.h
|
| index 45ddebd038b2ab3b7450d14a1bbdea7259b3694d..65c50430e15b41c16054b04a004bc77930debc52 100644
|
| --- a/Source/modules/crypto/HmacParams.h
|
| +++ b/Source/modules/crypto/RsaSsaParams.h
|
| @@ -28,22 +28,22 @@
|
| * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| */
|
|
|
| -#ifndef HmacParams_h
|
| -#define HmacParams_h
|
| +#ifndef RsaSsaParams_h
|
| +#define RsaSsaParams_h
|
|
|
| #include "modules/crypto/Algorithm.h"
|
| #include "wtf/RefPtr.h"
|
|
|
| namespace WebCore {
|
|
|
| -class HmacParams : public Algorithm {
|
| +class RsaSsaParams : public Algorithm {
|
| public:
|
| - static PassRefPtr<HmacParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new HmacParams(algorithm)); }
|
| + static PassRefPtr<RsaSsaParams> create(const WebKit::WebCryptoAlgorithm& algorithm) { return adoptRef(new RsaSsaParams(algorithm)); }
|
|
|
| Algorithm* hash();
|
|
|
| private:
|
| - explicit HmacParams(const WebKit::WebCryptoAlgorithm&);
|
| + explicit RsaSsaParams(const WebKit::WebCryptoAlgorithm&);
|
|
|
| RefPtr<Algorithm> m_hash;
|
| };
|
|
|