| Index: content/child/webcrypto/status.cc
|
| diff --git a/content/child/webcrypto/status.cc b/content/child/webcrypto/status.cc
|
| index 4fbfd709874742f69c7b412c2de030c311bee196..6d664df35056b4bd9c7697fe4feae49b9b08ff49 100644
|
| --- a/content/child/webcrypto/status.cc
|
| +++ b/content/child/webcrypto/status.cc
|
| @@ -99,12 +99,6 @@ Status Status::ErrorJwkUseAndKeyopsInconsistent() {
|
| "but are inconsistent with each other.");
|
| }
|
|
|
| -Status Status::ErrorJwkRsaPrivateKeyUnsupported() {
|
| - return Status(blink::WebCryptoErrorTypeNotSupported,
|
| - "JWK RSA key contained \"d\" property: Private key import is "
|
| - "not yet supported");
|
| -}
|
| -
|
| Status Status::ErrorJwkUnrecognizedKty() {
|
| return Status(blink::WebCryptoErrorTypeData,
|
| "The JWK \"kty\" property was unrecognized");
|
| @@ -116,6 +110,12 @@ Status Status::ErrorJwkIncorrectKeyLength() {
|
| "of key data for the given algorithm.");
|
| }
|
|
|
| +Status Status::ErrorJwkIncompleteOptionalRsaPrivateKey() {
|
| + return Status(blink::WebCryptoErrorTypeData,
|
| + "The optional JWK properties p, q, dp, dq, qi must either all "
|
| + "be provided, or none provided");
|
| +}
|
| +
|
| Status Status::ErrorImportEmptyKeyData() {
|
| return Status(blink::WebCryptoErrorTypeData, "No key data was provided");
|
| }
|
|
|