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

Unified Diff: public/platform/WebCryptoAlgorithm.h

Issue 657243002: [webcrypto] Add parameter parsing for RSA-PSS. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/platform/exported/WebCryptoAlgorithm.cpp ('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 09896b44f6b871775ee3bc0dd0b3257458f0d754..7186cd5645bb3a7afb48be179bbccba9d7f33e68 100644
--- a/public/platform/WebCryptoAlgorithm.h
+++ b/public/platform/WebCryptoAlgorithm.h
@@ -67,8 +67,9 @@ enum WebCryptoAlgorithmId {
WebCryptoAlgorithmIdRsaOaep,
WebCryptoAlgorithmIdAesCtr,
WebCryptoAlgorithmIdAesKw,
+ WebCryptoAlgorithmIdRsaPss,
#if INSIDE_BLINK
- WebCryptoAlgorithmIdLast = WebCryptoAlgorithmIdAesKw,
+ WebCryptoAlgorithmIdLast = WebCryptoAlgorithmIdRsaPss,
#endif
};
@@ -83,6 +84,7 @@ enum WebCryptoAlgorithmParamsType {
WebCryptoAlgorithmParamsTypeAesGcmParams,
WebCryptoAlgorithmParamsTypeRsaOaepParams,
WebCryptoAlgorithmParamsTypeAesCtrParams,
+ WebCryptoAlgorithmParamsTypeRsaPssParams,
};
struct WebCryptoAlgorithmInfo {
@@ -108,6 +110,7 @@ class WebCryptoRsaOaepParams;
class WebCryptoAesCtrParams;
class WebCryptoRsaHashedKeyGenParams;
class WebCryptoRsaHashedImportParams;
+class WebCryptoRsaPssParams;
class WebCryptoAlgorithmParams;
class WebCryptoAlgorithmPrivate;
@@ -160,6 +163,7 @@ public:
BLINK_PLATFORM_EXPORT const WebCryptoAesCtrParams* aesCtrParams() const;
BLINK_PLATFORM_EXPORT const WebCryptoRsaHashedImportParams* rsaHashedImportParams() const;
BLINK_PLATFORM_EXPORT const WebCryptoRsaHashedKeyGenParams* rsaHashedKeyGenParams() const;
+ BLINK_PLATFORM_EXPORT const WebCryptoRsaPssParams* rsaPssParams() const;
// Returns true if the provided algorithm ID is for a hash (in other words, SHA-*)
BLINK_PLATFORM_EXPORT static bool isHash(WebCryptoAlgorithmId);
« no previous file with comments | « Source/platform/exported/WebCryptoAlgorithm.cpp ('k') | public/platform/WebCryptoAlgorithmParams.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698