Index: content/child/webcrypto/status.cc |
diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc |
index 666f225aac3bd3715fa0b760ec2ece62bf26d5df..0d71b4826dc3efa3ec272277ce10a3a83a2069c5 100644 |
--- a/content/child/webcrypto/status.cc |
+++ b/content/child/webcrypto/status.cc |
@@ -105,10 +105,15 @@ Status Status::ErrorJwkIncorrectKeyLength() { |
"of key data for the given algorithm."); |
} |
-Status Status::ErrorJwkIncompleteOptionalRsaPrivateKey() { |
+Status Status::ErrorJwkEmptyBigInteger(const std::string& property) { |
return Status(blink::WebCryptoErrorTypeData, |
- "The optional JWK properties p, q, dp, dq, qi must either all " |
- "be provided, or none provided"); |
+ "The JWK \"" + property + "\" property was empty."); |
+} |
+ |
+Status Status::ErrorJwkBigIntegerHasLeadingZero(const std::string& property) { |
+ return Status( |
+ blink::WebCryptoErrorTypeData, |
+ "The JWK \"" + property + "\" property contained a leading zero."); |
} |
Status Status::ErrorImportEmptyKeyData() { |