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

Unified Diff: public/platform/WebCryptoAlgorithm.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/modules.gypi ('k') | public/platform/WebCryptoAlgorithmParams.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/platform/WebCryptoAlgorithm.h
diff --git a/public/platform/WebCryptoAlgorithm.h b/public/platform/WebCryptoAlgorithm.h
index 07bcc62c0d1e65a10c59f5c8cb6b7a40b9b8d532..a7837ed2d532f78dff7b91ca567b09483666c7bd 100644
--- a/public/platform/WebCryptoAlgorithm.h
+++ b/public/platform/WebCryptoAlgorithm.h
@@ -43,6 +43,7 @@ namespace WebKit {
enum WebCryptoAlgorithmId {
WebCryptoAlgorithmIdAesCbc,
WebCryptoAlgorithmIdHmac,
+ WebCryptoAlgorithmIdRsaSsaPkcs1v1_5,
WebCryptoAlgorithmIdSha1,
WebCryptoAlgorithmIdSha224,
WebCryptoAlgorithmIdSha256,
@@ -58,11 +59,15 @@ enum WebCryptoAlgorithmParamsType {
WebCryptoAlgorithmParamsTypeAesCbcParams,
WebCryptoAlgorithmParamsTypeAesKeyGenParams,
WebCryptoAlgorithmParamsTypeHmacParams,
+ WebCryptoAlgorithmParamsTypeRsaSsaParams,
+ WebCryptoAlgorithmParamsTypeRsaKeyGenParams,
};
class WebCryptoAesCbcParams;
class WebCryptoAesKeyGenParams;
class WebCryptoHmacParams;
+class WebCryptoRsaSsaParams;
+class WebCryptoRsaKeyGenParams;
class WebCryptoAlgorithmParams;
class WebCryptoAlgorithmPrivate;
@@ -99,6 +104,8 @@ public:
WEBKIT_EXPORT WebCryptoAesCbcParams* aesCbcParams() const;
WEBKIT_EXPORT WebCryptoAesKeyGenParams* aesKeyGenParams() const;
WEBKIT_EXPORT WebCryptoHmacParams* hmacParams() const;
+ WEBKIT_EXPORT WebCryptoRsaSsaParams* rsaSsaParams() const;
+ WEBKIT_EXPORT WebCryptoRsaKeyGenParams* rsaKeyGenParams() const;
private:
WEBKIT_EXPORT void assign(const WebCryptoAlgorithm& other);
« no previous file with comments | « Source/modules/modules.gypi ('k') | public/platform/WebCryptoAlgorithmParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698