@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
|
@@ -41,9 +41,7 @@
|
|
|
41
41
|
<a href="SudoCryptoProvider.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>
|
|
42
42
|
<a href="SudoCryptoProvider.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>
|
|
43
43
|
<a href="SudoCryptoProvider.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>
|
|
44
|
-
<a href="SudoCryptoProvider.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>
|
|
45
44
|
<a href="SudoCryptoProvider.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>
|
|
46
|
-
<a href="SudoCryptoProvider.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>
|
|
47
45
|
<a href="SudoCryptoProvider.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>
|
|
48
46
|
<a href="SudoCryptoProvider.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>
|
|
49
47
|
<a href="SudoCryptoProvider.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>
|
|
@@ -107,7 +105,7 @@
|
|
|
107
105
|
</div></li></ul></div>
|
|
108
106
|
<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">
|
|
109
107
|
<ul>
|
|
110
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
108
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:177</li></ul></aside></li></ul></section>
|
|
111
109
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPublicKey" class="tsd-anchor"></a>
|
|
112
110
|
<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>
|
|
113
111
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -128,7 +126,7 @@
|
|
|
128
126
|
</div></li></ul></div>
|
|
129
127
|
<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">
|
|
130
128
|
<ul>
|
|
131
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
129
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:201</li></ul></aside></li></ul></section>
|
|
132
130
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addSymmetricKey" class="tsd-anchor"></a>
|
|
133
131
|
<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>
|
|
134
132
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -178,7 +176,7 @@
|
|
|
178
176
|
<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>
|
|
179
177
|
<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">
|
|
180
178
|
<ul>
|
|
181
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
179
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:387</li></ul></aside></li></ul></section>
|
|
182
180
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKey" class="tsd-anchor"></a>
|
|
183
181
|
<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>
|
|
184
182
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -205,7 +203,7 @@
|
|
|
205
203
|
</div></li></ul></div>
|
|
206
204
|
<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">
|
|
207
205
|
<ul>
|
|
208
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
206
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:337</li></ul></aside></li>
|
|
209
207
|
<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>
|
|
210
208
|
<li class="tsd-description">
|
|
211
209
|
<div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
|
|
@@ -227,7 +225,7 @@
|
|
|
227
225
|
<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>
|
|
228
226
|
<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">
|
|
229
227
|
<ul>
|
|
230
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
228
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:353</li></ul></aside></li></ul></section>
|
|
231
229
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKeyName" class="tsd-anchor"></a>
|
|
232
230
|
<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>
|
|
233
231
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -256,7 +254,7 @@
|
|
|
256
254
|
</div></li></ul></div>
|
|
257
255
|
<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">
|
|
258
256
|
<ul>
|
|
259
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
257
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:270</li></ul></aside></li>
|
|
260
258
|
<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>
|
|
261
259
|
<li class="tsd-description">
|
|
262
260
|
<div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
|
|
@@ -282,7 +280,7 @@
|
|
|
282
280
|
<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>
|
|
283
281
|
<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">
|
|
284
282
|
<ul>
|
|
285
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
283
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:287</li></ul></aside></li></ul></section>
|
|
286
284
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteKeyPair" class="tsd-anchor"></a>
|
|
287
285
|
<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>
|
|
288
286
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -299,7 +297,7 @@
|
|
|
299
297
|
</div></li></ul></div>
|
|
300
298
|
<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">
|
|
301
299
|
<ul>
|
|
302
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
300
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:139</li></ul></aside></li></ul></section>
|
|
303
301
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePassword" class="tsd-anchor"></a>
|
|
304
302
|
<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>
|
|
305
303
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -333,7 +331,7 @@
|
|
|
333
331
|
</div></li></ul></div>
|
|
334
332
|
<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">
|
|
335
333
|
<ul>
|
|
336
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
334
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:208</li></ul></aside></li></ul></section>
|
|
337
335
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteSymmetricKey" class="tsd-anchor"></a>
|
|
338
336
|
<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>
|
|
339
337
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -350,7 +348,7 @@
|
|
|
350
348
|
</div></li></ul></div>
|
|
351
349
|
<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">
|
|
352
350
|
<ul>
|
|
353
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
351
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:101</li></ul></aside></li></ul></section>
|
|
354
352
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExist" class="tsd-anchor"></a>
|
|
355
353
|
<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>
|
|
356
354
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -367,26 +365,7 @@
|
|
|
367
365
|
</div></li></ul></div>
|
|
368
366
|
<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">
|
|
369
367
|
<ul>
|
|
370
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
371
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExists" class="tsd-anchor"></a>
|
|
372
|
-
<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>
|
|
373
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
374
|
-
<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>
|
|
375
|
-
<li class="tsd-description">
|
|
376
|
-
<div class="tsd-comment tsd-typography"><p>Checks to see if the specified private key exists.</p>
|
|
377
|
-
|
|
378
|
-
<h3>Deprecated</h3><p>Use doesPrivateKeyExist</p>
|
|
379
|
-
</div>
|
|
380
|
-
<div class="tsd-parameters">
|
|
381
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
382
|
-
<ul class="tsd-parameter-list">
|
|
383
|
-
<li>
|
|
384
|
-
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
|
385
|
-
<div class="tsd-comment tsd-typography"><p>The name of the private key.</p>
|
|
386
|
-
</div></li></ul></div>
|
|
387
|
-
<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">
|
|
388
|
-
<ul>
|
|
389
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:211</li></ul></aside></li></ul></section>
|
|
368
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:193</li></ul></aside></li></ul></section>
|
|
390
369
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExist" class="tsd-anchor"></a>
|
|
391
370
|
<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>
|
|
392
371
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -404,25 +383,6 @@
|
|
|
404
383
|
<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">
|
|
405
384
|
<ul>
|
|
406
385
|
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:94</li></ul></aside></li></ul></section>
|
|
407
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExists" class="tsd-anchor"></a>
|
|
408
|
-
<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>
|
|
409
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
410
|
-
<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>
|
|
411
|
-
<li class="tsd-description">
|
|
412
|
-
<div class="tsd-comment tsd-typography"><p>Checks to see if the specified symmetric key exists.</p>
|
|
413
|
-
|
|
414
|
-
<h3>Deprecated</h3><p>Use doesSymmetricKeyExist</p>
|
|
415
|
-
</div>
|
|
416
|
-
<div class="tsd-parameters">
|
|
417
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
418
|
-
<ul class="tsd-parameter-list">
|
|
419
|
-
<li>
|
|
420
|
-
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
|
421
|
-
<div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
|
|
422
|
-
</div></li></ul></div>
|
|
423
|
-
<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">
|
|
424
|
-
<ul>
|
|
425
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:103</li></ul></aside></li></ul></section>
|
|
426
386
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithPublicKey" class="tsd-anchor"></a>
|
|
427
387
|
<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>
|
|
428
388
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -451,7 +411,7 @@
|
|
|
451
411
|
<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>
|
|
452
412
|
<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">
|
|
453
413
|
<ul>
|
|
454
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
414
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:370</li></ul></aside></li></ul></section>
|
|
455
415
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKey" class="tsd-anchor"></a>
|
|
456
416
|
<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>
|
|
457
417
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -478,7 +438,7 @@
|
|
|
478
438
|
</div></li></ul></div>
|
|
479
439
|
<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">
|
|
480
440
|
<ul>
|
|
481
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
441
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:304</li></ul></aside></li>
|
|
482
442
|
<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>
|
|
483
443
|
<li class="tsd-description">
|
|
484
444
|
<div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified key</p>
|
|
@@ -500,7 +460,7 @@
|
|
|
500
460
|
<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>
|
|
501
461
|
<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">
|
|
502
462
|
<ul>
|
|
503
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
463
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:320</li></ul></aside></li></ul></section>
|
|
504
464
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKeyName" class="tsd-anchor"></a>
|
|
505
465
|
<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>
|
|
506
466
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -529,7 +489,7 @@
|
|
|
529
489
|
</div></li></ul></div>
|
|
530
490
|
<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">
|
|
531
491
|
<ul>
|
|
532
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
492
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:235</li></ul></aside></li>
|
|
533
493
|
<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>
|
|
534
494
|
<li class="tsd-description">
|
|
535
495
|
<div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified symmetric key stored in the secure store.</p>
|
|
@@ -555,7 +515,7 @@
|
|
|
555
515
|
<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>
|
|
556
516
|
<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">
|
|
557
517
|
<ul>
|
|
558
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
518
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:253</li></ul></aside></li></ul></section>
|
|
559
519
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="exportKeys" class="tsd-anchor"></a>
|
|
560
520
|
<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>
|
|
561
521
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -568,7 +528,7 @@ array of KeyData items.</p>
|
|
|
568
528
|
</div>
|
|
569
529
|
<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">
|
|
570
530
|
<ul>
|
|
571
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
531
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:415</li></ul></aside></li></ul></section>
|
|
572
532
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateHash" class="tsd-anchor"></a>
|
|
573
533
|
<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>
|
|
574
534
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -587,7 +547,7 @@ array of KeyData items.</p>
|
|
|
587
547
|
</div></li></ul></div>
|
|
588
548
|
<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">
|
|
589
549
|
<ul>
|
|
590
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
550
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:407</li></ul></aside></li></ul></section>
|
|
591
551
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateKeyPair" class="tsd-anchor"></a>
|
|
592
552
|
<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>
|
|
593
553
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -604,7 +564,7 @@ array of KeyData items.</p>
|
|
|
604
564
|
</div></li></ul></div>
|
|
605
565
|
<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">
|
|
606
566
|
<ul>
|
|
607
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
567
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:398</li></ul></aside></li></ul></section>
|
|
608
568
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateRandomData" class="tsd-anchor"></a>
|
|
609
569
|
<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>
|
|
610
570
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -623,7 +583,7 @@ array of KeyData items.</p>
|
|
|
623
583
|
</div></li></ul></div>
|
|
624
584
|
<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">
|
|
625
585
|
<ul>
|
|
626
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
586
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:132</li></ul></aside></li></ul></section>
|
|
627
587
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSignatureWithPrivateKey" class="tsd-anchor"></a>
|
|
628
588
|
<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>
|
|
629
589
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -648,7 +608,7 @@ array of KeyData items.</p>
|
|
|
648
608
|
</div></li></ul></div>
|
|
649
609
|
<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">
|
|
650
610
|
<ul>
|
|
651
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
611
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:151</li></ul></aside></li></ul></section>
|
|
652
612
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKey" class="tsd-anchor"></a>
|
|
653
613
|
<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>
|
|
654
614
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -665,7 +625,7 @@ array of KeyData items.</p>
|
|
|
665
625
|
</div></li></ul></div>
|
|
666
626
|
<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">
|
|
667
627
|
<ul>
|
|
668
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
628
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:108</li></ul></aside></li></ul></section>
|
|
669
629
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKeyFromPassword" class="tsd-anchor"></a>
|
|
670
630
|
<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>
|
|
671
631
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -693,7 +653,7 @@ array of KeyData items.</p>
|
|
|
693
653
|
<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>
|
|
694
654
|
<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">
|
|
695
655
|
<ul>
|
|
696
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
656
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:119</li></ul></aside></li></ul></section>
|
|
697
657
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getNamespace" class="tsd-anchor"></a>
|
|
698
658
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Namespace</span><a href="#getNamespace" 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>
|
|
699
659
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -739,7 +699,7 @@ array of KeyData items.</p>
|
|
|
739
699
|
</div></li></ul></div>
|
|
740
700
|
<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">
|
|
741
701
|
<ul>
|
|
742
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
702
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:186</li></ul></aside></li></ul></section>
|
|
743
703
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPublicKey" class="tsd-anchor"></a>
|
|
744
704
|
<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>
|
|
745
705
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -758,7 +718,7 @@ array of KeyData items.</p>
|
|
|
758
718
|
</div></li></ul></div>
|
|
759
719
|
<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">
|
|
760
720
|
<ul>
|
|
761
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
721
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:217</li></ul></aside></li></ul></section>
|
|
762
722
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getServiceName" class="tsd-anchor"></a>
|
|
763
723
|
<h3 class="tsd-anchor-link"><span>get<wbr/>Service<wbr/>Name</span><a href="#getServiceName" 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>
|
|
764
724
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -795,7 +755,7 @@ array of KeyData items.</p>
|
|
|
795
755
|
</div>
|
|
796
756
|
<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">
|
|
797
757
|
<ul>
|
|
798
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
758
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:222</li></ul></aside></li></ul></section>
|
|
799
759
|
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="updatePassword" class="tsd-anchor"></a>
|
|
800
760
|
<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>
|
|
801
761
|
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
@@ -843,7 +803,7 @@ array of KeyData items.</p>
|
|
|
843
803
|
</div></li></ul></div>
|
|
844
804
|
<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">
|
|
845
805
|
<ul>
|
|
846
|
-
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:
|
|
806
|
+
<li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:165</li></ul></aside></li></ul></section></section></div>
|
|
847
807
|
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
848
808
|
<div class="tsd-navigation settings">
|
|
849
809
|
<details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
|
|
@@ -880,9 +840,7 @@ array of KeyData items.</p>
|
|
|
880
840
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
881
841
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
882
842
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
883
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
884
843
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
885
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
886
844
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
887
845
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|
|
888
846
|
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.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>
|