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); |