@sudoplatform/sudo-common 5.6.0 → 5.9.0
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/CHANGELOG.md +5 -1
- package/bin/yarn-audit-with-suppression.sh +1 -1
- package/dependencies-report.json +2 -2
- package/docs/.nojekyll +1 -0
- package/docs/assets/highlight.css +57 -0
- package/docs/assets/icons.css +1043 -0
- package/docs/assets/{images/icons.png → icons.png} +0 -0
- package/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- package/docs/assets/main.js +52 -0
- package/docs/assets/search.js +1 -0
- package/docs/assets/style.css +1384 -0
- package/docs/assets/{images/widgets.png → widgets.png} +0 -0
- package/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- package/docs/classes/AccountLockedError.html +7 -332
- package/docs/classes/AuthenticationError.html +8 -339
- package/docs/classes/Base64.html +3 -283
- package/docs/classes/Buffer.html +3 -324
- package/docs/classes/ConfigurationNotSetError.html +8 -333
- package/docs/classes/ConfigurationSetNotFoundError.html +7 -338
- package/docs/classes/DecodeError.html +7 -338
- package/docs/classes/DefaultConfigurationManager.html +18 -333
- package/docs/classes/DefaultLogger.html +19 -417
- package/docs/classes/DefaultSudoKeyArchive.html +61 -598
- package/docs/classes/DefaultSudoKeyManager.html +60 -1110
- package/docs/classes/FatalError.html +8 -339
- package/docs/classes/IllegalArgumentError.html +7 -338
- package/docs/classes/IllegalStateError.html +8 -339
- package/docs/classes/InsufficientEntitlementsError.html +8 -333
- package/docs/classes/InvalidOwnershipProofError.html +7 -332
- package/docs/classes/InvalidTokenError.html +7 -332
- package/docs/classes/KeyArchiveDecodingError.html +7 -338
- package/docs/classes/KeyArchiveIncorrectPasswordError.html +7 -338
- package/docs/classes/KeyArchiveMissingError.html +7 -338
- package/docs/classes/KeyArchiveNoPasswordRequiredError.html +7 -338
- package/docs/classes/KeyArchivePasswordRequiredError.html +7 -338
- package/docs/classes/KeyArchiveTypeError.html +7 -338
- package/docs/classes/KeyArchiveUnknownKeyTypeError.html +7 -338
- package/docs/classes/KeyArchiveVersionError.html +7 -338
- package/docs/classes/KeyNotFoundError.html +7 -338
- package/docs/classes/KeyStoreNotExportableError.html +7 -338
- package/docs/classes/LimitExceededError.html +8 -333
- package/docs/classes/NoEntitlementsError.html +7 -332
- package/docs/classes/NotAuthorizedError.html +8 -339
- package/docs/classes/NotRegisteredError.html +7 -338
- package/docs/classes/NotSignedInError.html +8 -333
- package/docs/classes/OperationNotImplementedError.html +7 -338
- package/docs/classes/RegisterError.html +8 -339
- package/docs/classes/RequestFailedError.html +12 -380
- package/docs/classes/ServiceError.html +9 -340
- package/docs/classes/SignOutError.html +7 -338
- package/docs/classes/SudoCryptoProviderDefaults.html +1 -224
- package/docs/classes/UnknownGraphQLError.html +7 -338
- package/docs/classes/UnrecognizedAlgorithmError.html +7 -0
- package/docs/classes/UserNotConfirmedError.html +8 -333
- package/docs/classes/VersionMismatchError.html +10 -335
- package/docs/enums/CachePolicy.html +4 -170
- package/docs/enums/EncryptionAlgorithm.html +5 -171
- package/docs/enums/KeyArchiveKeyType.html +4 -198
- package/docs/enums/KeyDataKeyFormat.html +18 -202
- package/docs/enums/KeyDataKeyType.html +3 -197
- package/docs/enums/ListOperationResultStatus.html +10 -0
- package/docs/enums/PublicKeyFormat.html +1 -162
- package/docs/index.html +14 -369
- package/docs/interfaces/AsymmetricEncryptionOptions.html +3 -163
- package/docs/interfaces/BooleanFilter.html +3 -177
- package/docs/interfaces/ConfigurationManager.html +37 -349
- package/docs/interfaces/KeyData.html +8 -236
- package/docs/interfaces/ListOperationFailureResult.html +5 -0
- package/docs/interfaces/ListOperationPartialResult.html +10 -0
- package/docs/interfaces/ListOperationSuccessResult.html +7 -0
- package/docs/interfaces/ListOutput.html +3 -185
- package/docs/interfaces/Logger.html +39 -401
- package/docs/interfaces/Owner.html +1 -170
- package/docs/interfaces/PublicKey.html +1 -170
- package/docs/interfaces/StringFilter.html +3 -191
- package/docs/interfaces/SudoCryptoProvider.html +172 -1305
- package/docs/interfaces/SudoKeyArchive.html +54 -490
- package/docs/interfaces/SudoKeyManager.html +167 -1298
- package/docs/interfaces/SymmetricEncryptionOptions.html +3 -177
- package/docs/modules.html +33 -895
- package/github/CHANGELOG.md +5 -1
- package/github/bin/yarn-audit-with-suppression.sh +1 -1
- package/github/docs/.nojekyll +1 -0
- package/github/docs/assets/highlight.css +57 -0
- package/github/docs/assets/icons.css +1043 -0
- package/github/docs/assets/{images/icons.png → icons.png} +0 -0
- package/github/docs/assets/{images/icons@2x.png → icons@2x.png} +0 -0
- package/github/docs/assets/main.js +52 -0
- package/github/docs/assets/search.js +1 -0
- package/github/docs/assets/style.css +1384 -0
- package/github/docs/assets/{images/widgets.png → widgets.png} +0 -0
- package/github/docs/assets/{images/widgets@2x.png → widgets@2x.png} +0 -0
- package/github/docs/classes/AccountLockedError.html +7 -332
- package/github/docs/classes/AuthenticationError.html +8 -339
- package/github/docs/classes/Base64.html +3 -283
- package/github/docs/classes/Buffer.html +3 -324
- package/github/docs/classes/ConfigurationNotSetError.html +8 -333
- package/github/docs/classes/ConfigurationSetNotFoundError.html +7 -338
- package/github/docs/classes/DecodeError.html +7 -338
- package/github/docs/classes/DefaultConfigurationManager.html +18 -333
- package/github/docs/classes/DefaultLogger.html +19 -417
- package/github/docs/classes/DefaultSudoKeyArchive.html +61 -598
- package/github/docs/classes/DefaultSudoKeyManager.html +60 -1110
- package/github/docs/classes/FatalError.html +8 -339
- package/github/docs/classes/IllegalArgumentError.html +7 -338
- package/github/docs/classes/IllegalStateError.html +8 -339
- package/github/docs/classes/InsufficientEntitlementsError.html +8 -333
- package/github/docs/classes/InvalidOwnershipProofError.html +7 -332
- package/github/docs/classes/InvalidTokenError.html +7 -332
- package/github/docs/classes/KeyArchiveDecodingError.html +7 -338
- package/github/docs/classes/KeyArchiveIncorrectPasswordError.html +7 -338
- package/github/docs/classes/KeyArchiveMissingError.html +7 -338
- package/github/docs/classes/KeyArchiveNoPasswordRequiredError.html +7 -338
- package/github/docs/classes/KeyArchivePasswordRequiredError.html +7 -338
- package/github/docs/classes/KeyArchiveTypeError.html +7 -338
- package/github/docs/classes/KeyArchiveUnknownKeyTypeError.html +7 -338
- package/github/docs/classes/KeyArchiveVersionError.html +7 -338
- package/github/docs/classes/KeyNotFoundError.html +7 -338
- package/github/docs/classes/KeyStoreNotExportableError.html +7 -338
- package/github/docs/classes/LimitExceededError.html +8 -333
- package/github/docs/classes/NoEntitlementsError.html +7 -332
- package/github/docs/classes/NotAuthorizedError.html +8 -339
- package/github/docs/classes/NotRegisteredError.html +7 -338
- package/github/docs/classes/NotSignedInError.html +8 -333
- package/github/docs/classes/OperationNotImplementedError.html +7 -338
- package/github/docs/classes/RegisterError.html +8 -339
- package/github/docs/classes/RequestFailedError.html +12 -380
- package/github/docs/classes/ServiceError.html +9 -340
- package/github/docs/classes/SignOutError.html +7 -338
- package/github/docs/classes/SudoCryptoProviderDefaults.html +1 -224
- package/github/docs/classes/UnknownGraphQLError.html +7 -338
- package/github/docs/classes/UnrecognizedAlgorithmError.html +7 -0
- package/github/docs/classes/UserNotConfirmedError.html +8 -333
- package/github/docs/classes/VersionMismatchError.html +10 -335
- package/github/docs/enums/CachePolicy.html +4 -170
- package/github/docs/enums/EncryptionAlgorithm.html +5 -171
- package/github/docs/enums/KeyArchiveKeyType.html +4 -198
- package/github/docs/enums/KeyDataKeyFormat.html +18 -202
- package/github/docs/enums/KeyDataKeyType.html +3 -197
- package/github/docs/enums/ListOperationResultStatus.html +10 -0
- package/github/docs/enums/PublicKeyFormat.html +1 -162
- package/github/docs/index.html +14 -369
- package/github/docs/interfaces/AsymmetricEncryptionOptions.html +3 -163
- package/github/docs/interfaces/BooleanFilter.html +3 -177
- package/github/docs/interfaces/ConfigurationManager.html +37 -349
- package/github/docs/interfaces/KeyData.html +8 -236
- package/github/docs/interfaces/ListOperationFailureResult.html +5 -0
- package/github/docs/interfaces/ListOperationPartialResult.html +10 -0
- package/github/docs/interfaces/ListOperationSuccessResult.html +7 -0
- package/github/docs/interfaces/ListOutput.html +3 -185
- package/github/docs/interfaces/Logger.html +39 -401
- package/github/docs/interfaces/Owner.html +1 -170
- package/github/docs/interfaces/PublicKey.html +1 -170
- package/github/docs/interfaces/StringFilter.html +3 -191
- package/github/docs/interfaces/SudoCryptoProvider.html +172 -1305
- package/github/docs/interfaces/SudoKeyArchive.html +54 -490
- package/github/docs/interfaces/SudoKeyManager.html +167 -1298
- package/github/docs/interfaces/SymmetricEncryptionOptions.html +3 -177
- package/github/docs/modules.html +33 -895
- package/github/package.json +19 -16
- package/github/src/errors/error.ts +10 -0
- package/github/src/sudoKeyArchive/sudoKeyArchive.ts +1 -1
- package/github/src/sudoKeyManager/sudoCryptoProvider.ts +12 -0
- package/github/src/sudoKeyManager/sudoKeyManager.ts +12 -0
- package/github/src/types/types.ts +78 -0
- package/github/test/utils/listOperationResult.spec.ts +84 -0
- package/github/yarn.lock +871 -1264
- package/lib/errors/error.d.ts +6 -0
- package/lib/errors/error.js +16 -2
- package/lib/logging/bunyanLogger.js +1 -1
- package/lib/sudoKeyArchive/keyArchive.js +2 -2
- package/lib/sudoKeyArchive/keyInfo.js +1 -1
- package/lib/sudoKeyArchive/sudoKeyArchive.d.ts +1 -2
- package/lib/sudoKeyArchive/sudoKeyArchive.js +1 -1
- package/lib/sudoKeyManager/keyData.js +1 -1
- package/lib/sudoKeyManager/sudoCryptoProvider.d.ts +12 -0
- package/lib/sudoKeyManager/sudoKeyManager.d.ts +12 -0
- package/lib/types/types.d.ts +71 -0
- package/lib/types/types.js +14 -2
- package/package.json +20 -17
- package/src/errors/error.ts +10 -0
- package/src/sudoKeyArchive/sudoKeyArchive.ts +1 -1
- package/src/sudoKeyManager/sudoCryptoProvider.ts +12 -0
- package/src/sudoKeyManager/sudoKeyManager.ts +12 -0
- package/src/types/types.ts +78 -0
- package/test/utils/listOperationResult.spec.ts +84 -0
- package/yarn.lock +871 -1264
- package/docs/assets/css/main.css +0 -2660
- package/docs/assets/js/main.js +0 -248
- package/docs/assets/js/search.js +0 -1
- package/github/docs/assets/css/main.css +0 -2660
- package/github/docs/assets/js/main.js +0 -248
- package/github/docs/assets/js/search.js +0 -1
- package/github/src/sudoKeyManager/encryptionAlgorithmTransformer.ts +0 -21
- package/lib/sudoKeyManager/encryptionAlgorithmTransformer.d.ts +0 -9
- package/lib/sudoKeyManager/encryptionAlgorithmTransformer.js +0 -28
- package/src/sudoKeyManager/encryptionAlgorithmTransformer.ts +0 -21
|
@@ -1,490 +1,54 @@
|
|
|
1
|
-
<!
|
|
2
|
-
<
|
|
3
|
-
<
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
12
|
-
<
|
|
13
|
-
<
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
<a href="../modules.html">@sudoplatform/sudo-common</a>
|
|
56
|
-
</li>
|
|
57
|
-
<li>
|
|
58
|
-
<a href="SudoKeyArchive.html">SudoKeyArchive</a>
|
|
59
|
-
</li>
|
|
60
|
-
</ul>
|
|
61
|
-
<h1>Interface SudoKeyArchive</h1>
|
|
62
|
-
</div>
|
|
63
|
-
</div>
|
|
64
|
-
</header>
|
|
65
|
-
<div class="container container-main">
|
|
66
|
-
<div class="row">
|
|
67
|
-
<div class="col-8 col-content">
|
|
68
|
-
<section class="tsd-panel tsd-hierarchy">
|
|
69
|
-
<h3>Hierarchy</h3>
|
|
70
|
-
<ul class="tsd-hierarchy">
|
|
71
|
-
<li>
|
|
72
|
-
<span class="target">SudoKeyArchive</span>
|
|
73
|
-
</li>
|
|
74
|
-
</ul>
|
|
75
|
-
</section>
|
|
76
|
-
<section class="tsd-panel">
|
|
77
|
-
<h3>Implemented by</h3>
|
|
78
|
-
<ul class="tsd-hierarchy">
|
|
79
|
-
<li><a href="../classes/DefaultSudoKeyArchive.html" class="tsd-signature-type" data-tsd-kind="Class">DefaultSudoKeyArchive</a></li>
|
|
80
|
-
</ul>
|
|
81
|
-
</section>
|
|
82
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
83
|
-
<h2>Index</h2>
|
|
84
|
-
<section class="tsd-panel tsd-index-panel">
|
|
85
|
-
<div class="tsd-index-content">
|
|
86
|
-
<section class="tsd-index-section ">
|
|
87
|
-
<h3>Methods</h3>
|
|
88
|
-
<ul class="tsd-index-list">
|
|
89
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#archive" class="tsd-kind-icon">archive</a></li>
|
|
90
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#containsKey" class="tsd-kind-icon">contains<wbr>Key</a></li>
|
|
91
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getExcludedKeyTypes" class="tsd-kind-icon">get<wbr>Excluded<wbr>Key<wbr>Types</a></li>
|
|
92
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getExcludedKeys" class="tsd-kind-icon">get<wbr>Excluded<wbr>Keys</a></li>
|
|
93
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getKeyData" class="tsd-kind-icon">get<wbr>Key<wbr>Data</a></li>
|
|
94
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getMetaInfo" class="tsd-kind-icon">get<wbr>Meta<wbr>Info</a></li>
|
|
95
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#loadKeys" class="tsd-kind-icon">load<wbr>Keys</a></li>
|
|
96
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#reset" class="tsd-kind-icon">reset</a></li>
|
|
97
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#saveKeys" class="tsd-kind-icon">save<wbr>Keys</a></li>
|
|
98
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#unarchive" class="tsd-kind-icon">unarchive</a></li>
|
|
99
|
-
</ul>
|
|
100
|
-
</section>
|
|
101
|
-
</div>
|
|
102
|
-
</section>
|
|
103
|
-
</section>
|
|
104
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
105
|
-
<h2>Methods</h2>
|
|
106
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
107
|
-
<a name="archive" class="tsd-anchor"></a>
|
|
108
|
-
<h3>archive</h3>
|
|
109
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
110
|
-
<li class="tsd-signature tsd-kind-icon">archive<span class="tsd-signature-symbol">(</span>password<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><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></li>
|
|
111
|
-
</ul>
|
|
112
|
-
<ul class="tsd-descriptions">
|
|
113
|
-
<li class="tsd-description">
|
|
114
|
-
<aside class="tsd-sources">
|
|
115
|
-
<ul>
|
|
116
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:55</li>
|
|
117
|
-
</ul>
|
|
118
|
-
</aside>
|
|
119
|
-
<div class="tsd-comment tsd-typography">
|
|
120
|
-
<div class="lead">
|
|
121
|
-
<p>Archives and encrypts the keys loaded into this archive.</p>
|
|
122
|
-
</div>
|
|
123
|
-
</div>
|
|
124
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
125
|
-
<ul class="tsd-parameters">
|
|
126
|
-
<li>
|
|
127
|
-
<h5>password: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span></h5>
|
|
128
|
-
<div class="tsd-comment tsd-typography">
|
|
129
|
-
<p> The password to use to encrypt the archive. Or undefined if no password.
|
|
130
|
-
Choice to have no password must be explicit.</p>
|
|
131
|
-
</div>
|
|
132
|
-
</li>
|
|
133
|
-
</ul>
|
|
134
|
-
<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>
|
|
135
|
-
<p>Binary archive data.</p>
|
|
136
|
-
</li>
|
|
137
|
-
</ul>
|
|
138
|
-
</section>
|
|
139
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
140
|
-
<a name="containsKey" class="tsd-anchor"></a>
|
|
141
|
-
<h3>contains<wbr>Key</h3>
|
|
142
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
143
|
-
<li class="tsd-signature tsd-kind-icon">contains<wbr>Key<span class="tsd-signature-symbol">(</span>namespace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li>
|
|
144
|
-
</ul>
|
|
145
|
-
<ul class="tsd-descriptions">
|
|
146
|
-
<li class="tsd-description">
|
|
147
|
-
<aside class="tsd-sources">
|
|
148
|
-
<ul>
|
|
149
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:96</li>
|
|
150
|
-
</ul>
|
|
151
|
-
</aside>
|
|
152
|
-
<div class="tsd-comment tsd-typography">
|
|
153
|
-
<div class="lead">
|
|
154
|
-
<p>Determines whether or not the archive contains the key with the
|
|
155
|
-
specified name and type. The archive must be unarchived before the
|
|
156
|
-
key can be searched.</p>
|
|
157
|
-
</div>
|
|
158
|
-
</div>
|
|
159
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
160
|
-
<ul class="tsd-parameters">
|
|
161
|
-
<li>
|
|
162
|
-
<h5>namespace: <span class="tsd-signature-type">string</span></h5>
|
|
163
|
-
<div class="tsd-comment tsd-typography">
|
|
164
|
-
<p>the namespace of the key</p>
|
|
165
|
-
</div>
|
|
166
|
-
</li>
|
|
167
|
-
<li>
|
|
168
|
-
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
|
169
|
-
<div class="tsd-comment tsd-typography">
|
|
170
|
-
<p>the key name.</p>
|
|
171
|
-
</div>
|
|
172
|
-
</li>
|
|
173
|
-
<li>
|
|
174
|
-
<h5>type: <a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></h5>
|
|
175
|
-
<div class="tsd-comment tsd-typography">
|
|
176
|
-
<p>the key type.</p>
|
|
177
|
-
</div>
|
|
178
|
-
</li>
|
|
179
|
-
</ul>
|
|
180
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4>
|
|
181
|
-
<p>true if the specified key exists in the archive.</p>
|
|
182
|
-
</li>
|
|
183
|
-
</ul>
|
|
184
|
-
</section>
|
|
185
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
186
|
-
<a name="getExcludedKeyTypes" class="tsd-anchor"></a>
|
|
187
|
-
<h3>get<wbr>Excluded<wbr>Key<wbr>Types</h3>
|
|
188
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
189
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Excluded<wbr>Key<wbr>Types<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">></span></li>
|
|
190
|
-
</ul>
|
|
191
|
-
<ul class="tsd-descriptions">
|
|
192
|
-
<li class="tsd-description">
|
|
193
|
-
<aside class="tsd-sources">
|
|
194
|
-
<ul>
|
|
195
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:118</li>
|
|
196
|
-
</ul>
|
|
197
|
-
</aside>
|
|
198
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">></span></h4>
|
|
199
|
-
<p>the key types to exclude from the archive in an unmodifiable set.</p>
|
|
200
|
-
</li>
|
|
201
|
-
</ul>
|
|
202
|
-
</section>
|
|
203
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
204
|
-
<a name="getExcludedKeys" class="tsd-anchor"></a>
|
|
205
|
-
<h3>get<wbr>Excluded<wbr>Keys</h3>
|
|
206
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
207
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Excluded<wbr>Keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
|
|
208
|
-
</ul>
|
|
209
|
-
<ul class="tsd-descriptions">
|
|
210
|
-
<li class="tsd-description">
|
|
211
|
-
<aside class="tsd-sources">
|
|
212
|
-
<ul>
|
|
213
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:121</li>
|
|
214
|
-
</ul>
|
|
215
|
-
</aside>
|
|
216
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
|
217
|
-
<p>the key names to exclude from the archive in an unmodifiable set.</p>
|
|
218
|
-
</li>
|
|
219
|
-
</ul>
|
|
220
|
-
</section>
|
|
221
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
222
|
-
<a name="getKeyData" class="tsd-anchor"></a>
|
|
223
|
-
<h3>get<wbr>Key<wbr>Data</h3>
|
|
224
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
225
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Key<wbr>Data<span class="tsd-signature-symbol">(</span>namespace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span></li>
|
|
226
|
-
</ul>
|
|
227
|
-
<ul class="tsd-descriptions">
|
|
228
|
-
<li class="tsd-description">
|
|
229
|
-
<aside class="tsd-sources">
|
|
230
|
-
<ul>
|
|
231
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:111</li>
|
|
232
|
-
</ul>
|
|
233
|
-
</aside>
|
|
234
|
-
<div class="tsd-comment tsd-typography">
|
|
235
|
-
<div class="lead">
|
|
236
|
-
<p>Retrieves the specified key data from the archive. The archive must
|
|
237
|
-
be unarchived before the key data can be retrieved.</p>
|
|
238
|
-
</div>
|
|
239
|
-
<dl class="tsd-comment-tags">
|
|
240
|
-
<dt>throws</dt>
|
|
241
|
-
<dd><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a>
|
|
242
|
-
If key is not present in the archive.</p>
|
|
243
|
-
</dd>
|
|
244
|
-
</dl>
|
|
245
|
-
</div>
|
|
246
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
247
|
-
<ul class="tsd-parameters">
|
|
248
|
-
<li>
|
|
249
|
-
<h5>namespace: <span class="tsd-signature-type">string</span></h5>
|
|
250
|
-
<div class="tsd-comment tsd-typography">
|
|
251
|
-
<p>the namespace of the key</p>
|
|
252
|
-
</div>
|
|
253
|
-
</li>
|
|
254
|
-
<li>
|
|
255
|
-
<h5>name: <span class="tsd-signature-type">string</span></h5>
|
|
256
|
-
<div class="tsd-comment tsd-typography">
|
|
257
|
-
<p>the key name</p>
|
|
258
|
-
</div>
|
|
259
|
-
</li>
|
|
260
|
-
<li>
|
|
261
|
-
<h5>type: <a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></h5>
|
|
262
|
-
<div class="tsd-comment tsd-typography">
|
|
263
|
-
<p>the key type</p>
|
|
264
|
-
</div>
|
|
265
|
-
</li>
|
|
266
|
-
</ul>
|
|
267
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ArrayBuffer</span></h4>
|
|
268
|
-
<p>a byte array containing the specified key data or null if it was not found.</p>
|
|
269
|
-
</li>
|
|
270
|
-
</ul>
|
|
271
|
-
</section>
|
|
272
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
273
|
-
<a name="getMetaInfo" class="tsd-anchor"></a>
|
|
274
|
-
<h3>get<wbr>Meta<wbr>Info</h3>
|
|
275
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
276
|
-
<li class="tsd-signature tsd-kind-icon">get<wbr>Meta<wbr>Info<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReadonlyMap</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li>
|
|
277
|
-
</ul>
|
|
278
|
-
<ul class="tsd-descriptions">
|
|
279
|
-
<li class="tsd-description">
|
|
280
|
-
<aside class="tsd-sources">
|
|
281
|
-
<ul>
|
|
282
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:124</li>
|
|
283
|
-
</ul>
|
|
284
|
-
</aside>
|
|
285
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReadonlyMap</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4>
|
|
286
|
-
<p>the meta-information associated with this archive in an unmodifiable map.</p>
|
|
287
|
-
</li>
|
|
288
|
-
</ul>
|
|
289
|
-
</section>
|
|
290
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
291
|
-
<a name="loadKeys" class="tsd-anchor"></a>
|
|
292
|
-
<h3>load<wbr>Keys</h3>
|
|
293
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
294
|
-
<li class="tsd-signature tsd-kind-icon">load<wbr>Keys<span class="tsd-signature-symbol">(</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">void</span><span class="tsd-signature-symbol">></span></li>
|
|
295
|
-
</ul>
|
|
296
|
-
<ul class="tsd-descriptions">
|
|
297
|
-
<li class="tsd-description">
|
|
298
|
-
<aside class="tsd-sources">
|
|
299
|
-
<ul>
|
|
300
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:39</li>
|
|
301
|
-
</ul>
|
|
302
|
-
</aside>
|
|
303
|
-
<div class="tsd-comment tsd-typography">
|
|
304
|
-
<div class="lead">
|
|
305
|
-
<p>Loads keys from the secure store into the archive.</p>
|
|
306
|
-
</div>
|
|
307
|
-
</div>
|
|
308
|
-
<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>
|
|
309
|
-
</li>
|
|
310
|
-
</ul>
|
|
311
|
-
</section>
|
|
312
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
313
|
-
<a name="reset" class="tsd-anchor"></a>
|
|
314
|
-
<h3>reset</h3>
|
|
315
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
316
|
-
<li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li>
|
|
317
|
-
</ul>
|
|
318
|
-
<ul class="tsd-descriptions">
|
|
319
|
-
<li class="tsd-description">
|
|
320
|
-
<aside class="tsd-sources">
|
|
321
|
-
<ul>
|
|
322
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:83</li>
|
|
323
|
-
</ul>
|
|
324
|
-
</aside>
|
|
325
|
-
<div class="tsd-comment tsd-typography">
|
|
326
|
-
<div class="lead">
|
|
327
|
-
<p>Resets the archive by clearing loaded keys and archive data.</p>
|
|
328
|
-
</div>
|
|
329
|
-
</div>
|
|
330
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4>
|
|
331
|
-
</li>
|
|
332
|
-
</ul>
|
|
333
|
-
</section>
|
|
334
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
335
|
-
<a name="saveKeys" class="tsd-anchor"></a>
|
|
336
|
-
<h3>save<wbr>Keys</h3>
|
|
337
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
338
|
-
<li class="tsd-signature tsd-kind-icon">save<wbr>Keys<span class="tsd-signature-symbol">(</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">void</span><span class="tsd-signature-symbol">></span></li>
|
|
339
|
-
</ul>
|
|
340
|
-
<ul class="tsd-descriptions">
|
|
341
|
-
<li class="tsd-description">
|
|
342
|
-
<aside class="tsd-sources">
|
|
343
|
-
<ul>
|
|
344
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:44</li>
|
|
345
|
-
</ul>
|
|
346
|
-
</aside>
|
|
347
|
-
<div class="tsd-comment tsd-typography">
|
|
348
|
-
<div class="lead">
|
|
349
|
-
<p>Saves the keys in this archive to the secure store.</p>
|
|
350
|
-
</div>
|
|
351
|
-
</div>
|
|
352
|
-
<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>
|
|
353
|
-
</li>
|
|
354
|
-
</ul>
|
|
355
|
-
</section>
|
|
356
|
-
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface">
|
|
357
|
-
<a name="unarchive" class="tsd-anchor"></a>
|
|
358
|
-
<h3>unarchive</h3>
|
|
359
|
-
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
|
|
360
|
-
<li class="tsd-signature tsd-kind-icon">unarchive<span class="tsd-signature-symbol">(</span>password<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><span class="tsd-signature-symbol">: </span><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></li>
|
|
361
|
-
</ul>
|
|
362
|
-
<ul class="tsd-descriptions">
|
|
363
|
-
<li class="tsd-description">
|
|
364
|
-
<aside class="tsd-sources">
|
|
365
|
-
<ul>
|
|
366
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:78</li>
|
|
367
|
-
</ul>
|
|
368
|
-
</aside>
|
|
369
|
-
<div class="tsd-comment tsd-typography">
|
|
370
|
-
<div class="lead">
|
|
371
|
-
<p>Decrypts and unarchives the keys in this archive.</p>
|
|
372
|
-
</div>
|
|
373
|
-
<dl class="tsd-comment-tags">
|
|
374
|
-
<dt>throws</dt>
|
|
375
|
-
<dd><p><a href="../classes/KeyArchiveDecodingError.html">KeyArchiveDecodingError</a>
|
|
376
|
-
If the archive is unable to be decoding according to the
|
|
377
|
-
required structure.</p>
|
|
378
|
-
</dd>
|
|
379
|
-
<dt>throws</dt>
|
|
380
|
-
<dd><p><a href="../classes/KeyArchiveIncorrectPasswordError.html">KeyArchiveIncorrectPasswordError</a>
|
|
381
|
-
If the archive is a secure archive and the password is unable to be
|
|
382
|
-
used to decrypt the encrypted keys.</p>
|
|
383
|
-
</dd>
|
|
384
|
-
<dt>throws</dt>
|
|
385
|
-
<dd><p><a href="../classes/KeyArchivePasswordRequiredError.html">KeyArchivePasswordRequiredError</a>
|
|
386
|
-
If the archive is a secure archive but no password is provided.</p>
|
|
387
|
-
</dd>
|
|
388
|
-
<dt>throws</dt>
|
|
389
|
-
<dd><p><a href="../classes/KeyArchiveNoPasswordRequiredError.html">KeyArchiveNoPasswordRequiredError</a>
|
|
390
|
-
If the archive is an insecure archive but a password is provided.</p>
|
|
391
|
-
</dd>
|
|
392
|
-
</dl>
|
|
393
|
-
</div>
|
|
394
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
395
|
-
<ul class="tsd-parameters">
|
|
396
|
-
<li>
|
|
397
|
-
<h5>password: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span></h5>
|
|
398
|
-
<div class="tsd-comment tsd-typography">
|
|
399
|
-
<p> The password to use to decrypt the archive if its a secure archive
|
|
400
|
-
otherwise must be undefined.</p>
|
|
401
|
-
</div>
|
|
402
|
-
</li>
|
|
403
|
-
</ul>
|
|
404
|
-
<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>
|
|
405
|
-
</li>
|
|
406
|
-
</ul>
|
|
407
|
-
</section>
|
|
408
|
-
</section>
|
|
409
|
-
</div>
|
|
410
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
411
|
-
<nav class="tsd-navigation primary">
|
|
412
|
-
<ul>
|
|
413
|
-
<li class=" ">
|
|
414
|
-
<a href="../modules.html">Exports</a>
|
|
415
|
-
</li>
|
|
416
|
-
</ul>
|
|
417
|
-
</nav>
|
|
418
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
419
|
-
<ul class="before-current">
|
|
420
|
-
</ul>
|
|
421
|
-
<ul class="current">
|
|
422
|
-
<li class="current tsd-kind-interface">
|
|
423
|
-
<a href="SudoKeyArchive.html" class="tsd-kind-icon">Sudo<wbr>Key<wbr>Archive</a>
|
|
424
|
-
<ul>
|
|
425
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
426
|
-
<a href="SudoKeyArchive.html#archive" class="tsd-kind-icon">archive</a>
|
|
427
|
-
</li>
|
|
428
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
429
|
-
<a href="SudoKeyArchive.html#containsKey" class="tsd-kind-icon">contains<wbr>Key</a>
|
|
430
|
-
</li>
|
|
431
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
432
|
-
<a href="SudoKeyArchive.html#getExcludedKeyTypes" class="tsd-kind-icon">get<wbr>Excluded<wbr>Key<wbr>Types</a>
|
|
433
|
-
</li>
|
|
434
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
435
|
-
<a href="SudoKeyArchive.html#getExcludedKeys" class="tsd-kind-icon">get<wbr>Excluded<wbr>Keys</a>
|
|
436
|
-
</li>
|
|
437
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
438
|
-
<a href="SudoKeyArchive.html#getKeyData" class="tsd-kind-icon">get<wbr>Key<wbr>Data</a>
|
|
439
|
-
</li>
|
|
440
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
441
|
-
<a href="SudoKeyArchive.html#getMetaInfo" class="tsd-kind-icon">get<wbr>Meta<wbr>Info</a>
|
|
442
|
-
</li>
|
|
443
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
444
|
-
<a href="SudoKeyArchive.html#loadKeys" class="tsd-kind-icon">load<wbr>Keys</a>
|
|
445
|
-
</li>
|
|
446
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
447
|
-
<a href="SudoKeyArchive.html#reset" class="tsd-kind-icon">reset</a>
|
|
448
|
-
</li>
|
|
449
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
450
|
-
<a href="SudoKeyArchive.html#saveKeys" class="tsd-kind-icon">save<wbr>Keys</a>
|
|
451
|
-
</li>
|
|
452
|
-
<li class=" tsd-kind-method tsd-parent-kind-interface">
|
|
453
|
-
<a href="SudoKeyArchive.html#unarchive" class="tsd-kind-icon">unarchive</a>
|
|
454
|
-
</li>
|
|
455
|
-
</ul>
|
|
456
|
-
</li>
|
|
457
|
-
</ul>
|
|
458
|
-
<ul class="after-current">
|
|
459
|
-
</ul>
|
|
460
|
-
</nav>
|
|
461
|
-
</div>
|
|
462
|
-
</div>
|
|
463
|
-
</div>
|
|
464
|
-
<footer class="with-border-bottom">
|
|
465
|
-
<div class="container">
|
|
466
|
-
<h2>Legend</h2>
|
|
467
|
-
<div class="tsd-legend-group">
|
|
468
|
-
<ul class="tsd-legend">
|
|
469
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
470
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
471
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
472
|
-
</ul>
|
|
473
|
-
<ul class="tsd-legend">
|
|
474
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
475
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
|
|
476
|
-
</ul>
|
|
477
|
-
<ul class="tsd-legend">
|
|
478
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
|
|
479
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
480
|
-
</ul>
|
|
481
|
-
</div>
|
|
482
|
-
</div>
|
|
483
|
-
</footer>
|
|
484
|
-
<div class="container tsd-generator">
|
|
485
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
486
|
-
</div>
|
|
487
|
-
<div class="overlay"></div>
|
|
488
|
-
<script src="../assets/js/main.js"></script>
|
|
489
|
-
</body>
|
|
490
|
-
</html>
|
|
1
|
+
<!DOCTYPE html><html class="default no-js"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>SudoKeyArchive | @sudoplatform/sudo-common</title><meta name="description" content="Documentation for @sudoplatform/sudo-common"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script async src="../assets/search.js" id="search-script"></script></head><body><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@sudoplatform/sudo-common</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@sudoplatform/sudo-common</a></li><li><a href="SudoKeyArchive.html">SudoKeyArchive</a></li></ul><h1>Interface SudoKeyArchive</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">SudoKeyArchive</span></li></ul></section><section class="tsd-panel"><h3>Implemented by</h3><ul class="tsd-hierarchy"><li><a href="../classes/DefaultSudoKeyArchive.html" class="tsd-signature-type" data-tsd-kind="Class">DefaultSudoKeyArchive</a></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#archive" class="tsd-kind-icon">archive</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#containsKey" class="tsd-kind-icon">contains<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getExcludedKeyTypes" class="tsd-kind-icon">get<wbr/>Excluded<wbr/>Key<wbr/>Types</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getExcludedKeys" class="tsd-kind-icon">get<wbr/>Excluded<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getKeyData" class="tsd-kind-icon">get<wbr/>Key<wbr/>Data</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getMetaInfo" class="tsd-kind-icon">get<wbr/>Meta<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#loadKeys" class="tsd-kind-icon">load<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#reset" class="tsd-kind-icon">reset</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#saveKeys" class="tsd-kind-icon">save<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#unarchive" class="tsd-kind-icon">unarchive</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="archive" class="tsd-anchor"></a><h3>archive</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">archive<span class="tsd-signature-symbol">(</span>password<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><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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:55</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
+
<p>Archives and encrypts the keys loaded into this archive.</p>
|
|
3
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
4
|
+
<p> The password to use to encrypt the archive. Or undefined if no password.
|
|
5
|
+
Choice to have no password must be explicit.</p>
|
|
6
|
+
</div></div></li></ul><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><div><p>Binary archive data.</p>
|
|
7
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="containsKey" class="tsd-anchor"></a><h3>contains<wbr/>Key</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">contains<wbr/>Key<span class="tsd-signature-symbol">(</span>namespace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:96</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
8
|
+
<p>Determines whether or not the archive contains the key with the
|
|
9
|
+
specified name and type. The archive must be unarchived before the
|
|
10
|
+
key can be searched.</p>
|
|
11
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>namespace: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
12
|
+
<p>the namespace of the key</p>
|
|
13
|
+
</div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
14
|
+
<p>the key name.</p>
|
|
15
|
+
</div></div></li><li><h5>type: <a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
16
|
+
<p>the key type.</p>
|
|
17
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><div><p>true if the specified key exists in the archive.</p>
|
|
18
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="getExcludedKeyTypes" class="tsd-anchor"></a><h3>get<wbr/>Excluded<wbr/>Key<wbr/>Types</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">get<wbr/>Excluded<wbr/>Key<wbr/>Types<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:118</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">></span></h4><div><p>the key types to exclude from the archive in an unmodifiable set.</p>
|
|
19
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="getExcludedKeys" class="tsd-anchor"></a><h3>get<wbr/>Excluded<wbr/>Keys</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">get<wbr/>Excluded<wbr/>Keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:121</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReadonlySet</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the key names to exclude from the archive in an unmodifiable set.</p>
|
|
20
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="getKeyData" class="tsd-anchor"></a><h3>get<wbr/>Key<wbr/>Data</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">get<wbr/>Key<wbr/>Data<span class="tsd-signature-symbol">(</span>namespace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, type<span class="tsd-signature-symbol">: </span><a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:111</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
21
|
+
<p>Retrieves the specified key data from the archive. The archive must
|
|
22
|
+
be unarchived before the key data can be retrieved.</p>
|
|
23
|
+
</div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a>
|
|
24
|
+
If key is not present in the archive.</p>
|
|
25
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>namespace: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
26
|
+
<p>the namespace of the key</p>
|
|
27
|
+
</div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
28
|
+
<p>the key name</p>
|
|
29
|
+
</div></div></li><li><h5>type: <a href="../enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
30
|
+
<p>the key type</p>
|
|
31
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ArrayBuffer</span></h4><div><p>a byte array containing the specified key data or null if it was not found.</p>
|
|
32
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="getMetaInfo" class="tsd-anchor"></a><h3>get<wbr/>Meta<wbr/>Info</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">get<wbr/>Meta<wbr/>Info<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ReadonlyMap</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:124</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">ReadonlyMap</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">></span></h4><div><p>the meta-information associated with this archive in an unmodifiable map.</p>
|
|
33
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="loadKeys" class="tsd-anchor"></a><h3>load<wbr/>Keys</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">load<wbr/>Keys<span class="tsd-signature-symbol">(</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">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:39</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
34
|
+
<p>Loads keys from the secure store into the archive.</p>
|
|
35
|
+
</div></div><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="reset" class="tsd-anchor"></a><h3>reset</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">reset<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:83</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
36
|
+
<p>Resets the archive by clearing loaded keys and archive data.</p>
|
|
37
|
+
</div></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="saveKeys" class="tsd-anchor"></a><h3>save<wbr/>Keys</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">save<wbr/>Keys<span class="tsd-signature-symbol">(</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">void</span><span class="tsd-signature-symbol">></span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:44</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
38
|
+
<p>Saves the keys in this archive to the secure store.</p>
|
|
39
|
+
</div></div><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a name="unarchive" class="tsd-anchor"></a><h3>unarchive</h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">unarchive<span class="tsd-signature-symbol">(</span>password<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><span class="tsd-signature-symbol">: </span><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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:78</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
40
|
+
<p>Decrypts and unarchives the keys in this archive.</p>
|
|
41
|
+
</div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/KeyArchiveDecodingError.html">KeyArchiveDecodingError</a>
|
|
42
|
+
If the archive is unable to be decoding according to the
|
|
43
|
+
required structure.</p>
|
|
44
|
+
</dd><dt>throws</dt><dd><p><a href="../classes/KeyArchiveIncorrectPasswordError.html">KeyArchiveIncorrectPasswordError</a>
|
|
45
|
+
If the archive is a secure archive and the password is unable to be
|
|
46
|
+
used to decrypt the encrypted keys.</p>
|
|
47
|
+
</dd><dt>throws</dt><dd><p><a href="../classes/KeyArchivePasswordRequiredError.html">KeyArchivePasswordRequiredError</a>
|
|
48
|
+
If the archive is a secure archive but no password is provided.</p>
|
|
49
|
+
</dd><dt>throws</dt><dd><p><a href="../classes/KeyArchiveNoPasswordRequiredError.html">KeyArchiveNoPasswordRequiredError</a>
|
|
50
|
+
If the archive is an insecure archive but a password is provided.</p>
|
|
51
|
+
</dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
52
|
+
<p> The password to use to decrypt the archive if its a secure archive
|
|
53
|
+
otherwise must be undefined.</p>
|
|
54
|
+
</div></div></li></ul><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></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface"><a href="SudoKeyArchive.html" class="tsd-kind-icon">Sudo<wbr/>Key<wbr/>Archive</a><ul><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#archive" class="tsd-kind-icon">archive</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#containsKey" class="tsd-kind-icon">contains<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getExcludedKeyTypes" class="tsd-kind-icon">get<wbr/>Excluded<wbr/>Key<wbr/>Types</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getExcludedKeys" class="tsd-kind-icon">get<wbr/>Excluded<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getKeyData" class="tsd-kind-icon">get<wbr/>Key<wbr/>Data</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#getMetaInfo" class="tsd-kind-icon">get<wbr/>Meta<wbr/>Info</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#loadKeys" class="tsd-kind-icon">load<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#reset" class="tsd-kind-icon">reset</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#saveKeys" class="tsd-kind-icon">save<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoKeyArchive.html#unarchive" class="tsd-kind-icon">unarchive</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
|