Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / platform / WebCryptoAlgorithmParams.h
index 1038c53..8d8cc87 100644 (file)
@@ -232,6 +232,21 @@ private:
     const WebVector<unsigned char> m_optionalLabel;
 };
 
+class WebCryptoRsaPssParams : public WebCryptoAlgorithmParams {
+public:
+    explicit WebCryptoRsaPssParams(unsigned saltLengthBytes)
+        : m_saltLengthBytes(saltLengthBytes)
+    {
+    }
+
+    virtual WebCryptoAlgorithmParamsType type() const { return WebCryptoAlgorithmParamsTypeRsaPssParams; }
+
+    unsigned saltLengthBytes() const { return m_saltLengthBytes; }
+
+private:
+    const unsigned m_saltLengthBytes;
+};
+
 } // namespace blink
 
 #endif