summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/crypto/json_web_key.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/crypto/json_web_key.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/crypto/json_web_key.idl28
1 files changed, 28 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/crypto/json_web_key.idl b/chromium/third_party/blink/renderer/modules/crypto/json_web_key.idl
new file mode 100644
index 00000000000..343481ee325
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/crypto/json_web_key.idl
@@ -0,0 +1,28 @@
+// Copyright 2020 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://w3c.github.io/webcrypto/#JsonWebKey-dictionary
+
+dictionary JsonWebKey {
+ DOMString kty;
+ DOMString use;
+ sequence<DOMString> key_ops;
+ DOMString alg;
+
+ boolean ext;
+
+ DOMString crv;
+ DOMString x;
+ DOMString y;
+ DOMString d;
+ DOMString n;
+ DOMString e;
+ DOMString p;
+ DOMString q;
+ DOMString dp;
+ DOMString dq;
+ DOMString qi;
+ sequence<RsaOtherPrimesInfo> oth;
+ DOMString k;
+};