Index: public/platform/WebCryptoAlgorithm.h |
diff --git a/public/platform/WebCryptoAlgorithm.h b/public/platform/WebCryptoAlgorithm.h |
index 5ba2c7a0d0c20cb499cdade9738e4dd7f1be3208..0a8e9b49c2d67ad6b5008af39e38771e1239afee 100644 |
--- a/public/platform/WebCryptoAlgorithm.h |
+++ b/public/platform/WebCryptoAlgorithm.h |
@@ -40,6 +40,21 @@ |
namespace blink { |
+enum WebCryptoOperation { |
+ WebCryptoOperationEncrypt, |
+ WebCryptoOperationDecrypt, |
+ WebCryptoOperationSign, |
+ WebCryptoOperationVerify, |
+ WebCryptoOperationDigest, |
+ WebCryptoOperationGenerateKey, |
+ WebCryptoOperationImportKey, |
+ WebCryptoOperationDeriveKey, |
+ WebCryptoOperationDeriveBits, |
+ WebCryptoOperationWrapKey, |
+ WebCryptoOperationUnwrapKey, |
+ WebCryptoOperationLast = WebCryptoOperationUnwrapKey, |
+}; |
+ |
enum WebCryptoAlgorithmId { |
WebCryptoAlgorithmIdAesCbc, |
WebCryptoAlgorithmIdHmac, |