Index: content/child/webcrypto/webcrypto_util.h |
diff --git a/content/child/webcrypto/webcrypto_util.h b/content/child/webcrypto/webcrypto_util.h |
index f4a2a6f65287160bb63ab23869a90a5b7b00a537..016a875569e701308aaa4f452d8738ea29429e39 100644 |
--- a/content/child/webcrypto/webcrypto_util.h |
+++ b/content/child/webcrypto/webcrypto_util.h |
@@ -75,6 +75,9 @@ bool CreateSecretKeyAlgorithm(const blink::WebCryptoAlgorithm& algorithm, |
bool ContainsKeyUsages(blink::WebCryptoKeyUsageMask a, |
blink::WebCryptoKeyUsageMask b); |
+bool KeyUsageAllows(const blink::WebCryptoKey& key, |
+ const blink::WebCryptoKeyUsage usage); |
+ |
bool IsAlgorithmRsa(blink::WebCryptoAlgorithmId alg_id); |
bool IsAlgorithmAsymmetric(blink::WebCryptoAlgorithmId alg_id); |