@sudoplatform/sudo-common 7.0.1 → 7.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/docs/assets/search.js +1 -1
- package/docs/classes/DefaultSudoKeyManager.html +34 -78
- package/docs/interfaces/SudoCryptoProvider.html +27 -69
- package/docs/interfaces/SudoKeyManager.html +27 -69
- package/github/docs/assets/search.js +1 -1
- package/github/docs/classes/DefaultSudoKeyManager.html +34 -78
- package/github/docs/interfaces/SudoCryptoProvider.html +27 -69
- package/github/docs/interfaces/SudoKeyManager.html +27 -69
- package/github/package.json +1 -1
- package/github/src/sudoKeyManager/sudoCryptoProvider.ts +0 -18
- package/github/src/sudoKeyManager/sudoKeyManager.ts +2 -28
- package/github/test/unit/sudoKeyManager.spec.ts +8 -49
- package/github/yarn.lock +4 -4
- package/lib/sudoKeyManager/sudoCryptoProvider.d.ts +0 -16
- package/lib/sudoKeyManager/sudoKeyManager.d.ts +0 -18
- package/lib/sudoKeyManager/sudoKeyManager.js +2 -10
- package/package.json +2 -2
- package/src/sudoKeyManager/sudoCryptoProvider.ts +0 -18
- package/src/sudoKeyManager/sudoKeyManager.ts +2 -28
- package/test/unit/sudoKeyManager.spec.ts +8 -49
- package/yarn.lock +4 -4
|
@@ -51,9 +51,7 @@ cryptographic operations.</p>
|
|
|
51
51
|
<a href="SudoKeyManager.html#deletePublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Public<wbr/>Key</span></a>
|
|
52
52
|
<a href="SudoKeyManager.html#deleteSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Symmetric<wbr/>Key</span></a>
|
|
53
53
|
<a href="SudoKeyManager.html#doesPrivateKeyExist" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Private<wbr/>Key<wbr/>Exist</span></a>
|
|
54
|
-
<a href="SudoKeyManager.html#doesPrivateKeyExists" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Private<wbr/>Key<wbr/>Exists</span></a>
|
|
55
54
|
<a href="SudoKeyManager.html#doesSymmetricKeyExist" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</span></a>
|
|
56
|
-
<a href="SudoKeyManager.html#doesSymmetricKeyExists" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</span></a>
|
|
57
55
|
<a href="SudoKeyManager.html#encryptWithPublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Public<wbr/>Key</span></a>
|
|
58
56
|
<a href="SudoKeyManager.html#encryptWithSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span></a>
|
|
59
57
|
<a href="SudoKeyManager.html#encryptWithSymmetricKeyName" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span></a>
|
|
@@ -123,7 +121,7 @@ cryptographic operations.</p>
|
|
|
123
121
|
</div></li></ul></div>
|
|
124
122
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
125
123
|
<ul>
|
|
126
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
124
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:86</li></ul></aside></li></ul></section>
|
|
127
125
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPublicKey" class="tsd-anchor"></a>
|
|
128
126
|
<h3 class="tsd-anchor-link"><span>add<wbr/>Public<wbr/>Key</span><a href="#addPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
129
127
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -145,7 +143,7 @@ cryptographic operations.</p>
|
|
|
145
143
|
</div></li></ul></div>
|
|
146
144
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
147
145
|
<ul>
|
|
148
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
146
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:112</li></ul></aside></li></ul></section>
|
|
149
147
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addSymmetricKey" class="tsd-anchor"></a>
|
|
150
148
|
<h3 class="tsd-anchor-link"><span>add<wbr/>Symmetric<wbr/>Key</span><a href="#addSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
151
149
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -193,7 +191,7 @@ cryptographic operations.</p>
|
|
|
193
191
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul></div>
|
|
194
192
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
195
193
|
<ul>
|
|
196
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
194
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:324</li></ul></aside></li></ul></section>
|
|
197
195
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKey" class="tsd-anchor"></a>
|
|
198
196
|
<h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span><a href="#decryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
199
197
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -220,7 +218,7 @@ cryptographic operations.</p>
|
|
|
220
218
|
</div></li></ul></div>
|
|
221
219
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
222
220
|
<ul>
|
|
223
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
221
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:211</li></ul></aside></li>
|
|
224
222
|
<li class="tsd-signature tsd-anchor-link" id="decryptWithSymmetricKey.decryptWithSymmetricKey-2">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span><a href="#decryptWithSymmetricKey.decryptWithSymmetricKey-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
225
223
|
<li class="tsd-description">
|
|
226
224
|
<div class="tsd-comment tsd-typography"><p>Decrypt the given data with the given symmetric key</p>
|
|
@@ -242,7 +240,7 @@ cryptographic operations.</p>
|
|
|
242
240
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
|
|
243
241
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
244
242
|
<ul>
|
|
245
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
243
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:227</li></ul></aside></li></ul></section>
|
|
246
244
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKeyName" class="tsd-anchor"></a>
|
|
247
245
|
<h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span><a href="#decryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
248
246
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -271,7 +269,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
271
269
|
</div></li></ul></div>
|
|
272
270
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
273
271
|
<ul>
|
|
274
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
272
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:276</li></ul></aside></li>
|
|
275
273
|
<li class="tsd-signature tsd-anchor-link" id="decryptWithSymmetricKeyName.decryptWithSymmetricKeyName-2">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span><a href="#decryptWithSymmetricKeyName.decryptWithSymmetricKeyName-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
276
274
|
<li class="tsd-description">
|
|
277
275
|
<div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
|
|
@@ -295,7 +293,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
295
293
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
|
|
296
294
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
297
295
|
<ul>
|
|
298
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
296
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:292</li></ul></aside></li></ul></section>
|
|
299
297
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteKeyPair" class="tsd-anchor"></a>
|
|
300
298
|
<h3 class="tsd-anchor-link"><span>delete<wbr/>Key<wbr/>Pair</span><a href="#deleteKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
301
299
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -312,7 +310,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
312
310
|
</div></li></ul></div>
|
|
313
311
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
314
312
|
<ul>
|
|
315
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
313
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:137</li></ul></aside></li></ul></section>
|
|
316
314
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePassword" class="tsd-anchor"></a>
|
|
317
315
|
<h3 class="tsd-anchor-link"><span>delete<wbr/>Password</span><a href="#deletePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
318
316
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -344,7 +342,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
344
342
|
</div></li></ul></div>
|
|
345
343
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
346
344
|
<ul>
|
|
347
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
345
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:119</li></ul></aside></li></ul></section>
|
|
348
346
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteSymmetricKey" class="tsd-anchor"></a>
|
|
349
347
|
<h3 class="tsd-anchor-link"><span>delete<wbr/>Symmetric<wbr/>Key</span><a href="#deleteSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
350
348
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -361,7 +359,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
361
359
|
</div></li></ul></div>
|
|
362
360
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
363
361
|
<ul>
|
|
364
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
362
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:78</li></ul></aside></li></ul></section>
|
|
365
363
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExist" class="tsd-anchor"></a>
|
|
366
364
|
<h3 class="tsd-anchor-link"><span>does<wbr/>Private<wbr/>Key<wbr/>Exist</span><a href="#doesPrivateKeyExist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
367
365
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -378,26 +376,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
378
376
|
</div></li></ul></div>
|
|
379
377
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
380
378
|
<ul>
|
|
381
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
382
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExists" class="tsd-anchor"></a>
|
|
383
|
-
<h3 class="tsd-anchor-link"><span>does<wbr/>Private<wbr/>Key<wbr/>Exists</span><a href="#doesPrivateKeyExists" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
384
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
385
|
-
<li class="tsd-signature tsd-anchor-link" id="doesPrivateKeyExists.doesPrivateKeyExists-1">does<wbr/>Private<wbr/>Key<wbr/>Exists<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#doesPrivateKeyExists.doesPrivateKeyExists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
386
|
-
<li class="tsd-description">
|
|
387
|
-
<div class="tsd-comment tsd-typography"><p>Checks to see if the specified private key exists.</p>
|
|
388
|
-
|
|
389
|
-
<h3>Deprecated</h3><p>Use doesPrivateKeyExist</p>
|
|
390
|
-
</div>
|
|
391
|
-
<div class="tsd-parameters">
|
|
392
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
393
|
-
<ul class="tsd-parameter-list">
|
|
394
|
-
<li>
|
|
395
|
-
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
|
396
|
-
<div class="tsd-comment tsd-typography"><p>The name of the private key.</p>
|
|
397
|
-
</div></li></ul></div>
|
|
398
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
399
|
-
<ul>
|
|
400
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:120</li></ul></aside></li></ul></section>
|
|
379
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:102</li></ul></aside></li></ul></section>
|
|
401
380
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExist" class="tsd-anchor"></a>
|
|
402
381
|
<h3 class="tsd-anchor-link"><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</span><a href="#doesSymmetricKeyExist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
403
382
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -415,25 +394,6 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
415
394
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
416
395
|
<ul>
|
|
417
396
|
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:71</li></ul></aside></li></ul></section>
|
|
418
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExists" class="tsd-anchor"></a>
|
|
419
|
-
<h3 class="tsd-anchor-link"><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</span><a href="#doesSymmetricKeyExists" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
420
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
421
|
-
<li class="tsd-signature tsd-anchor-link" id="doesSymmetricKeyExists.doesSymmetricKeyExists-1">does<wbr/>Symmetric<wbr/>Key<wbr/>Exists<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span><a href="#doesSymmetricKeyExists.doesSymmetricKeyExists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
422
|
-
<li class="tsd-description">
|
|
423
|
-
<div class="tsd-comment tsd-typography"><p>Checks to see if the specified symmetric key exists.</p>
|
|
424
|
-
|
|
425
|
-
<h3>Deprecated</h3><p>Use doesSymmetricKeyExist</p>
|
|
426
|
-
</div>
|
|
427
|
-
<div class="tsd-parameters">
|
|
428
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
429
|
-
<ul class="tsd-parameter-list">
|
|
430
|
-
<li>
|
|
431
|
-
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
|
432
|
-
<div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
|
|
433
|
-
</div></li></ul></div>
|
|
434
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
435
|
-
<ul>
|
|
436
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:80</li></ul></aside></li></ul></section>
|
|
437
397
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithPublicKey" class="tsd-anchor"></a>
|
|
438
398
|
<h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Public<wbr/>Key</span><a href="#encryptWithPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
439
399
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -460,7 +420,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
460
420
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul></div>
|
|
461
421
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
462
422
|
<ul>
|
|
463
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
423
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:308</li></ul></aside></li></ul></section>
|
|
464
424
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKey" class="tsd-anchor"></a>
|
|
465
425
|
<h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span><a href="#encryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
466
426
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -487,7 +447,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
487
447
|
</div></li></ul></div>
|
|
488
448
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
489
449
|
<ul>
|
|
490
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
450
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:178</li></ul></aside></li>
|
|
491
451
|
<li class="tsd-signature tsd-anchor-link" id="encryptWithSymmetricKey.encryptWithSymmetricKey-2">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span><a href="#encryptWithSymmetricKey.encryptWithSymmetricKey-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
492
452
|
<li class="tsd-description">
|
|
493
453
|
<div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified key</p>
|
|
@@ -509,7 +469,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
509
469
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
|
|
510
470
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
511
471
|
<ul>
|
|
512
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
472
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:194</li></ul></aside></li></ul></section>
|
|
513
473
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKeyName" class="tsd-anchor"></a>
|
|
514
474
|
<h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span><a href="#encryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
515
475
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -538,7 +498,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
538
498
|
</div></li></ul></div>
|
|
539
499
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
540
500
|
<ul>
|
|
541
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
501
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:244</li></ul></aside></li>
|
|
542
502
|
<li class="tsd-signature tsd-anchor-link" id="encryptWithSymmetricKeyName.encryptWithSymmetricKeyName-2">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span><a href="#encryptWithSymmetricKeyName.encryptWithSymmetricKeyName-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
|
|
543
503
|
<li class="tsd-description">
|
|
544
504
|
<div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
|
|
@@ -562,7 +522,7 @@ Decrypt the given data with the specified symmetric key stored in the secure sto
|
|
|
562
522
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
|
|
563
523
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
564
524
|
<ul>
|
|
565
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
525
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:260</li></ul></aside></li></ul></section>
|
|
566
526
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="exportKeys" class="tsd-anchor"></a>
|
|
567
527
|
<h3 class="tsd-anchor-link"><span>export<wbr/>Keys</span><a href="#exportKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
568
528
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -573,7 +533,7 @@ ready for archive.</p>
|
|
|
573
533
|
</div>
|
|
574
534
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><a href="KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
575
535
|
<ul>
|
|
576
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
536
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:388</li></ul></aside></li></ul></section>
|
|
577
537
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateHash" class="tsd-anchor"></a>
|
|
578
538
|
<h3 class="tsd-anchor-link"><span>generate<wbr/>Hash</span><a href="#generateHash" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
579
539
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -590,7 +550,7 @@ ready for archive.</p>
|
|
|
590
550
|
</div></li></ul></div>
|
|
591
551
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
592
552
|
<ul>
|
|
593
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
553
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:372</li></ul></aside></li></ul></section>
|
|
594
554
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateKeyPair" class="tsd-anchor"></a>
|
|
595
555
|
<h3 class="tsd-anchor-link"><span>generate<wbr/>Key<wbr/>Pair</span><a href="#generateKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
596
556
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -608,7 +568,7 @@ ready for archive.</p>
|
|
|
608
568
|
</div></li></ul></div>
|
|
609
569
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
610
570
|
<ul>
|
|
611
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
571
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:382</li></ul></aside></li></ul></section>
|
|
612
572
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateRandomData" class="tsd-anchor"></a>
|
|
613
573
|
<h3 class="tsd-anchor-link"><span>generate<wbr/>Random<wbr/>Data</span><a href="#generateRandomData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
614
574
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -627,7 +587,7 @@ ready for archive.</p>
|
|
|
627
587
|
</div></li></ul></div>
|
|
628
588
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
629
589
|
<ul>
|
|
630
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
590
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:365</li></ul></aside></li></ul></section>
|
|
631
591
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSignatureWithPrivateKey" class="tsd-anchor"></a>
|
|
632
592
|
<h3 class="tsd-anchor-link"><span>generate<wbr/>Signature<wbr/>With<wbr/>Private<wbr/>Key</span><a href="#generateSignatureWithPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
633
593
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -650,7 +610,7 @@ ready for archive.</p>
|
|
|
650
610
|
</div></li></ul></div>
|
|
651
611
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
652
612
|
<ul>
|
|
653
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
613
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:147</li></ul></aside></li></ul></section>
|
|
654
614
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKey" class="tsd-anchor"></a>
|
|
655
615
|
<h3 class="tsd-anchor-link"><span>generate<wbr/>Symmetric<wbr/>Key</span><a href="#generateSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
656
616
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -667,7 +627,7 @@ ready for archive.</p>
|
|
|
667
627
|
</div></li></ul></div>
|
|
668
628
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
669
629
|
<ul>
|
|
670
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
630
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:340</li></ul></aside></li></ul></section>
|
|
671
631
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKeyFromPassword" class="tsd-anchor"></a>
|
|
672
632
|
<h3 class="tsd-anchor-link"><span>generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</span><a href="#generateSymmetricKeyFromPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
673
633
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -695,7 +655,7 @@ ready for archive.</p>
|
|
|
695
655
|
<h5><code class="tsd-tag ts-flagOptional">Optional</code> rounds<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul></div>
|
|
696
656
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
697
657
|
<ul>
|
|
698
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
658
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:352</li></ul></aside></li></ul></section>
|
|
699
659
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPassword" class="tsd-anchor"></a>
|
|
700
660
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Password</span><a href="#getPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
701
661
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -733,7 +693,7 @@ ready for archive.</p>
|
|
|
733
693
|
</div></li></ul></div>
|
|
734
694
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
735
695
|
<ul>
|
|
736
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
696
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:95</li></ul></aside></li></ul></section>
|
|
737
697
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPublicKey" class="tsd-anchor"></a>
|
|
738
698
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Public<wbr/>Key</span><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
739
699
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -753,7 +713,7 @@ ready for archive.</p>
|
|
|
753
713
|
</div></li></ul></div>
|
|
754
714
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="PublicKey.html" class="tsd-signature-type" data-tsd-kind="Interface">PublicKey</a><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
755
715
|
<ul>
|
|
756
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
716
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:130</li></ul></aside></li></ul></section>
|
|
757
717
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getSymmetricKey" class="tsd-anchor"></a>
|
|
758
718
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Symmetric<wbr/>Key</span><a href="#getSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
759
719
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -782,7 +742,7 @@ ready for archive.</p>
|
|
|
782
742
|
</div>
|
|
783
743
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
784
744
|
<ul>
|
|
785
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
745
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:333</li></ul></aside></li></ul></section>
|
|
786
746
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="updatePassword" class="tsd-anchor"></a>
|
|
787
747
|
<h3 class="tsd-anchor-link"><span>update<wbr/>Password</span><a href="#updatePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
|
|
788
748
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -826,7 +786,7 @@ ready for archive.</p>
|
|
|
826
786
|
</div></li></ul></div>
|
|
827
787
|
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">></span></h4><aside class="tsd-sources">
|
|
828
788
|
<ul>
|
|
829
|
-
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:
|
|
789
|
+
<li>Defined in src/sudoKeyManager/sudoKeyManager.ts:161</li></ul></aside></li></ul></section></section></div>
|
|
830
790
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
831
791
|
<div class="tsd-navigation settings">
|
|
832
792
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -865,9 +825,7 @@ ready for archive.</p>
|
|
|
865
825
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#deletePublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Public<wbr/>Key</a></li>
|
|
866
826
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#deleteSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Symmetric<wbr/>Key</a></li>
|
|
867
827
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#doesPrivateKeyExist" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Private<wbr/>Key<wbr/>Exist</a></li>
|
|
868
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#doesPrivateKeyExists" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Private<wbr/>Key<wbr/>Exists</a></li>
|
|
869
828
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#doesSymmetricKeyExist" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</a></li>
|
|
870
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#doesSymmetricKeyExists" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</a></li>
|
|
871
829
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#encryptWithPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Public<wbr/>Key</a></li>
|
|
872
830
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#encryptWithSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li>
|
|
873
831
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyManager.html#encryptWithSymmetricKeyName" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li>
|