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

Unified Diff: Source/modules/crypto/RsaSsaParams.h

Issue 21759002: WebCrypto: Add algorithm normalization rules for RSASSA-PKCS1-v1_5. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase onto master Created 7 years, 5 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/RsaKeyGenParams.idl ('k') | Source/modules/crypto/RsaSsaParams.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
};
« no previous file with comments | « Source/modules/crypto/RsaKeyGenParams.idl ('k') | Source/modules/crypto/RsaSsaParams.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698