| Index: content/child/webcrypto/status.h
|
| diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
|
| index d0f2b4a82efd8555a058effe5c787f6d1ab3e0d1..a9ff4373d8b20609c887258088612715ee310503 100644
|
| --- a/content/child/webcrypto/status.h
|
| +++ b/content/child/webcrypto/status.h
|
| @@ -103,9 +103,13 @@ class CONTENT_EXPORT Status {
|
| // given that is an error.
|
| static Status ErrorJwkIncorrectKeyLength();
|
|
|
| - // The JWK was for an RSA private key but only partially provided the optional
|
| - // parameters (p, q, dq, dq, qi).
|
| - static Status ErrorJwkIncompleteOptionalRsaPrivateKey();
|
| + // The JWK property |property| is supposed to represent a big-endian unsigned
|
| + // integer, however was the empty string.
|
| + static Status ErrorJwkEmptyBigInteger(const std::string& property);
|
| +
|
| + // The big-endian unsigned integer |property| contained leading zeros. This
|
| + // violates the JWA requirement that such octet strings be minimal.
|
| + static Status ErrorJwkBigIntegerHasLeadingZero(const std::string& property);
|
|
|
| // ------------------------------------
|
| // Other errors
|
|
|