Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(960)

Unified Diff: content/child/webcrypto/status.h

Issue 287133004: [webcrypto] Add JWK import/export of RSA private keys (NSS). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix comment typeo Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/child/webcrypto/shared_crypto_unittest.cc ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/webcrypto/status.h
diff --git a/content/child/webcrypto/status.h b/content/child/webcrypto/status.h
index 69f40be7c4f3e374532b33b0f6a66573979e7836..0996bb31a5876bf669dac379e21745a1b3da215d 100644
--- a/content/child/webcrypto/status.h
+++ b/content/child/webcrypto/status.h
@@ -102,9 +102,6 @@ class CONTENT_EXPORT Status {
// are incompatible with each other.
static Status ErrorJwkUseAndKeyopsInconsistent();
- // TODO(eroman): Private key import through JWK is not yet supported.
- static Status ErrorJwkRsaPrivateKeyUnsupported();
-
// The "kty" parameter was given and was a string, however it was
// unrecognized.
static Status ErrorJwkUnrecognizedKty();
@@ -115,6 +112,10 @@ 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();
+
// ------------------------------------
// Other errors
// ------------------------------------
« no previous file with comments | « content/child/webcrypto/shared_crypto_unittest.cc ('k') | content/child/webcrypto/status.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698