@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
package/github/docs/modules.html
CHANGED
|
@@ -1,895 +1,33 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
</
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
</div>
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<span class="tsd-select-label">All</span>
|
|
34
|
-
<ul class="tsd-select-list">
|
|
35
|
-
<li data-value="public">Public</li>
|
|
36
|
-
<li data-value="protected">Public/Protected</li>
|
|
37
|
-
<li data-value="private" class="selected">All</li>
|
|
38
|
-
</ul>
|
|
39
|
-
</div>
|
|
40
|
-
<input type="checkbox" id="tsd-filter-inherited" checked />
|
|
41
|
-
<label class="tsd-widget" for="tsd-filter-inherited">Inherited</label>
|
|
42
|
-
<input type="checkbox" id="tsd-filter-externals" checked />
|
|
43
|
-
<label class="tsd-widget" for="tsd-filter-externals">Externals</label>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
<div class="tsd-page-title">
|
|
52
|
-
<div class="container">
|
|
53
|
-
<h1>@sudoplatform/sudo-common</h1>
|
|
54
|
-
</div>
|
|
55
|
-
</div>
|
|
56
|
-
</header>
|
|
57
|
-
<div class="container container-main">
|
|
58
|
-
<div class="row">
|
|
59
|
-
<div class="col-8 col-content">
|
|
60
|
-
<section class="tsd-panel-group tsd-index-group">
|
|
61
|
-
<h2>Index</h2>
|
|
62
|
-
<section class="tsd-panel tsd-index-panel">
|
|
63
|
-
<div class="tsd-index-content">
|
|
64
|
-
<section class="tsd-index-section ">
|
|
65
|
-
<h3>Enumerations</h3>
|
|
66
|
-
<ul class="tsd-index-list">
|
|
67
|
-
<li class="tsd-kind-enum"><a href="enums/CachePolicy.html" class="tsd-kind-icon">Cache<wbr>Policy</a></li>
|
|
68
|
-
<li class="tsd-kind-enum"><a href="enums/EncryptionAlgorithm.html" class="tsd-kind-icon">Encryption<wbr>Algorithm</a></li>
|
|
69
|
-
<li class="tsd-kind-enum"><a href="enums/KeyArchiveKeyType.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Type</a></li>
|
|
70
|
-
<li class="tsd-kind-enum"><a href="enums/KeyDataKeyFormat.html" class="tsd-kind-icon">Key<wbr>Data<wbr>Key<wbr>Format</a></li>
|
|
71
|
-
<li class="tsd-kind-enum"><a href="enums/KeyDataKeyType.html" class="tsd-kind-icon">Key<wbr>Data<wbr>Key<wbr>Type</a></li>
|
|
72
|
-
<li class="tsd-kind-enum"><a href="enums/PublicKeyFormat.html" class="tsd-kind-icon">Public<wbr>Key<wbr>Format</a></li>
|
|
73
|
-
</ul>
|
|
74
|
-
</section>
|
|
75
|
-
<section class="tsd-index-section ">
|
|
76
|
-
<h3>Classes</h3>
|
|
77
|
-
<ul class="tsd-index-list">
|
|
78
|
-
<li class="tsd-kind-class"><a href="classes/AccountLockedError.html" class="tsd-kind-icon">Account<wbr>Locked<wbr>Error</a></li>
|
|
79
|
-
<li class="tsd-kind-class"><a href="classes/AuthenticationError.html" class="tsd-kind-icon">Authentication<wbr>Error</a></li>
|
|
80
|
-
<li class="tsd-kind-class"><a href="classes/Base64.html" class="tsd-kind-icon">Base64</a></li>
|
|
81
|
-
<li class="tsd-kind-class"><a href="classes/Buffer.html" class="tsd-kind-icon">Buffer</a></li>
|
|
82
|
-
<li class="tsd-kind-class"><a href="classes/ConfigurationNotSetError.html" class="tsd-kind-icon">Configuration<wbr>Not<wbr>Set<wbr>Error</a></li>
|
|
83
|
-
<li class="tsd-kind-class"><a href="classes/ConfigurationSetNotFoundError.html" class="tsd-kind-icon">Configuration<wbr>Set<wbr>Not<wbr>Found<wbr>Error</a></li>
|
|
84
|
-
<li class="tsd-kind-class"><a href="classes/DecodeError.html" class="tsd-kind-icon">Decode<wbr>Error</a></li>
|
|
85
|
-
<li class="tsd-kind-class"><a href="classes/DefaultConfigurationManager.html" class="tsd-kind-icon">Default<wbr>Configuration<wbr>Manager</a></li>
|
|
86
|
-
<li class="tsd-kind-class"><a href="classes/DefaultLogger.html" class="tsd-kind-icon">Default<wbr>Logger</a></li>
|
|
87
|
-
<li class="tsd-kind-class"><a href="classes/DefaultSudoKeyArchive.html" class="tsd-kind-icon">Default<wbr>Sudo<wbr>Key<wbr>Archive</a></li>
|
|
88
|
-
<li class="tsd-kind-class"><a href="classes/DefaultSudoKeyManager.html" class="tsd-kind-icon">Default<wbr>Sudo<wbr>Key<wbr>Manager</a></li>
|
|
89
|
-
<li class="tsd-kind-class"><a href="classes/FatalError.html" class="tsd-kind-icon">Fatal<wbr>Error</a></li>
|
|
90
|
-
<li class="tsd-kind-class"><a href="classes/IllegalArgumentError.html" class="tsd-kind-icon">Illegal<wbr>Argument<wbr>Error</a></li>
|
|
91
|
-
<li class="tsd-kind-class"><a href="classes/IllegalStateError.html" class="tsd-kind-icon">Illegal<wbr>State<wbr>Error</a></li>
|
|
92
|
-
<li class="tsd-kind-class"><a href="classes/InsufficientEntitlementsError.html" class="tsd-kind-icon">Insufficient<wbr>Entitlements<wbr>Error</a></li>
|
|
93
|
-
<li class="tsd-kind-class"><a href="classes/InvalidOwnershipProofError.html" class="tsd-kind-icon">Invalid<wbr>Ownership<wbr>Proof<wbr>Error</a></li>
|
|
94
|
-
<li class="tsd-kind-class"><a href="classes/InvalidTokenError.html" class="tsd-kind-icon">Invalid<wbr>Token<wbr>Error</a></li>
|
|
95
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveDecodingError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Decoding<wbr>Error</a></li>
|
|
96
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveIncorrectPasswordError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Incorrect<wbr>Password<wbr>Error</a></li>
|
|
97
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveMissingError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Missing<wbr>Error</a></li>
|
|
98
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveNoPasswordRequiredError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>NoPassword<wbr>Required<wbr>Error</a></li>
|
|
99
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchivePasswordRequiredError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Password<wbr>Required<wbr>Error</a></li>
|
|
100
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveTypeError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Type<wbr>Error</a></li>
|
|
101
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveUnknownKeyTypeError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Unknown<wbr>Key<wbr>Type<wbr>Error</a></li>
|
|
102
|
-
<li class="tsd-kind-class"><a href="classes/KeyArchiveVersionError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Version<wbr>Error</a></li>
|
|
103
|
-
<li class="tsd-kind-class"><a href="classes/KeyNotFoundError.html" class="tsd-kind-icon">Key<wbr>Not<wbr>Found<wbr>Error</a></li>
|
|
104
|
-
<li class="tsd-kind-class"><a href="classes/KeyStoreNotExportableError.html" class="tsd-kind-icon">Key<wbr>Store<wbr>Not<wbr>Exportable<wbr>Error</a></li>
|
|
105
|
-
<li class="tsd-kind-class"><a href="classes/LimitExceededError.html" class="tsd-kind-icon">Limit<wbr>Exceeded<wbr>Error</a></li>
|
|
106
|
-
<li class="tsd-kind-class"><a href="classes/NoEntitlementsError.html" class="tsd-kind-icon">No<wbr>Entitlements<wbr>Error</a></li>
|
|
107
|
-
<li class="tsd-kind-class"><a href="classes/NotAuthorizedError.html" class="tsd-kind-icon">Not<wbr>Authorized<wbr>Error</a></li>
|
|
108
|
-
<li class="tsd-kind-class"><a href="classes/NotRegisteredError.html" class="tsd-kind-icon">Not<wbr>Registered<wbr>Error</a></li>
|
|
109
|
-
<li class="tsd-kind-class"><a href="classes/NotSignedInError.html" class="tsd-kind-icon">Not<wbr>Signed<wbr>InError</a></li>
|
|
110
|
-
<li class="tsd-kind-class"><a href="classes/OperationNotImplementedError.html" class="tsd-kind-icon">Operation<wbr>Not<wbr>Implemented<wbr>Error</a></li>
|
|
111
|
-
<li class="tsd-kind-class"><a href="classes/RegisterError.html" class="tsd-kind-icon">Register<wbr>Error</a></li>
|
|
112
|
-
<li class="tsd-kind-class"><a href="classes/RequestFailedError.html" class="tsd-kind-icon">Request<wbr>Failed<wbr>Error</a></li>
|
|
113
|
-
<li class="tsd-kind-class"><a href="classes/ServiceError.html" class="tsd-kind-icon">Service<wbr>Error</a></li>
|
|
114
|
-
<li class="tsd-kind-class"><a href="classes/SignOutError.html" class="tsd-kind-icon">Sign<wbr>Out<wbr>Error</a></li>
|
|
115
|
-
<li class="tsd-kind-class"><a href="classes/SudoCryptoProviderDefaults.html" class="tsd-kind-icon">Sudo<wbr>Crypto<wbr>Provider<wbr>Defaults</a></li>
|
|
116
|
-
<li class="tsd-kind-class"><a href="classes/UnknownGraphQLError.html" class="tsd-kind-icon">Unknown<wbr>GraphQLError</a></li>
|
|
117
|
-
<li class="tsd-kind-class"><a href="classes/UserNotConfirmedError.html" class="tsd-kind-icon">User<wbr>Not<wbr>Confirmed<wbr>Error</a></li>
|
|
118
|
-
<li class="tsd-kind-class"><a href="classes/VersionMismatchError.html" class="tsd-kind-icon">Version<wbr>Mismatch<wbr>Error</a></li>
|
|
119
|
-
</ul>
|
|
120
|
-
</section>
|
|
121
|
-
<section class="tsd-index-section ">
|
|
122
|
-
<h3>Interfaces</h3>
|
|
123
|
-
<ul class="tsd-index-list">
|
|
124
|
-
<li class="tsd-kind-interface"><a href="interfaces/AsymmetricEncryptionOptions.html" class="tsd-kind-icon">Asymmetric<wbr>Encryption<wbr>Options</a></li>
|
|
125
|
-
<li class="tsd-kind-interface"><a href="interfaces/BooleanFilter.html" class="tsd-kind-icon">Boolean<wbr>Filter</a></li>
|
|
126
|
-
<li class="tsd-kind-interface"><a href="interfaces/ConfigurationManager.html" class="tsd-kind-icon">Configuration<wbr>Manager</a></li>
|
|
127
|
-
<li class="tsd-kind-interface"><a href="interfaces/KeyData.html" class="tsd-kind-icon">Key<wbr>Data</a></li>
|
|
128
|
-
<li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOutput.html" class="tsd-kind-icon">List<wbr>Output</a></li>
|
|
129
|
-
<li class="tsd-kind-interface"><a href="interfaces/Logger.html" class="tsd-kind-icon">Logger</a></li>
|
|
130
|
-
<li class="tsd-kind-interface"><a href="interfaces/Owner.html" class="tsd-kind-icon">Owner</a></li>
|
|
131
|
-
<li class="tsd-kind-interface"><a href="interfaces/PublicKey.html" class="tsd-kind-icon">Public<wbr>Key</a></li>
|
|
132
|
-
<li class="tsd-kind-interface"><a href="interfaces/StringFilter.html" class="tsd-kind-icon">String<wbr>Filter</a></li>
|
|
133
|
-
<li class="tsd-kind-interface"><a href="interfaces/SudoCryptoProvider.html" class="tsd-kind-icon">Sudo<wbr>Crypto<wbr>Provider</a></li>
|
|
134
|
-
<li class="tsd-kind-interface"><a href="interfaces/SudoKeyArchive.html" class="tsd-kind-icon">Sudo<wbr>Key<wbr>Archive</a></li>
|
|
135
|
-
<li class="tsd-kind-interface"><a href="interfaces/SudoKeyManager.html" class="tsd-kind-icon">Sudo<wbr>Key<wbr>Manager</a></li>
|
|
136
|
-
<li class="tsd-kind-interface"><a href="interfaces/SymmetricEncryptionOptions.html" class="tsd-kind-icon">Symmetric<wbr>Encryption<wbr>Options</a></li>
|
|
137
|
-
</ul>
|
|
138
|
-
</section>
|
|
139
|
-
<section class="tsd-index-section ">
|
|
140
|
-
<h3>Type aliases</h3>
|
|
141
|
-
<ul class="tsd-index-list">
|
|
142
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#AppSyncError" class="tsd-kind-icon">App<wbr>Sync<wbr>Error</a></li>
|
|
143
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#AppSyncNetworkError" class="tsd-kind-icon">App<wbr>Sync<wbr>Network<wbr>Error</a></li>
|
|
144
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#InsecureKeyArchive" class="tsd-kind-icon">Insecure<wbr>Key<wbr>Archive</a></li>
|
|
145
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#KeyArchive" class="tsd-kind-icon">Key<wbr>Archive</a></li>
|
|
146
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#KeyArchiveKeyInfo" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info</a></li>
|
|
147
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#SecureKeyArchive" class="tsd-kind-icon">Secure<wbr>Key<wbr>Archive</a></li>
|
|
148
|
-
<li class="tsd-kind-type-alias"><a href="modules.html#UnrecognizedKeyArchive" class="tsd-kind-icon">Unrecognized<wbr>Key<wbr>Archive</a></li>
|
|
149
|
-
</ul>
|
|
150
|
-
</section>
|
|
151
|
-
<section class="tsd-index-section ">
|
|
152
|
-
<h3>Variables</h3>
|
|
153
|
-
<ul class="tsd-index-list">
|
|
154
|
-
<li class="tsd-kind-variable"><a href="modules.html#CURRENT_ARCHIVE_VERSION" class="tsd-kind-icon">CURRENT_<wbr>ARCHIVE_<wbr>VERSION</a></li>
|
|
155
|
-
<li class="tsd-kind-variable"><a href="modules.html#InsecureKeyArchiveCodec" class="tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<wbr>Codec</a></li>
|
|
156
|
-
<li class="tsd-kind-variable"><a href="modules.html#InsecureKeyArchiveType" class="tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<wbr>Type</a></li>
|
|
157
|
-
<li class="tsd-kind-variable"><a href="modules.html#KeyArchiveCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Codec</a></li>
|
|
158
|
-
<li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyInfoArrayCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Array<wbr>Codec</a></li>
|
|
159
|
-
<li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyInfoCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Codec</a></li>
|
|
160
|
-
<li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyTypeCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Type<wbr>Codec</a></li>
|
|
161
|
-
<li class="tsd-kind-variable"><a href="modules.html#SecureKeyArchiveCodec" class="tsd-kind-icon">Secure<wbr>Key<wbr>Archive<wbr>Codec</a></li>
|
|
162
|
-
<li class="tsd-kind-variable"><a href="modules.html#SecureKeyArchiveType" class="tsd-kind-icon">Secure<wbr>Key<wbr>Archive<wbr>Type</a></li>
|
|
163
|
-
<li class="tsd-kind-variable"><a href="modules.html#UnrecognizedKeyArchiveCodec" class="tsd-kind-icon">Unrecognized<wbr>Key<wbr>Archive<wbr>Codec</a></li>
|
|
164
|
-
</ul>
|
|
165
|
-
</section>
|
|
166
|
-
<section class="tsd-index-section ">
|
|
167
|
-
<h3>Functions</h3>
|
|
168
|
-
<ul class="tsd-index-list">
|
|
169
|
-
<li class="tsd-kind-function"><a href="modules.html#isAppSyncNetworkError" class="tsd-kind-icon">is<wbr>App<wbr>Sync<wbr>Network<wbr>Error</a></li>
|
|
170
|
-
<li class="tsd-kind-function"><a href="modules.html#isInsecureKeyArchive" class="tsd-kind-icon">is<wbr>Insecure<wbr>Key<wbr>Archive</a></li>
|
|
171
|
-
<li class="tsd-kind-function"><a href="modules.html#isSecureKeyArchive" class="tsd-kind-icon">is<wbr>Secure<wbr>Key<wbr>Archive</a></li>
|
|
172
|
-
<li class="tsd-kind-function"><a href="modules.html#isUnrecognizedKeyArchive" class="tsd-kind-icon">is<wbr>Unrecognized<wbr>Key<wbr>Archive</a></li>
|
|
173
|
-
<li class="tsd-kind-function"><a href="modules.html#keyArchiveInfoFromKeyData" class="tsd-kind-icon">key<wbr>Archive<wbr>Info<wbr>From<wbr>Key<wbr>Data</a></li>
|
|
174
|
-
<li class="tsd-kind-function"><a href="modules.html#keyArchiveKeyTypeFromKeyDataKeyType" class="tsd-kind-icon">key<wbr>Archive<wbr>Key<wbr>Type<wbr>From<wbr>Key<wbr>Data<wbr>Key<wbr>Type</a></li>
|
|
175
|
-
<li class="tsd-kind-function"><a href="modules.html#mapGraphQLToClientError" class="tsd-kind-icon">map<wbr>GraphQLTo<wbr>Client<wbr>Error</a></li>
|
|
176
|
-
<li class="tsd-kind-function"><a href="modules.html#mapNetworkErrorToClientError" class="tsd-kind-icon">map<wbr>Network<wbr>Error<wbr>ToClient<wbr>Error</a></li>
|
|
177
|
-
</ul>
|
|
178
|
-
</section>
|
|
179
|
-
</div>
|
|
180
|
-
</section>
|
|
181
|
-
</section>
|
|
182
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
183
|
-
<h2>Type aliases</h2>
|
|
184
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
185
|
-
<a name="AppSyncError" class="tsd-anchor"></a>
|
|
186
|
-
<h3>App<wbr>Sync<wbr>Error</h3>
|
|
187
|
-
<div class="tsd-signature tsd-kind-icon">App<wbr>Sync<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GraphQLError</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>errorType<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> }</span></div>
|
|
188
|
-
<aside class="tsd-sources">
|
|
189
|
-
<ul>
|
|
190
|
-
<li>Defined in src/errors/error.ts:4</li>
|
|
191
|
-
</ul>
|
|
192
|
-
</aside>
|
|
193
|
-
</section>
|
|
194
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
195
|
-
<a name="AppSyncNetworkError" class="tsd-anchor"></a>
|
|
196
|
-
<h3>App<wbr>Sync<wbr>Network<wbr>Error</h3>
|
|
197
|
-
<div class="tsd-signature tsd-kind-icon">App<wbr>Sync<wbr>Network<wbr>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>networkError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>statusCode<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> }</span></div>
|
|
198
|
-
<aside class="tsd-sources">
|
|
199
|
-
<ul>
|
|
200
|
-
<li>Defined in src/errors/error.ts:7</li>
|
|
201
|
-
</ul>
|
|
202
|
-
</aside>
|
|
203
|
-
</section>
|
|
204
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
205
|
-
<a name="InsecureKeyArchive" class="tsd-anchor"></a>
|
|
206
|
-
<h3>Insecure<wbr>Key<wbr>Archive</h3>
|
|
207
|
-
<div class="tsd-signature tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#InsecureKeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">InsecureKeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div>
|
|
208
|
-
<aside class="tsd-sources">
|
|
209
|
-
<ul>
|
|
210
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:37</li>
|
|
211
|
-
</ul>
|
|
212
|
-
</aside>
|
|
213
|
-
</section>
|
|
214
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
215
|
-
<a name="KeyArchive" class="tsd-anchor"></a>
|
|
216
|
-
<h3>Key<wbr>Archive</h3>
|
|
217
|
-
<div class="tsd-signature tsd-kind-icon">Key<wbr>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#KeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">KeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div>
|
|
218
|
-
<aside class="tsd-sources">
|
|
219
|
-
<ul>
|
|
220
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:102</li>
|
|
221
|
-
</ul>
|
|
222
|
-
</aside>
|
|
223
|
-
</section>
|
|
224
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
225
|
-
<a name="KeyArchiveKeyInfo" class="tsd-anchor"></a>
|
|
226
|
-
<h3>Key<wbr>Archive<wbr>Key<wbr>Info</h3>
|
|
227
|
-
<div class="tsd-signature tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#KeyArchiveKeyInfoCodec" class="tsd-signature-type" data-tsd-kind="Variable">KeyArchiveKeyInfoCodec</a><span class="tsd-signature-symbol">></span></div>
|
|
228
|
-
<aside class="tsd-sources">
|
|
229
|
-
<ul>
|
|
230
|
-
<li>Defined in src/sudoKeyArchive/keyInfo.ts:47</li>
|
|
231
|
-
</ul>
|
|
232
|
-
</aside>
|
|
233
|
-
<div class="tsd-comment tsd-typography">
|
|
234
|
-
<div class="lead">
|
|
235
|
-
<p>Record of key in a key archive</p>
|
|
236
|
-
</div>
|
|
237
|
-
<dl class="tsd-comment-tags">
|
|
238
|
-
<dt>property</dt>
|
|
239
|
-
<dd><p>NameSpace
|
|
240
|
-
NameSpace to which the key belongs.</p>
|
|
241
|
-
</dd>
|
|
242
|
-
<dt>property</dt>
|
|
243
|
-
<dd><p>Name
|
|
244
|
-
Name of the key within the namespace</p>
|
|
245
|
-
</dd>
|
|
246
|
-
<dt>property</dt>
|
|
247
|
-
<dd><p>Type
|
|
248
|
-
Type of the key (also implies key format)</p>
|
|
249
|
-
</dd>
|
|
250
|
-
<dt>property</dt>
|
|
251
|
-
<dd><p>Data
|
|
252
|
-
Base64 encoded key data</p>
|
|
253
|
-
</dd>
|
|
254
|
-
<dt>property</dt>
|
|
255
|
-
<dd><p>Synchronizable
|
|
256
|
-
Whether key should be synced out of band of archiving.
|
|
257
|
-
For future use - always false for now.</p>
|
|
258
|
-
</dd>
|
|
259
|
-
<dt>property</dt>
|
|
260
|
-
<dd><p>Exportable
|
|
261
|
-
Whether restored key should be exportable. Always true on archive.
|
|
262
|
-
For future use on unarchive.</p>
|
|
263
|
-
</dd>
|
|
264
|
-
</dl>
|
|
265
|
-
</div>
|
|
266
|
-
</section>
|
|
267
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
268
|
-
<a name="SecureKeyArchive" class="tsd-anchor"></a>
|
|
269
|
-
<h3>Secure<wbr>Key<wbr>Archive</h3>
|
|
270
|
-
<div class="tsd-signature tsd-kind-icon">Secure<wbr>Key<wbr>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#SecureKeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">SecureKeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div>
|
|
271
|
-
<aside class="tsd-sources">
|
|
272
|
-
<ul>
|
|
273
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:90</li>
|
|
274
|
-
</ul>
|
|
275
|
-
</aside>
|
|
276
|
-
</section>
|
|
277
|
-
<section class="tsd-panel tsd-member tsd-kind-type-alias">
|
|
278
|
-
<a name="UnrecognizedKeyArchive" class="tsd-anchor"></a>
|
|
279
|
-
<h3>Unrecognized<wbr>Key<wbr>Archive</h3>
|
|
280
|
-
<div class="tsd-signature tsd-kind-icon">Unrecognized<wbr>Key<wbr>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#UnrecognizedKeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">UnrecognizedKeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div>
|
|
281
|
-
<aside class="tsd-sources">
|
|
282
|
-
<ul>
|
|
283
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:82</li>
|
|
284
|
-
</ul>
|
|
285
|
-
</aside>
|
|
286
|
-
</section>
|
|
287
|
-
</section>
|
|
288
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
289
|
-
<h2>Variables</h2>
|
|
290
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
291
|
-
<a name="CURRENT_ARCHIVE_VERSION" class="tsd-anchor"></a>
|
|
292
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> CURRENT_<wbr>ARCHIVE_<wbr>VERSION</h3>
|
|
293
|
-
<div class="tsd-signature tsd-kind-icon">CURRENT_<wbr>ARCHIVE_<wbr>VERSION<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> = 3</span></div>
|
|
294
|
-
<aside class="tsd-sources">
|
|
295
|
-
<ul>
|
|
296
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:4</li>
|
|
297
|
-
</ul>
|
|
298
|
-
</aside>
|
|
299
|
-
</section>
|
|
300
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
301
|
-
<a name="InsecureKeyArchiveCodec" class="tsd-anchor"></a>
|
|
302
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Insecure<wbr>Key<wbr>Archive<wbr>Codec</h3>
|
|
303
|
-
<div class="tsd-signature tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
304
|
-
<aside class="tsd-sources">
|
|
305
|
-
<ul>
|
|
306
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:33</li>
|
|
307
|
-
</ul>
|
|
308
|
-
</aside>
|
|
309
|
-
</section>
|
|
310
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
311
|
-
<a name="InsecureKeyArchiveType" class="tsd-anchor"></a>
|
|
312
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Insecure<wbr>Key<wbr>Archive<wbr>Type</h3>
|
|
313
|
-
<div class="tsd-signature tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol"> = 'Insecure'</span></div>
|
|
314
|
-
<aside class="tsd-sources">
|
|
315
|
-
<ul>
|
|
316
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:18</li>
|
|
317
|
-
</ul>
|
|
318
|
-
</aside>
|
|
319
|
-
</section>
|
|
320
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
321
|
-
<a name="KeyArchiveCodec" class="tsd-anchor"></a>
|
|
322
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Key<wbr>Archive<wbr>Codec</h3>
|
|
323
|
-
<div class="tsd-signature tsd-kind-icon">Key<wbr>Archive<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UnionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
324
|
-
<aside class="tsd-sources">
|
|
325
|
-
<ul>
|
|
326
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:92</li>
|
|
327
|
-
</ul>
|
|
328
|
-
</aside>
|
|
329
|
-
</section>
|
|
330
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
331
|
-
<a name="KeyArchiveKeyInfoArrayCodec" class="tsd-anchor"></a>
|
|
332
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Array<wbr>Codec</h3>
|
|
333
|
-
<div class="tsd-signature tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Array<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
334
|
-
<aside class="tsd-sources">
|
|
335
|
-
<ul>
|
|
336
|
-
<li>Defined in src/sudoKeyArchive/keyInfo.ts:19</li>
|
|
337
|
-
</ul>
|
|
338
|
-
</aside>
|
|
339
|
-
</section>
|
|
340
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
341
|
-
<a name="KeyArchiveKeyInfoCodec" class="tsd-anchor"></a>
|
|
342
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Codec</h3>
|
|
343
|
-
<div class="tsd-signature tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
344
|
-
<aside class="tsd-sources">
|
|
345
|
-
<ul>
|
|
346
|
-
<li>Defined in src/sudoKeyArchive/keyInfo.ts:14</li>
|
|
347
|
-
</ul>
|
|
348
|
-
</aside>
|
|
349
|
-
</section>
|
|
350
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
351
|
-
<a name="KeyArchiveKeyTypeCodec" class="tsd-anchor"></a>
|
|
352
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Key<wbr>Archive<wbr>Key<wbr>Type<wbr>Codec</h3>
|
|
353
|
-
<div class="tsd-signature tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Type<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
354
|
-
<aside class="tsd-sources">
|
|
355
|
-
<ul>
|
|
356
|
-
<li>Defined in src/sudoKeyArchive/keyType.ts:42</li>
|
|
357
|
-
</ul>
|
|
358
|
-
</aside>
|
|
359
|
-
</section>
|
|
360
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
361
|
-
<a name="SecureKeyArchiveCodec" class="tsd-anchor"></a>
|
|
362
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Secure<wbr>Key<wbr>Archive<wbr>Codec</h3>
|
|
363
|
-
<div class="tsd-signature tsd-kind-icon">Secure<wbr>Key<wbr>Archive<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
364
|
-
<aside class="tsd-sources">
|
|
365
|
-
<ul>
|
|
366
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:86</li>
|
|
367
|
-
</ul>
|
|
368
|
-
</aside>
|
|
369
|
-
</section>
|
|
370
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
371
|
-
<a name="SecureKeyArchiveType" class="tsd-anchor"></a>
|
|
372
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Secure<wbr>Key<wbr>Archive<wbr>Type</h3>
|
|
373
|
-
<div class="tsd-signature tsd-kind-icon">Secure<wbr>Key<wbr>Archive<wbr>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol"> = 'Secure'</span></div>
|
|
374
|
-
<aside class="tsd-sources">
|
|
375
|
-
<ul>
|
|
376
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:39</li>
|
|
377
|
-
</ul>
|
|
378
|
-
</aside>
|
|
379
|
-
</section>
|
|
380
|
-
<section class="tsd-panel tsd-member tsd-kind-variable">
|
|
381
|
-
<a name="UnrecognizedKeyArchiveCodec" class="tsd-anchor"></a>
|
|
382
|
-
<h3><span class="tsd-flag ts-flagConst">Const</span> Unrecognized<wbr>Key<wbr>Archive<wbr>Codec</h3>
|
|
383
|
-
<div class="tsd-signature tsd-kind-icon">Unrecognized<wbr>Key<wbr>Archive<wbr>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div>
|
|
384
|
-
<aside class="tsd-sources">
|
|
385
|
-
<ul>
|
|
386
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:79</li>
|
|
387
|
-
</ul>
|
|
388
|
-
</aside>
|
|
389
|
-
</section>
|
|
390
|
-
</section>
|
|
391
|
-
<section class="tsd-panel-group tsd-member-group ">
|
|
392
|
-
<h2>Functions</h2>
|
|
393
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
394
|
-
<a name="isAppSyncNetworkError" class="tsd-anchor"></a>
|
|
395
|
-
<h3>is<wbr>App<wbr>Sync<wbr>Network<wbr>Error</h3>
|
|
396
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
397
|
-
<li class="tsd-signature tsd-kind-icon">is<wbr>App<wbr>Sync<wbr>Network<wbr>Error<span class="tsd-signature-symbol">(</span>u<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">u</span><span class="tsd-signature-symbol"> is </span><a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a></li>
|
|
398
|
-
</ul>
|
|
399
|
-
<ul class="tsd-descriptions">
|
|
400
|
-
<li class="tsd-description">
|
|
401
|
-
<aside class="tsd-sources">
|
|
402
|
-
<ul>
|
|
403
|
-
<li>Defined in src/errors/error.ts:13</li>
|
|
404
|
-
</ul>
|
|
405
|
-
</aside>
|
|
406
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
407
|
-
<ul class="tsd-parameters">
|
|
408
|
-
<li>
|
|
409
|
-
<h5>u: <span class="tsd-signature-type">Error</span></h5>
|
|
410
|
-
</li>
|
|
411
|
-
</ul>
|
|
412
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">u</span><span class="tsd-signature-symbol"> is </span><a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a></h4>
|
|
413
|
-
</li>
|
|
414
|
-
</ul>
|
|
415
|
-
</section>
|
|
416
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
417
|
-
<a name="isInsecureKeyArchive" class="tsd-anchor"></a>
|
|
418
|
-
<h3>is<wbr>Insecure<wbr>Key<wbr>Archive</h3>
|
|
419
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
420
|
-
<li class="tsd-signature tsd-kind-icon">is<wbr>Insecure<wbr>Key<wbr>Archive<span class="tsd-signature-symbol">(</span>keyArchive<span class="tsd-signature-symbol">: </span><a href="modules.html#KeyArchive" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchive</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span></li>
|
|
421
|
-
</ul>
|
|
422
|
-
<ul class="tsd-descriptions">
|
|
423
|
-
<li class="tsd-description">
|
|
424
|
-
<aside class="tsd-sources">
|
|
425
|
-
<ul>
|
|
426
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:110</li>
|
|
427
|
-
</ul>
|
|
428
|
-
</aside>
|
|
429
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
430
|
-
<ul class="tsd-parameters">
|
|
431
|
-
<li>
|
|
432
|
-
<h5>keyArchive: <a href="modules.html#KeyArchive" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchive</a></h5>
|
|
433
|
-
</li>
|
|
434
|
-
</ul>
|
|
435
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }</span><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span></h4>
|
|
436
|
-
</li>
|
|
437
|
-
</ul>
|
|
438
|
-
</section>
|
|
439
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
440
|
-
<a name="isSecureKeyArchive" class="tsd-anchor"></a>
|
|
441
|
-
<h3>is<wbr>Secure<wbr>Key<wbr>Archive</h3>
|
|
442
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
443
|
-
<li class="tsd-signature tsd-kind-icon">is<wbr>Secure<wbr>Key<wbr>Archive<span class="tsd-signature-symbol">(</span>keyArchive<span class="tsd-signature-symbol">: </span><a href="modules.html#KeyArchive" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchive</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span></li>
|
|
444
|
-
</ul>
|
|
445
|
-
<ul class="tsd-descriptions">
|
|
446
|
-
<li class="tsd-description">
|
|
447
|
-
<aside class="tsd-sources">
|
|
448
|
-
<ul>
|
|
449
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:104</li>
|
|
450
|
-
</ul>
|
|
451
|
-
</aside>
|
|
452
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
453
|
-
<ul class="tsd-parameters">
|
|
454
|
-
<li>
|
|
455
|
-
<h5>keyArchive: <a href="modules.html#KeyArchive" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchive</a></h5>
|
|
456
|
-
</li>
|
|
457
|
-
</ul>
|
|
458
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span></h4>
|
|
459
|
-
</li>
|
|
460
|
-
</ul>
|
|
461
|
-
</section>
|
|
462
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
463
|
-
<a name="isUnrecognizedKeyArchive" class="tsd-anchor"></a>
|
|
464
|
-
<h3>is<wbr>Unrecognized<wbr>Key<wbr>Archive</h3>
|
|
465
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
466
|
-
<li class="tsd-signature tsd-kind-icon">is<wbr>Unrecognized<wbr>Key<wbr>Archive<span class="tsd-signature-symbol">(</span>keyArchive<span class="tsd-signature-symbol">: </span><a href="modules.html#KeyArchive" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchive</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></li>
|
|
467
|
-
</ul>
|
|
468
|
-
<ul class="tsd-descriptions">
|
|
469
|
-
<li class="tsd-description">
|
|
470
|
-
<aside class="tsd-sources">
|
|
471
|
-
<ul>
|
|
472
|
-
<li>Defined in src/sudoKeyArchive/keyArchive.ts:116</li>
|
|
473
|
-
</ul>
|
|
474
|
-
</aside>
|
|
475
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
476
|
-
<ul class="tsd-parameters">
|
|
477
|
-
<li>
|
|
478
|
-
<h5>keyArchive: <a href="modules.html#KeyArchive" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchive</a></h5>
|
|
479
|
-
</li>
|
|
480
|
-
</ul>
|
|
481
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h4>
|
|
482
|
-
</li>
|
|
483
|
-
</ul>
|
|
484
|
-
</section>
|
|
485
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
486
|
-
<a name="keyArchiveInfoFromKeyData" class="tsd-anchor"></a>
|
|
487
|
-
<h3>key<wbr>Archive<wbr>Info<wbr>From<wbr>Key<wbr>Data</h3>
|
|
488
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
489
|
-
<li class="tsd-signature tsd-kind-icon">key<wbr>Archive<wbr>Info<wbr>From<wbr>Key<wbr>Data<span class="tsd-signature-symbol">(</span>keyData<span class="tsd-signature-symbol">: </span><a href="interfaces/KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">KeyArchiveKeyInfoDecoded</span></li>
|
|
490
|
-
</ul>
|
|
491
|
-
<ul class="tsd-descriptions">
|
|
492
|
-
<li class="tsd-description">
|
|
493
|
-
<aside class="tsd-sources">
|
|
494
|
-
<ul>
|
|
495
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:564</li>
|
|
496
|
-
</ul>
|
|
497
|
-
</aside>
|
|
498
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
499
|
-
<ul class="tsd-parameters">
|
|
500
|
-
<li>
|
|
501
|
-
<h5>keyData: <a href="interfaces/KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a></h5>
|
|
502
|
-
</li>
|
|
503
|
-
</ul>
|
|
504
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">KeyArchiveKeyInfoDecoded</span></h4>
|
|
505
|
-
</li>
|
|
506
|
-
</ul>
|
|
507
|
-
</section>
|
|
508
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
509
|
-
<a name="keyArchiveKeyTypeFromKeyDataKeyType" class="tsd-anchor"></a>
|
|
510
|
-
<h3>key<wbr>Archive<wbr>Key<wbr>Type<wbr>From<wbr>Key<wbr>Data<wbr>Key<wbr>Type</h3>
|
|
511
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
512
|
-
<li class="tsd-signature tsd-kind-icon">key<wbr>Archive<wbr>Key<wbr>Type<wbr>From<wbr>Key<wbr>Data<wbr>Key<wbr>Type<span class="tsd-signature-symbol">(</span>keyDataKeyType<span class="tsd-signature-symbol">: </span><a href="enums/KeyDataKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyDataKeyType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></li>
|
|
513
|
-
</ul>
|
|
514
|
-
<ul class="tsd-descriptions">
|
|
515
|
-
<li class="tsd-description">
|
|
516
|
-
<aside class="tsd-sources">
|
|
517
|
-
<ul>
|
|
518
|
-
<li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:578</li>
|
|
519
|
-
</ul>
|
|
520
|
-
</aside>
|
|
521
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
522
|
-
<ul class="tsd-parameters">
|
|
523
|
-
<li>
|
|
524
|
-
<h5>keyDataKeyType: <a href="enums/KeyDataKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyDataKeyType</a></h5>
|
|
525
|
-
</li>
|
|
526
|
-
</ul>
|
|
527
|
-
<h4 class="tsd-returns-title">Returns <a href="enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></h4>
|
|
528
|
-
</li>
|
|
529
|
-
</ul>
|
|
530
|
-
</section>
|
|
531
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
532
|
-
<a name="mapGraphQLToClientError" class="tsd-anchor"></a>
|
|
533
|
-
<h3>map<wbr>GraphQLTo<wbr>Client<wbr>Error</h3>
|
|
534
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
535
|
-
<li class="tsd-signature tsd-kind-icon">map<wbr>GraphQLTo<wbr>Client<wbr>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><a href="modules.html#AppSyncError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span></li>
|
|
536
|
-
</ul>
|
|
537
|
-
<ul class="tsd-descriptions">
|
|
538
|
-
<li class="tsd-description">
|
|
539
|
-
<aside class="tsd-sources">
|
|
540
|
-
<ul>
|
|
541
|
-
<li>Defined in src/errors/error.ts:409</li>
|
|
542
|
-
</ul>
|
|
543
|
-
</aside>
|
|
544
|
-
<div class="tsd-comment tsd-typography">
|
|
545
|
-
<div class="lead">
|
|
546
|
-
<p>Helper method for mapping an App Sync error to common errors.</p>
|
|
547
|
-
</div>
|
|
548
|
-
<p>For consumption by other Sudo Platform SDKs</p>
|
|
549
|
-
</div>
|
|
550
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
551
|
-
<ul class="tsd-parameters">
|
|
552
|
-
<li>
|
|
553
|
-
<h5>error: <a href="modules.html#AppSyncError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncError</a></h5>
|
|
554
|
-
<div class="tsd-comment tsd-typography">
|
|
555
|
-
<p>The App Sync error to map</p>
|
|
556
|
-
</div>
|
|
557
|
-
</li>
|
|
558
|
-
</ul>
|
|
559
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Error</span></h4>
|
|
560
|
-
<p>The mapped error</p>
|
|
561
|
-
</li>
|
|
562
|
-
</ul>
|
|
563
|
-
</section>
|
|
564
|
-
<section class="tsd-panel tsd-member tsd-kind-function">
|
|
565
|
-
<a name="mapNetworkErrorToClientError" class="tsd-anchor"></a>
|
|
566
|
-
<h3>map<wbr>Network<wbr>Error<wbr>ToClient<wbr>Error</h3>
|
|
567
|
-
<ul class="tsd-signatures tsd-kind-function">
|
|
568
|
-
<li class="tsd-signature tsd-kind-icon">map<wbr>Network<wbr>Error<wbr>ToClient<wbr>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span></li>
|
|
569
|
-
</ul>
|
|
570
|
-
<ul class="tsd-descriptions">
|
|
571
|
-
<li class="tsd-description">
|
|
572
|
-
<aside class="tsd-sources">
|
|
573
|
-
<ul>
|
|
574
|
-
<li>Defined in src/errors/error.ts:436</li>
|
|
575
|
-
</ul>
|
|
576
|
-
</aside>
|
|
577
|
-
<div class="tsd-comment tsd-typography">
|
|
578
|
-
<div class="lead">
|
|
579
|
-
<p>Call this in error handling when testing with isAppSyncNetworkError on
|
|
580
|
-
a caught error from an AppSync operation returns true.</p>
|
|
581
|
-
</div>
|
|
582
|
-
</div>
|
|
583
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
584
|
-
<ul class="tsd-parameters">
|
|
585
|
-
<li>
|
|
586
|
-
<h5>error: <a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a></h5>
|
|
587
|
-
<div class="tsd-comment tsd-typography">
|
|
588
|
-
<p>AppSyncNetworkError to map</p>
|
|
589
|
-
</div>
|
|
590
|
-
</li>
|
|
591
|
-
</ul>
|
|
592
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Error</span></h4>
|
|
593
|
-
<p>Mapped error</p>
|
|
594
|
-
</li>
|
|
595
|
-
</ul>
|
|
596
|
-
</section>
|
|
597
|
-
</section>
|
|
598
|
-
</div>
|
|
599
|
-
<div class="col-4 col-menu menu-sticky-wrap menu-highlight">
|
|
600
|
-
<nav class="tsd-navigation primary">
|
|
601
|
-
<ul>
|
|
602
|
-
<li class="current ">
|
|
603
|
-
<a href="modules.html">Exports</a>
|
|
604
|
-
</li>
|
|
605
|
-
</ul>
|
|
606
|
-
</nav>
|
|
607
|
-
<nav class="tsd-navigation secondary menu-sticky">
|
|
608
|
-
<ul class="before-current">
|
|
609
|
-
<li class=" tsd-kind-enum">
|
|
610
|
-
<a href="enums/CachePolicy.html" class="tsd-kind-icon">Cache<wbr>Policy</a>
|
|
611
|
-
</li>
|
|
612
|
-
<li class=" tsd-kind-enum">
|
|
613
|
-
<a href="enums/EncryptionAlgorithm.html" class="tsd-kind-icon">Encryption<wbr>Algorithm</a>
|
|
614
|
-
</li>
|
|
615
|
-
<li class=" tsd-kind-enum">
|
|
616
|
-
<a href="enums/KeyArchiveKeyType.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Type</a>
|
|
617
|
-
</li>
|
|
618
|
-
<li class=" tsd-kind-enum">
|
|
619
|
-
<a href="enums/KeyDataKeyFormat.html" class="tsd-kind-icon">Key<wbr>Data<wbr>Key<wbr>Format</a>
|
|
620
|
-
</li>
|
|
621
|
-
<li class=" tsd-kind-enum">
|
|
622
|
-
<a href="enums/KeyDataKeyType.html" class="tsd-kind-icon">Key<wbr>Data<wbr>Key<wbr>Type</a>
|
|
623
|
-
</li>
|
|
624
|
-
<li class=" tsd-kind-enum">
|
|
625
|
-
<a href="enums/PublicKeyFormat.html" class="tsd-kind-icon">Public<wbr>Key<wbr>Format</a>
|
|
626
|
-
</li>
|
|
627
|
-
<li class=" tsd-kind-class">
|
|
628
|
-
<a href="classes/AccountLockedError.html" class="tsd-kind-icon">Account<wbr>Locked<wbr>Error</a>
|
|
629
|
-
</li>
|
|
630
|
-
<li class=" tsd-kind-class">
|
|
631
|
-
<a href="classes/AuthenticationError.html" class="tsd-kind-icon">Authentication<wbr>Error</a>
|
|
632
|
-
</li>
|
|
633
|
-
<li class=" tsd-kind-class">
|
|
634
|
-
<a href="classes/Base64.html" class="tsd-kind-icon">Base64</a>
|
|
635
|
-
</li>
|
|
636
|
-
<li class=" tsd-kind-class">
|
|
637
|
-
<a href="classes/Buffer.html" class="tsd-kind-icon">Buffer</a>
|
|
638
|
-
</li>
|
|
639
|
-
<li class=" tsd-kind-class">
|
|
640
|
-
<a href="classes/ConfigurationNotSetError.html" class="tsd-kind-icon">Configuration<wbr>Not<wbr>Set<wbr>Error</a>
|
|
641
|
-
</li>
|
|
642
|
-
<li class=" tsd-kind-class">
|
|
643
|
-
<a href="classes/ConfigurationSetNotFoundError.html" class="tsd-kind-icon">Configuration<wbr>Set<wbr>Not<wbr>Found<wbr>Error</a>
|
|
644
|
-
</li>
|
|
645
|
-
<li class=" tsd-kind-class">
|
|
646
|
-
<a href="classes/DecodeError.html" class="tsd-kind-icon">Decode<wbr>Error</a>
|
|
647
|
-
</li>
|
|
648
|
-
<li class=" tsd-kind-class">
|
|
649
|
-
<a href="classes/DefaultConfigurationManager.html" class="tsd-kind-icon">Default<wbr>Configuration<wbr>Manager</a>
|
|
650
|
-
</li>
|
|
651
|
-
<li class=" tsd-kind-class">
|
|
652
|
-
<a href="classes/DefaultLogger.html" class="tsd-kind-icon">Default<wbr>Logger</a>
|
|
653
|
-
</li>
|
|
654
|
-
<li class=" tsd-kind-class">
|
|
655
|
-
<a href="classes/DefaultSudoKeyArchive.html" class="tsd-kind-icon">Default<wbr>Sudo<wbr>Key<wbr>Archive</a>
|
|
656
|
-
</li>
|
|
657
|
-
<li class=" tsd-kind-class">
|
|
658
|
-
<a href="classes/DefaultSudoKeyManager.html" class="tsd-kind-icon">Default<wbr>Sudo<wbr>Key<wbr>Manager</a>
|
|
659
|
-
</li>
|
|
660
|
-
<li class=" tsd-kind-class">
|
|
661
|
-
<a href="classes/FatalError.html" class="tsd-kind-icon">Fatal<wbr>Error</a>
|
|
662
|
-
</li>
|
|
663
|
-
<li class=" tsd-kind-class">
|
|
664
|
-
<a href="classes/IllegalArgumentError.html" class="tsd-kind-icon">Illegal<wbr>Argument<wbr>Error</a>
|
|
665
|
-
</li>
|
|
666
|
-
<li class=" tsd-kind-class">
|
|
667
|
-
<a href="classes/IllegalStateError.html" class="tsd-kind-icon">Illegal<wbr>State<wbr>Error</a>
|
|
668
|
-
</li>
|
|
669
|
-
<li class=" tsd-kind-class">
|
|
670
|
-
<a href="classes/InsufficientEntitlementsError.html" class="tsd-kind-icon">Insufficient<wbr>Entitlements<wbr>Error</a>
|
|
671
|
-
</li>
|
|
672
|
-
<li class=" tsd-kind-class">
|
|
673
|
-
<a href="classes/InvalidOwnershipProofError.html" class="tsd-kind-icon">Invalid<wbr>Ownership<wbr>Proof<wbr>Error</a>
|
|
674
|
-
</li>
|
|
675
|
-
<li class=" tsd-kind-class">
|
|
676
|
-
<a href="classes/InvalidTokenError.html" class="tsd-kind-icon">Invalid<wbr>Token<wbr>Error</a>
|
|
677
|
-
</li>
|
|
678
|
-
<li class=" tsd-kind-class">
|
|
679
|
-
<a href="classes/KeyArchiveDecodingError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Decoding<wbr>Error</a>
|
|
680
|
-
</li>
|
|
681
|
-
<li class=" tsd-kind-class">
|
|
682
|
-
<a href="classes/KeyArchiveIncorrectPasswordError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Incorrect<wbr>Password<wbr>Error</a>
|
|
683
|
-
</li>
|
|
684
|
-
<li class=" tsd-kind-class">
|
|
685
|
-
<a href="classes/KeyArchiveMissingError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Missing<wbr>Error</a>
|
|
686
|
-
</li>
|
|
687
|
-
<li class=" tsd-kind-class">
|
|
688
|
-
<a href="classes/KeyArchiveNoPasswordRequiredError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>NoPassword<wbr>Required<wbr>Error</a>
|
|
689
|
-
</li>
|
|
690
|
-
<li class=" tsd-kind-class">
|
|
691
|
-
<a href="classes/KeyArchivePasswordRequiredError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Password<wbr>Required<wbr>Error</a>
|
|
692
|
-
</li>
|
|
693
|
-
<li class=" tsd-kind-class">
|
|
694
|
-
<a href="classes/KeyArchiveTypeError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Type<wbr>Error</a>
|
|
695
|
-
</li>
|
|
696
|
-
<li class=" tsd-kind-class">
|
|
697
|
-
<a href="classes/KeyArchiveUnknownKeyTypeError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Unknown<wbr>Key<wbr>Type<wbr>Error</a>
|
|
698
|
-
</li>
|
|
699
|
-
<li class=" tsd-kind-class">
|
|
700
|
-
<a href="classes/KeyArchiveVersionError.html" class="tsd-kind-icon">Key<wbr>Archive<wbr>Version<wbr>Error</a>
|
|
701
|
-
</li>
|
|
702
|
-
<li class=" tsd-kind-class">
|
|
703
|
-
<a href="classes/KeyNotFoundError.html" class="tsd-kind-icon">Key<wbr>Not<wbr>Found<wbr>Error</a>
|
|
704
|
-
</li>
|
|
705
|
-
<li class=" tsd-kind-class">
|
|
706
|
-
<a href="classes/KeyStoreNotExportableError.html" class="tsd-kind-icon">Key<wbr>Store<wbr>Not<wbr>Exportable<wbr>Error</a>
|
|
707
|
-
</li>
|
|
708
|
-
<li class=" tsd-kind-class">
|
|
709
|
-
<a href="classes/LimitExceededError.html" class="tsd-kind-icon">Limit<wbr>Exceeded<wbr>Error</a>
|
|
710
|
-
</li>
|
|
711
|
-
<li class=" tsd-kind-class">
|
|
712
|
-
<a href="classes/NoEntitlementsError.html" class="tsd-kind-icon">No<wbr>Entitlements<wbr>Error</a>
|
|
713
|
-
</li>
|
|
714
|
-
<li class=" tsd-kind-class">
|
|
715
|
-
<a href="classes/NotAuthorizedError.html" class="tsd-kind-icon">Not<wbr>Authorized<wbr>Error</a>
|
|
716
|
-
</li>
|
|
717
|
-
<li class=" tsd-kind-class">
|
|
718
|
-
<a href="classes/NotRegisteredError.html" class="tsd-kind-icon">Not<wbr>Registered<wbr>Error</a>
|
|
719
|
-
</li>
|
|
720
|
-
<li class=" tsd-kind-class">
|
|
721
|
-
<a href="classes/NotSignedInError.html" class="tsd-kind-icon">Not<wbr>Signed<wbr>InError</a>
|
|
722
|
-
</li>
|
|
723
|
-
<li class=" tsd-kind-class">
|
|
724
|
-
<a href="classes/OperationNotImplementedError.html" class="tsd-kind-icon">Operation<wbr>Not<wbr>Implemented<wbr>Error</a>
|
|
725
|
-
</li>
|
|
726
|
-
<li class=" tsd-kind-class">
|
|
727
|
-
<a href="classes/RegisterError.html" class="tsd-kind-icon">Register<wbr>Error</a>
|
|
728
|
-
</li>
|
|
729
|
-
<li class=" tsd-kind-class">
|
|
730
|
-
<a href="classes/RequestFailedError.html" class="tsd-kind-icon">Request<wbr>Failed<wbr>Error</a>
|
|
731
|
-
</li>
|
|
732
|
-
<li class=" tsd-kind-class">
|
|
733
|
-
<a href="classes/ServiceError.html" class="tsd-kind-icon">Service<wbr>Error</a>
|
|
734
|
-
</li>
|
|
735
|
-
<li class=" tsd-kind-class">
|
|
736
|
-
<a href="classes/SignOutError.html" class="tsd-kind-icon">Sign<wbr>Out<wbr>Error</a>
|
|
737
|
-
</li>
|
|
738
|
-
<li class=" tsd-kind-class">
|
|
739
|
-
<a href="classes/SudoCryptoProviderDefaults.html" class="tsd-kind-icon">Sudo<wbr>Crypto<wbr>Provider<wbr>Defaults</a>
|
|
740
|
-
</li>
|
|
741
|
-
<li class=" tsd-kind-class">
|
|
742
|
-
<a href="classes/UnknownGraphQLError.html" class="tsd-kind-icon">Unknown<wbr>GraphQLError</a>
|
|
743
|
-
</li>
|
|
744
|
-
<li class=" tsd-kind-class">
|
|
745
|
-
<a href="classes/UserNotConfirmedError.html" class="tsd-kind-icon">User<wbr>Not<wbr>Confirmed<wbr>Error</a>
|
|
746
|
-
</li>
|
|
747
|
-
<li class=" tsd-kind-class">
|
|
748
|
-
<a href="classes/VersionMismatchError.html" class="tsd-kind-icon">Version<wbr>Mismatch<wbr>Error</a>
|
|
749
|
-
</li>
|
|
750
|
-
<li class=" tsd-kind-interface">
|
|
751
|
-
<a href="interfaces/AsymmetricEncryptionOptions.html" class="tsd-kind-icon">Asymmetric<wbr>Encryption<wbr>Options</a>
|
|
752
|
-
</li>
|
|
753
|
-
<li class=" tsd-kind-interface">
|
|
754
|
-
<a href="interfaces/BooleanFilter.html" class="tsd-kind-icon">Boolean<wbr>Filter</a>
|
|
755
|
-
</li>
|
|
756
|
-
<li class=" tsd-kind-interface">
|
|
757
|
-
<a href="interfaces/ConfigurationManager.html" class="tsd-kind-icon">Configuration<wbr>Manager</a>
|
|
758
|
-
</li>
|
|
759
|
-
<li class=" tsd-kind-interface">
|
|
760
|
-
<a href="interfaces/KeyData.html" class="tsd-kind-icon">Key<wbr>Data</a>
|
|
761
|
-
</li>
|
|
762
|
-
<li class=" tsd-kind-interface tsd-has-type-parameter">
|
|
763
|
-
<a href="interfaces/ListOutput.html" class="tsd-kind-icon">List<wbr>Output</a>
|
|
764
|
-
</li>
|
|
765
|
-
<li class=" tsd-kind-interface">
|
|
766
|
-
<a href="interfaces/Logger.html" class="tsd-kind-icon">Logger</a>
|
|
767
|
-
</li>
|
|
768
|
-
<li class=" tsd-kind-interface">
|
|
769
|
-
<a href="interfaces/Owner.html" class="tsd-kind-icon">Owner</a>
|
|
770
|
-
</li>
|
|
771
|
-
<li class=" tsd-kind-interface">
|
|
772
|
-
<a href="interfaces/PublicKey.html" class="tsd-kind-icon">Public<wbr>Key</a>
|
|
773
|
-
</li>
|
|
774
|
-
<li class=" tsd-kind-interface">
|
|
775
|
-
<a href="interfaces/StringFilter.html" class="tsd-kind-icon">String<wbr>Filter</a>
|
|
776
|
-
</li>
|
|
777
|
-
<li class=" tsd-kind-interface">
|
|
778
|
-
<a href="interfaces/SudoCryptoProvider.html" class="tsd-kind-icon">Sudo<wbr>Crypto<wbr>Provider</a>
|
|
779
|
-
</li>
|
|
780
|
-
<li class=" tsd-kind-interface">
|
|
781
|
-
<a href="interfaces/SudoKeyArchive.html" class="tsd-kind-icon">Sudo<wbr>Key<wbr>Archive</a>
|
|
782
|
-
</li>
|
|
783
|
-
<li class=" tsd-kind-interface">
|
|
784
|
-
<a href="interfaces/SudoKeyManager.html" class="tsd-kind-icon">Sudo<wbr>Key<wbr>Manager</a>
|
|
785
|
-
</li>
|
|
786
|
-
<li class=" tsd-kind-interface">
|
|
787
|
-
<a href="interfaces/SymmetricEncryptionOptions.html" class="tsd-kind-icon">Symmetric<wbr>Encryption<wbr>Options</a>
|
|
788
|
-
</li>
|
|
789
|
-
<li class=" tsd-kind-type-alias">
|
|
790
|
-
<a href="modules.html#AppSyncError" class="tsd-kind-icon">App<wbr>Sync<wbr>Error</a>
|
|
791
|
-
</li>
|
|
792
|
-
<li class=" tsd-kind-type-alias">
|
|
793
|
-
<a href="modules.html#AppSyncNetworkError" class="tsd-kind-icon">App<wbr>Sync<wbr>Network<wbr>Error</a>
|
|
794
|
-
</li>
|
|
795
|
-
<li class=" tsd-kind-type-alias">
|
|
796
|
-
<a href="modules.html#InsecureKeyArchive" class="tsd-kind-icon">Insecure<wbr>Key<wbr>Archive</a>
|
|
797
|
-
</li>
|
|
798
|
-
<li class=" tsd-kind-type-alias">
|
|
799
|
-
<a href="modules.html#KeyArchive" class="tsd-kind-icon">Key<wbr>Archive</a>
|
|
800
|
-
</li>
|
|
801
|
-
<li class=" tsd-kind-type-alias">
|
|
802
|
-
<a href="modules.html#KeyArchiveKeyInfo" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info</a>
|
|
803
|
-
</li>
|
|
804
|
-
<li class=" tsd-kind-type-alias">
|
|
805
|
-
<a href="modules.html#SecureKeyArchive" class="tsd-kind-icon">Secure<wbr>Key<wbr>Archive</a>
|
|
806
|
-
</li>
|
|
807
|
-
<li class=" tsd-kind-type-alias">
|
|
808
|
-
<a href="modules.html#UnrecognizedKeyArchive" class="tsd-kind-icon">Unrecognized<wbr>Key<wbr>Archive</a>
|
|
809
|
-
</li>
|
|
810
|
-
<li class=" tsd-kind-variable">
|
|
811
|
-
<a href="modules.html#CURRENT_ARCHIVE_VERSION" class="tsd-kind-icon">CURRENT_<wbr>ARCHIVE_<wbr>VERSION</a>
|
|
812
|
-
</li>
|
|
813
|
-
<li class=" tsd-kind-variable">
|
|
814
|
-
<a href="modules.html#InsecureKeyArchiveCodec" class="tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<wbr>Codec</a>
|
|
815
|
-
</li>
|
|
816
|
-
<li class=" tsd-kind-variable">
|
|
817
|
-
<a href="modules.html#InsecureKeyArchiveType" class="tsd-kind-icon">Insecure<wbr>Key<wbr>Archive<wbr>Type</a>
|
|
818
|
-
</li>
|
|
819
|
-
<li class=" tsd-kind-variable">
|
|
820
|
-
<a href="modules.html#KeyArchiveCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Codec</a>
|
|
821
|
-
</li>
|
|
822
|
-
<li class=" tsd-kind-variable">
|
|
823
|
-
<a href="modules.html#KeyArchiveKeyInfoArrayCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Array<wbr>Codec</a>
|
|
824
|
-
</li>
|
|
825
|
-
<li class=" tsd-kind-variable">
|
|
826
|
-
<a href="modules.html#KeyArchiveKeyInfoCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Info<wbr>Codec</a>
|
|
827
|
-
</li>
|
|
828
|
-
<li class=" tsd-kind-variable">
|
|
829
|
-
<a href="modules.html#KeyArchiveKeyTypeCodec" class="tsd-kind-icon">Key<wbr>Archive<wbr>Key<wbr>Type<wbr>Codec</a>
|
|
830
|
-
</li>
|
|
831
|
-
<li class=" tsd-kind-variable">
|
|
832
|
-
<a href="modules.html#SecureKeyArchiveCodec" class="tsd-kind-icon">Secure<wbr>Key<wbr>Archive<wbr>Codec</a>
|
|
833
|
-
</li>
|
|
834
|
-
<li class=" tsd-kind-variable">
|
|
835
|
-
<a href="modules.html#SecureKeyArchiveType" class="tsd-kind-icon">Secure<wbr>Key<wbr>Archive<wbr>Type</a>
|
|
836
|
-
</li>
|
|
837
|
-
<li class=" tsd-kind-variable">
|
|
838
|
-
<a href="modules.html#UnrecognizedKeyArchiveCodec" class="tsd-kind-icon">Unrecognized<wbr>Key<wbr>Archive<wbr>Codec</a>
|
|
839
|
-
</li>
|
|
840
|
-
<li class=" tsd-kind-function">
|
|
841
|
-
<a href="modules.html#isAppSyncNetworkError" class="tsd-kind-icon">is<wbr>App<wbr>Sync<wbr>Network<wbr>Error</a>
|
|
842
|
-
</li>
|
|
843
|
-
<li class=" tsd-kind-function">
|
|
844
|
-
<a href="modules.html#isInsecureKeyArchive" class="tsd-kind-icon">is<wbr>Insecure<wbr>Key<wbr>Archive</a>
|
|
845
|
-
</li>
|
|
846
|
-
<li class=" tsd-kind-function">
|
|
847
|
-
<a href="modules.html#isSecureKeyArchive" class="tsd-kind-icon">is<wbr>Secure<wbr>Key<wbr>Archive</a>
|
|
848
|
-
</li>
|
|
849
|
-
<li class=" tsd-kind-function">
|
|
850
|
-
<a href="modules.html#isUnrecognizedKeyArchive" class="tsd-kind-icon">is<wbr>Unrecognized<wbr>Key<wbr>Archive</a>
|
|
851
|
-
</li>
|
|
852
|
-
<li class=" tsd-kind-function">
|
|
853
|
-
<a href="modules.html#keyArchiveInfoFromKeyData" class="tsd-kind-icon">key<wbr>Archive<wbr>Info<wbr>From<wbr>Key<wbr>Data</a>
|
|
854
|
-
</li>
|
|
855
|
-
<li class=" tsd-kind-function">
|
|
856
|
-
<a href="modules.html#keyArchiveKeyTypeFromKeyDataKeyType" class="tsd-kind-icon">key<wbr>Archive<wbr>Key<wbr>Type<wbr>From<wbr>Key<wbr>Data<wbr>Key<wbr>Type</a>
|
|
857
|
-
</li>
|
|
858
|
-
<li class=" tsd-kind-function">
|
|
859
|
-
<a href="modules.html#mapGraphQLToClientError" class="tsd-kind-icon">map<wbr>GraphQLTo<wbr>Client<wbr>Error</a>
|
|
860
|
-
</li>
|
|
861
|
-
<li class=" tsd-kind-function">
|
|
862
|
-
<a href="modules.html#mapNetworkErrorToClientError" class="tsd-kind-icon">map<wbr>Network<wbr>Error<wbr>ToClient<wbr>Error</a>
|
|
863
|
-
</li>
|
|
864
|
-
</ul>
|
|
865
|
-
</nav>
|
|
866
|
-
</div>
|
|
867
|
-
</div>
|
|
868
|
-
</div>
|
|
869
|
-
<footer class="with-border-bottom">
|
|
870
|
-
<div class="container">
|
|
871
|
-
<h2>Legend</h2>
|
|
872
|
-
<div class="tsd-legend-group">
|
|
873
|
-
<ul class="tsd-legend">
|
|
874
|
-
<li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li>
|
|
875
|
-
<li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li>
|
|
876
|
-
<li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li>
|
|
877
|
-
</ul>
|
|
878
|
-
<ul class="tsd-legend">
|
|
879
|
-
<li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li>
|
|
880
|
-
<li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li>
|
|
881
|
-
</ul>
|
|
882
|
-
<ul class="tsd-legend">
|
|
883
|
-
<li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li>
|
|
884
|
-
<li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li>
|
|
885
|
-
</ul>
|
|
886
|
-
</div>
|
|
887
|
-
</div>
|
|
888
|
-
</footer>
|
|
889
|
-
<div class="container tsd-generator">
|
|
890
|
-
<p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p>
|
|
891
|
-
</div>
|
|
892
|
-
<div class="overlay"></div>
|
|
893
|
-
<script src="assets/js/main.js"></script>
|
|
894
|
-
</body>
|
|
895
|
-
</html>
|
|
1
|
+
<!DOCTYPE html><html class="default no-js"><head><meta charSet="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><title>@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"><h1>@sudoplatform/sudo-common</h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><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>Enumerations</h3><ul class="tsd-index-list"><li class="tsd-kind-enum"><a href="enums/CachePolicy.html" class="tsd-kind-icon">Cache<wbr/>Policy</a></li><li class="tsd-kind-enum"><a href="enums/EncryptionAlgorithm.html" class="tsd-kind-icon">Encryption<wbr/>Algorithm</a></li><li class="tsd-kind-enum"><a href="enums/KeyArchiveKeyType.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/KeyDataKeyFormat.html" class="tsd-kind-icon">Key<wbr/>Data<wbr/>Key<wbr/>Format</a></li><li class="tsd-kind-enum"><a href="enums/KeyDataKeyType.html" class="tsd-kind-icon">Key<wbr/>Data<wbr/>Key<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/ListOperationResultStatus.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Result<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/PublicKeyFormat.html" class="tsd-kind-icon">Public<wbr/>Key<wbr/>Format</a></li></ul></section><section class="tsd-index-section "><h3>Classes</h3><ul class="tsd-index-list"><li class="tsd-kind-class"><a href="classes/AccountLockedError.html" class="tsd-kind-icon">Account<wbr/>Locked<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/AuthenticationError.html" class="tsd-kind-icon">Authentication<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/Base64.html" class="tsd-kind-icon">Base64</a></li><li class="tsd-kind-class"><a href="classes/Buffer.html" class="tsd-kind-icon">Buffer</a></li><li class="tsd-kind-class"><a href="classes/ConfigurationNotSetError.html" class="tsd-kind-icon">Configuration<wbr/>Not<wbr/>Set<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/ConfigurationSetNotFoundError.html" class="tsd-kind-icon">Configuration<wbr/>Set<wbr/>Not<wbr/>Found<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/DecodeError.html" class="tsd-kind-icon">Decode<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/DefaultConfigurationManager.html" class="tsd-kind-icon">Default<wbr/>Configuration<wbr/>Manager</a></li><li class="tsd-kind-class"><a href="classes/DefaultLogger.html" class="tsd-kind-icon">Default<wbr/>Logger</a></li><li class="tsd-kind-class"><a href="classes/DefaultSudoKeyArchive.html" class="tsd-kind-icon">Default<wbr/>Sudo<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-class"><a href="classes/DefaultSudoKeyManager.html" class="tsd-kind-icon">Default<wbr/>Sudo<wbr/>Key<wbr/>Manager</a></li><li class="tsd-kind-class"><a href="classes/FatalError.html" class="tsd-kind-icon">Fatal<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/IllegalArgumentError.html" class="tsd-kind-icon">Illegal<wbr/>Argument<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/IllegalStateError.html" class="tsd-kind-icon">Illegal<wbr/>State<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/InsufficientEntitlementsError.html" class="tsd-kind-icon">Insufficient<wbr/>Entitlements<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/InvalidOwnershipProofError.html" class="tsd-kind-icon">Invalid<wbr/>Ownership<wbr/>Proof<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/InvalidTokenError.html" class="tsd-kind-icon">Invalid<wbr/>Token<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveDecodingError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Decoding<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveIncorrectPasswordError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Incorrect<wbr/>Password<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveMissingError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Missing<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveNoPasswordRequiredError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>No<wbr/>Password<wbr/>Required<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchivePasswordRequiredError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Password<wbr/>Required<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveTypeError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Type<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveUnknownKeyTypeError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Unknown<wbr/>Key<wbr/>Type<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveVersionError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Version<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyNotFoundError.html" class="tsd-kind-icon">Key<wbr/>Not<wbr/>Found<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyStoreNotExportableError.html" class="tsd-kind-icon">Key<wbr/>Store<wbr/>Not<wbr/>Exportable<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/LimitExceededError.html" class="tsd-kind-icon">Limit<wbr/>Exceeded<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NoEntitlementsError.html" class="tsd-kind-icon">No<wbr/>Entitlements<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NotAuthorizedError.html" class="tsd-kind-icon">Not<wbr/>Authorized<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NotRegisteredError.html" class="tsd-kind-icon">Not<wbr/>Registered<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NotSignedInError.html" class="tsd-kind-icon">Not<wbr/>Signed<wbr/>In<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/OperationNotImplementedError.html" class="tsd-kind-icon">Operation<wbr/>Not<wbr/>Implemented<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/RegisterError.html" class="tsd-kind-icon">Register<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/RequestFailedError.html" class="tsd-kind-icon">Request<wbr/>Failed<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/ServiceError.html" class="tsd-kind-icon">Service<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/SignOutError.html" class="tsd-kind-icon">Sign<wbr/>Out<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/SudoCryptoProviderDefaults.html" class="tsd-kind-icon">Sudo<wbr/>Crypto<wbr/>Provider<wbr/>Defaults</a></li><li class="tsd-kind-class"><a href="classes/UnknownGraphQLError.html" class="tsd-kind-icon">Unknown<wbr/>GraphQLError</a></li><li class="tsd-kind-class"><a href="classes/UnrecognizedAlgorithmError.html" class="tsd-kind-icon">Unrecognized<wbr/>Algorithm<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/UserNotConfirmedError.html" class="tsd-kind-icon">User<wbr/>Not<wbr/>Confirmed<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/VersionMismatchError.html" class="tsd-kind-icon">Version<wbr/>Mismatch<wbr/>Error</a></li></ul></section><section class="tsd-index-section "><h3>Interfaces</h3><ul class="tsd-index-list"><li class="tsd-kind-interface"><a href="interfaces/AsymmetricEncryptionOptions.html" class="tsd-kind-icon">Asymmetric<wbr/>Encryption<wbr/>Options</a></li><li class="tsd-kind-interface"><a href="interfaces/BooleanFilter.html" class="tsd-kind-icon">Boolean<wbr/>Filter</a></li><li class="tsd-kind-interface"><a href="interfaces/ConfigurationManager.html" class="tsd-kind-icon">Configuration<wbr/>Manager</a></li><li class="tsd-kind-interface"><a href="interfaces/KeyData.html" class="tsd-kind-icon">Key<wbr/>Data</a></li><li class="tsd-kind-interface"><a href="interfaces/ListOperationFailureResult.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Failure<wbr/>Result</a></li><li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOperationPartialResult.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Partial<wbr/>Result</a></li><li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOperationSuccessResult.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Success<wbr/>Result</a></li><li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOutput.html" class="tsd-kind-icon">List<wbr/>Output</a></li><li class="tsd-kind-interface"><a href="interfaces/Logger.html" class="tsd-kind-icon">Logger</a></li><li class="tsd-kind-interface"><a href="interfaces/Owner.html" class="tsd-kind-icon">Owner</a></li><li class="tsd-kind-interface"><a href="interfaces/PublicKey.html" class="tsd-kind-icon">Public<wbr/>Key</a></li><li class="tsd-kind-interface"><a href="interfaces/StringFilter.html" class="tsd-kind-icon">String<wbr/>Filter</a></li><li class="tsd-kind-interface"><a href="interfaces/SudoCryptoProvider.html" class="tsd-kind-icon">Sudo<wbr/>Crypto<wbr/>Provider</a></li><li class="tsd-kind-interface"><a href="interfaces/SudoKeyArchive.html" class="tsd-kind-icon">Sudo<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-interface"><a href="interfaces/SudoKeyManager.html" class="tsd-kind-icon">Sudo<wbr/>Key<wbr/>Manager</a></li><li class="tsd-kind-interface"><a href="interfaces/SymmetricEncryptionOptions.html" class="tsd-kind-icon">Symmetric<wbr/>Encryption<wbr/>Options</a></li></ul></section><section class="tsd-index-section "><h3>Type aliases</h3><ul class="tsd-index-list"><li class="tsd-kind-type-alias"><a href="modules.html#AppSyncError" class="tsd-kind-icon">App<wbr/>Sync<wbr/>Error</a></li><li class="tsd-kind-type-alias"><a href="modules.html#AppSyncNetworkError" class="tsd-kind-icon">App<wbr/>Sync<wbr/>Network<wbr/>Error</a></li><li class="tsd-kind-type-alias"><a href="modules.html#InsecureKeyArchive" class="tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-type-alias"><a href="modules.html#KeyArchive" class="tsd-kind-icon">Key<wbr/>Archive</a></li><li class="tsd-kind-type-alias"><a href="modules.html#KeyArchiveKeyInfo" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info</a></li><li class="tsd-kind-type-alias"><a href="modules.html#KeyArchiveKeyInfoDecoded" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Decoded</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#ListOperationResult" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Result</a></li><li class="tsd-kind-type-alias"><a href="modules.html#SecureKeyArchive" class="tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#Subset" class="tsd-kind-icon">Subset</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UnrecognizedKeyArchive" class="tsd-kind-icon">Unrecognized<wbr/>Key<wbr/>Archive</a></li></ul></section><section class="tsd-index-section "><h3>Variables</h3><ul class="tsd-index-list"><li class="tsd-kind-variable"><a href="modules.html#CURRENT_ARCHIVE_VERSION" class="tsd-kind-icon">CURRENT_<wbr/>ARCHIVE_<wbr/>VERSION</a></li><li class="tsd-kind-variable"><a href="modules.html#InsecureKeyArchiveCodec" class="tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#InsecureKeyArchiveType" class="tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<wbr/>Type</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyInfoArrayCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Array<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyInfoCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyTypeCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#SecureKeyArchiveCodec" class="tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#SecureKeyArchiveType" class="tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<wbr/>Type</a></li><li class="tsd-kind-variable"><a href="modules.html#UnrecognizedKeyArchiveCodec" class="tsd-kind-icon">Unrecognized<wbr/>Key<wbr/>Archive<wbr/>Codec</a></li></ul></section><section class="tsd-index-section "><h3>Functions</h3><ul class="tsd-index-list"><li class="tsd-kind-function"><a href="modules.html#isAppSyncNetworkError" class="tsd-kind-icon">is<wbr/>App<wbr/>Sync<wbr/>Network<wbr/>Error</a></li><li class="tsd-kind-function"><a href="modules.html#isInsecureKeyArchive" class="tsd-kind-icon">is<wbr/>Insecure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-function"><a href="modules.html#isSecureKeyArchive" class="tsd-kind-icon">is<wbr/>Secure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-function"><a href="modules.html#isUnrecognizedKeyArchive" class="tsd-kind-icon">is<wbr/>Unrecognized<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-function"><a href="modules.html#keyArchiveInfoFromKeyData" class="tsd-kind-icon">key<wbr/>Archive<wbr/>Info<wbr/>From<wbr/>Key<wbr/>Data</a></li><li class="tsd-kind-function"><a href="modules.html#keyArchiveKeyTypeFromKeyDataKeyType" class="tsd-kind-icon">key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>From<wbr/>Key<wbr/>Data<wbr/>Key<wbr/>Type</a></li><li class="tsd-kind-function"><a href="modules.html#mapGraphQLToClientError" class="tsd-kind-icon">map<wbr/>GraphQLTo<wbr/>Client<wbr/>Error</a></li><li class="tsd-kind-function"><a href="modules.html#mapNetworkErrorToClientError" class="tsd-kind-icon">map<wbr/>Network<wbr/>Error<wbr/>To<wbr/>Client<wbr/>Error</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Type aliases</h2><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="AppSyncError" class="tsd-anchor"></a><h3>App<wbr/>Sync<wbr/>Error</h3><div class="tsd-signature tsd-kind-icon">App<wbr/>Sync<wbr/>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">GraphQLError</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>errorType<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">null</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in src/errors/error.ts:4</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="AppSyncNetworkError" class="tsd-anchor"></a><h3>App<wbr/>Sync<wbr/>Network<wbr/>Error</h3><div class="tsd-signature tsd-kind-icon">App<wbr/>Sync<wbr/>Network<wbr/>Error<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>networkError<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>statusCode<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in src/errors/error.ts:7</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="InsecureKeyArchive" class="tsd-anchor"></a><h3>Insecure<wbr/>Key<wbr/>Archive</h3><div class="tsd-signature tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#InsecureKeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">InsecureKeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:37</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="KeyArchive" class="tsd-anchor"></a><h3>Key<wbr/>Archive</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#KeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">KeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:102</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="KeyArchiveKeyInfo" class="tsd-anchor"></a><h3>Key<wbr/>Archive<wbr/>Key<wbr/>Info</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#KeyArchiveKeyInfoCodec" class="tsd-signature-type" data-tsd-kind="Variable">KeyArchiveKeyInfoCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyInfo.ts:47</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
2
|
+
<p>Record of key in a key archive</p>
|
|
3
|
+
</div><dl class="tsd-comment-tags"><dt>property</dt><dd><p>NameSpace
|
|
4
|
+
NameSpace to which the key belongs.</p>
|
|
5
|
+
</dd><dt>property</dt><dd><p>Name
|
|
6
|
+
Name of the key within the namespace</p>
|
|
7
|
+
</dd><dt>property</dt><dd><p>Type
|
|
8
|
+
Type of the key (also implies key format)</p>
|
|
9
|
+
</dd><dt>property</dt><dd><p>Data
|
|
10
|
+
Base64 encoded key data</p>
|
|
11
|
+
</dd><dt>property</dt><dd><p>Synchronizable
|
|
12
|
+
Whether key should be synced out of band of archiving.
|
|
13
|
+
For future use - always false for now.</p>
|
|
14
|
+
</dd><dt>property</dt><dd><p>Exportable
|
|
15
|
+
Whether restored key should be exportable. Always true on archive.
|
|
16
|
+
For future use on unarchive.</p>
|
|
17
|
+
</dd></dl></div></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="KeyArchiveKeyInfoDecoded" class="tsd-anchor"></a><h3>Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Decoded</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Decoded<span class="tsd-signature-symbol">:</span> <a href="modules.html#KeyArchiveKeyInfo" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchiveKeyInfo</a><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-symbol">{ </span>Decoded<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol"> }</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:127</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-has-type-parameter"><a name="ListOperationResult" class="tsd-anchor"></a><h3>List<wbr/>Operation<wbr/>Result</h3><div class="tsd-signature tsd-kind-icon">List<wbr/>Operation<wbr/>Result<T, S><span class="tsd-signature-symbol">:</span> <a href="interfaces/ListOperationSuccessResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListOperationSuccessResult</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> | </span><a href="interfaces/ListOperationFailureResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListOperationFailureResult</a><span class="tsd-signature-symbol"> | </span><a href="interfaces/ListOperationPartialResult.html" class="tsd-signature-type" data-tsd-kind="Interface">ListOperationPartialResult</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">S</span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/types/types.ts:125</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
18
|
+
<p>Result of a list operation. T is the expected item type and
|
|
19
|
+
S is a subset of T's properties that won't be present if the
|
|
20
|
+
additional processing after the item has been fetched fails.</p>
|
|
21
|
+
</div></div><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>T</h4></li><li><h4>S<span class="tsd-signature-symbol">: </span><a href="modules.html#Subset" class="tsd-signature-type" data-tsd-kind="Type alias">Subset</a><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">S</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">></span> = <span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="SecureKeyArchive" class="tsd-anchor"></a><h3>Secure<wbr/>Key<wbr/>Archive</h3><div class="tsd-signature tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#SecureKeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">SecureKeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:90</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-type-alias tsd-has-type-parameter"><a name="Subset" class="tsd-anchor"></a><h3>Subset</h3><div class="tsd-signature tsd-kind-icon">Subset<T, S><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Pick</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type" data-tsd-kind="Type parameter">S</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">Extract</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">S</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> & </span><span class="tsd-signature-type">Partial</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Record</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">Exclude</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">T</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-symbol">keyof </span><span class="tsd-signature-type" data-tsd-kind="Type parameter">S</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">never</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/types/types.ts:52</li></ul></aside><h4 class="tsd-type-parameters-title">Type parameters</h4><ul class="tsd-type-parameters"><li><h4>T</h4></li><li><h4>S</h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-type-alias"><a name="UnrecognizedKeyArchive" class="tsd-anchor"></a><h3>Unrecognized<wbr/>Key<wbr/>Archive</h3><div class="tsd-signature tsd-kind-icon">Unrecognized<wbr/>Key<wbr/>Archive<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">t.TypeOf</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">typeof </span><a href="modules.html#UnrecognizedKeyArchiveCodec" class="tsd-signature-type" data-tsd-kind="Variable">UnrecognizedKeyArchiveCodec</a><span class="tsd-signature-symbol">></span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:82</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Variables</h2><section class="tsd-panel tsd-member tsd-kind-variable"><a name="CURRENT_ARCHIVE_VERSION" class="tsd-anchor"></a><h3>CURRENT_<wbr/>ARCHIVE_<wbr/>VERSION</h3><div class="tsd-signature tsd-kind-icon">CURRENT_<wbr/>ARCHIVE_<wbr/>VERSION<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> = 3</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:4</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="InsecureKeyArchiveCodec" class="tsd-anchor"></a><h3>Insecure<wbr/>Key<wbr/>Archive<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:33</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="InsecureKeyArchiveType" class="tsd-anchor"></a><h3>Insecure<wbr/>Key<wbr/>Archive<wbr/>Type</h3><div class="tsd-signature tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol"> = 'Insecure'</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:18</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="KeyArchiveCodec" class="tsd-anchor"></a><h3>Key<wbr/>Archive<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">UnionC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:92</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="KeyArchiveKeyInfoArrayCodec" class="tsd-anchor"></a><h3>Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Array<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Array<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">ArrayC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyInfo.ts:19</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="KeyArchiveKeyInfoCodec" class="tsd-anchor"></a><h3>Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Exportable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>NameSpace<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Synchronizable<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">BooleanC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyInfo.ts:14</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="KeyArchiveKeyTypeCodec" class="tsd-anchor"></a><h3>Key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Type</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><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">unknown</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyType.ts:42</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="SecureKeyArchiveCodec" class="tsd-anchor"></a><h3>Secure<wbr/>Key<wbr/>Archive<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">TypeC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">RecordC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">, </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">LiteralC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:86</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="SecureKeyArchiveType" class="tsd-anchor"></a><h3>Secure<wbr/>Key<wbr/>Archive<wbr/>Type</h3><div class="tsd-signature tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<wbr/>Type<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol"> = 'Secure'</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:39</li></ul></aside></section><section class="tsd-panel tsd-member tsd-kind-variable"><a name="UnrecognizedKeyArchiveCodec" class="tsd-anchor"></a><h3>Unrecognized<wbr/>Key<wbr/>Archive<wbr/>Codec</h3><div class="tsd-signature tsd-kind-icon">Unrecognized<wbr/>Key<wbr/>Archive<wbr/>Codec<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">PartialC</span><span class="tsd-signature-symbol"><</span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">StringC</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">NumberC</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">></span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/keyArchive.ts:79</li></ul></aside></section></section><section class="tsd-panel-group tsd-member-group "><h2>Functions</h2><section class="tsd-panel tsd-member tsd-kind-function"><a name="isAppSyncNetworkError" class="tsd-anchor"></a><h3>is<wbr/>App<wbr/>Sync<wbr/>Network<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">is<wbr/>App<wbr/>Sync<wbr/>Network<wbr/>Error<span class="tsd-signature-symbol">(</span>u<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">u</span><span class="tsd-signature-symbol"> is </span><a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/errors/error.ts:13</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>u: <span class="tsd-signature-type">Error</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">u</span><span class="tsd-signature-symbol"> is </span><a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="isInsecureKeyArchive" class="tsd-anchor"></a><h3>is<wbr/>Insecure<wbr/>Key<wbr/>Archive</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">is<wbr/>Insecure<wbr/>Key<wbr/>Archive<span class="tsd-signature-symbol">(</span>keyArchive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</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/keyArchive.ts:110</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>keyArchive: <span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="isSecureKeyArchive" class="tsd-anchor"></a><h3>is<wbr/>Secure<wbr/>Key<wbr/>Archive</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">is<wbr/>Secure<wbr/>Key<wbr/>Archive<span class="tsd-signature-symbol">(</span>keyArchive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</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/keyArchive.ts:104</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>keyArchive: <span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="isUnrecognizedKeyArchive" class="tsd-anchor"></a><h3>is<wbr/>Unrecognized<wbr/>Key<wbr/>Archive</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">is<wbr/>Unrecognized<wbr/>Key<wbr/>Archive<span class="tsd-signature-symbol">(</span>keyArchive<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</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/keyArchive.ts:116</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>keyArchive: <span class="tsd-signature-symbol">{ </span>IV<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Keys<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Rounds<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">; </span>Salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Secure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Keys<span class="tsd-signature-symbol">: </span>{ Name: string; Type: KeyArchiveKeyType; Data: string; Synchronizable: boolean; Exportable: boolean; NameSpace: string; }<span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">; </span>MetaInfo<span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol">; </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">"Insecure"</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">3</span><span class="tsd-signature-symbol"> }</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h5></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">keyArchive</span><span class="tsd-signature-symbol"> is </span><span class="tsd-signature-symbol">{ </span>Type<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span>Version<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol"> }</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="keyArchiveInfoFromKeyData" class="tsd-anchor"></a><h3>key<wbr/>Archive<wbr/>Info<wbr/>From<wbr/>Key<wbr/>Data</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">key<wbr/>Archive<wbr/>Info<wbr/>From<wbr/>Key<wbr/>Data<span class="tsd-signature-symbol">(</span>keyData<span class="tsd-signature-symbol">: </span><a href="interfaces/KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="modules.html#KeyArchiveKeyInfoDecoded" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchiveKeyInfoDecoded</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:564</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>keyData: <a href="interfaces/KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="modules.html#KeyArchiveKeyInfoDecoded" class="tsd-signature-type" data-tsd-kind="Type alias">KeyArchiveKeyInfoDecoded</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="keyArchiveKeyTypeFromKeyDataKeyType" class="tsd-anchor"></a><h3>key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>From<wbr/>Key<wbr/>Data<wbr/>Key<wbr/>Type</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>From<wbr/>Key<wbr/>Data<wbr/>Key<wbr/>Type<span class="tsd-signature-symbol">(</span>keyDataKeyType<span class="tsd-signature-symbol">: </span><a href="enums/KeyDataKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyDataKeyType</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyArchive/sudoKeyArchive.ts:578</li></ul></aside><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>keyDataKeyType: <a href="enums/KeyDataKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyDataKeyType</a></h5></li></ul><h4 class="tsd-returns-title">Returns <a href="enums/KeyArchiveKeyType.html" class="tsd-signature-type" data-tsd-kind="Enumeration">KeyArchiveKeyType</a></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="mapGraphQLToClientError" class="tsd-anchor"></a><h3>map<wbr/>GraphQLTo<wbr/>Client<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">map<wbr/>GraphQLTo<wbr/>Client<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><a href="modules.html#AppSyncError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/errors/error.ts:419</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
22
|
+
<p>Helper method for mapping an App Sync error to common errors.</p>
|
|
23
|
+
</div><div><p>For consumption by other Sudo Platform SDKs</p>
|
|
24
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <a href="modules.html#AppSyncError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncError</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
25
|
+
<p>The App Sync error to map</p>
|
|
26
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Error</span></h4><div><p>The mapped error</p>
|
|
27
|
+
</div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-function"><a name="mapNetworkErrorToClientError" class="tsd-anchor"></a><h3>map<wbr/>Network<wbr/>Error<wbr/>To<wbr/>Client<wbr/>Error</h3><ul class="tsd-signatures tsd-kind-function"><li class="tsd-signature tsd-kind-icon">map<wbr/>Network<wbr/>Error<wbr/>To<wbr/>Client<wbr/>Error<span class="tsd-signature-symbol">(</span>error<span class="tsd-signature-symbol">: </span><a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Error</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/errors/error.ts:446</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
|
|
28
|
+
<p>Call this in error handling when testing with isAppSyncNetworkError on
|
|
29
|
+
a caught error from an AppSync operation returns true.</p>
|
|
30
|
+
</div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>error: <a href="modules.html#AppSyncNetworkError" class="tsd-signature-type" data-tsd-kind="Type alias">AppSyncNetworkError</a></h5><div class="tsd-comment tsd-typography"><div class="lead">
|
|
31
|
+
<p>AppSyncNetworkError to map</p>
|
|
32
|
+
</div></div></li></ul><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Error</span></h4><div><p>Mapped error</p>
|
|
33
|
+
</div></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class="current"><a href="modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="tsd-kind-enum"><a href="enums/CachePolicy.html" class="tsd-kind-icon">Cache<wbr/>Policy</a></li><li class="tsd-kind-enum"><a href="enums/EncryptionAlgorithm.html" class="tsd-kind-icon">Encryption<wbr/>Algorithm</a></li><li class="tsd-kind-enum"><a href="enums/KeyArchiveKeyType.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/KeyDataKeyFormat.html" class="tsd-kind-icon">Key<wbr/>Data<wbr/>Key<wbr/>Format</a></li><li class="tsd-kind-enum"><a href="enums/KeyDataKeyType.html" class="tsd-kind-icon">Key<wbr/>Data<wbr/>Key<wbr/>Type</a></li><li class="tsd-kind-enum"><a href="enums/ListOperationResultStatus.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Result<wbr/>Status</a></li><li class="tsd-kind-enum"><a href="enums/PublicKeyFormat.html" class="tsd-kind-icon">Public<wbr/>Key<wbr/>Format</a></li><li class="tsd-kind-class"><a href="classes/AccountLockedError.html" class="tsd-kind-icon">Account<wbr/>Locked<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/AuthenticationError.html" class="tsd-kind-icon">Authentication<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/Base64.html" class="tsd-kind-icon">Base64</a></li><li class="tsd-kind-class"><a href="classes/Buffer.html" class="tsd-kind-icon">Buffer</a></li><li class="tsd-kind-class"><a href="classes/ConfigurationNotSetError.html" class="tsd-kind-icon">Configuration<wbr/>Not<wbr/>Set<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/ConfigurationSetNotFoundError.html" class="tsd-kind-icon">Configuration<wbr/>Set<wbr/>Not<wbr/>Found<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/DecodeError.html" class="tsd-kind-icon">Decode<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/DefaultConfigurationManager.html" class="tsd-kind-icon">Default<wbr/>Configuration<wbr/>Manager</a></li><li class="tsd-kind-class"><a href="classes/DefaultLogger.html" class="tsd-kind-icon">Default<wbr/>Logger</a></li><li class="tsd-kind-class"><a href="classes/DefaultSudoKeyArchive.html" class="tsd-kind-icon">Default<wbr/>Sudo<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-class"><a href="classes/DefaultSudoKeyManager.html" class="tsd-kind-icon">Default<wbr/>Sudo<wbr/>Key<wbr/>Manager</a></li><li class="tsd-kind-class"><a href="classes/FatalError.html" class="tsd-kind-icon">Fatal<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/IllegalArgumentError.html" class="tsd-kind-icon">Illegal<wbr/>Argument<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/IllegalStateError.html" class="tsd-kind-icon">Illegal<wbr/>State<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/InsufficientEntitlementsError.html" class="tsd-kind-icon">Insufficient<wbr/>Entitlements<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/InvalidOwnershipProofError.html" class="tsd-kind-icon">Invalid<wbr/>Ownership<wbr/>Proof<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/InvalidTokenError.html" class="tsd-kind-icon">Invalid<wbr/>Token<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveDecodingError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Decoding<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveIncorrectPasswordError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Incorrect<wbr/>Password<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveMissingError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Missing<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveNoPasswordRequiredError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>No<wbr/>Password<wbr/>Required<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchivePasswordRequiredError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Password<wbr/>Required<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveTypeError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Type<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveUnknownKeyTypeError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Unknown<wbr/>Key<wbr/>Type<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyArchiveVersionError.html" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Version<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyNotFoundError.html" class="tsd-kind-icon">Key<wbr/>Not<wbr/>Found<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/KeyStoreNotExportableError.html" class="tsd-kind-icon">Key<wbr/>Store<wbr/>Not<wbr/>Exportable<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/LimitExceededError.html" class="tsd-kind-icon">Limit<wbr/>Exceeded<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NoEntitlementsError.html" class="tsd-kind-icon">No<wbr/>Entitlements<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NotAuthorizedError.html" class="tsd-kind-icon">Not<wbr/>Authorized<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NotRegisteredError.html" class="tsd-kind-icon">Not<wbr/>Registered<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/NotSignedInError.html" class="tsd-kind-icon">Not<wbr/>Signed<wbr/>In<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/OperationNotImplementedError.html" class="tsd-kind-icon">Operation<wbr/>Not<wbr/>Implemented<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/RegisterError.html" class="tsd-kind-icon">Register<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/RequestFailedError.html" class="tsd-kind-icon">Request<wbr/>Failed<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/ServiceError.html" class="tsd-kind-icon">Service<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/SignOutError.html" class="tsd-kind-icon">Sign<wbr/>Out<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/SudoCryptoProviderDefaults.html" class="tsd-kind-icon">Sudo<wbr/>Crypto<wbr/>Provider<wbr/>Defaults</a></li><li class="tsd-kind-class"><a href="classes/UnknownGraphQLError.html" class="tsd-kind-icon">Unknown<wbr/>GraphQLError</a></li><li class="tsd-kind-class"><a href="classes/UnrecognizedAlgorithmError.html" class="tsd-kind-icon">Unrecognized<wbr/>Algorithm<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/UserNotConfirmedError.html" class="tsd-kind-icon">User<wbr/>Not<wbr/>Confirmed<wbr/>Error</a></li><li class="tsd-kind-class"><a href="classes/VersionMismatchError.html" class="tsd-kind-icon">Version<wbr/>Mismatch<wbr/>Error</a></li><li class="tsd-kind-interface"><a href="interfaces/AsymmetricEncryptionOptions.html" class="tsd-kind-icon">Asymmetric<wbr/>Encryption<wbr/>Options</a></li><li class="tsd-kind-interface"><a href="interfaces/BooleanFilter.html" class="tsd-kind-icon">Boolean<wbr/>Filter</a></li><li class="tsd-kind-interface"><a href="interfaces/ConfigurationManager.html" class="tsd-kind-icon">Configuration<wbr/>Manager</a></li><li class="tsd-kind-interface"><a href="interfaces/KeyData.html" class="tsd-kind-icon">Key<wbr/>Data</a></li><li class="tsd-kind-interface"><a href="interfaces/ListOperationFailureResult.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Failure<wbr/>Result</a></li><li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOperationPartialResult.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Partial<wbr/>Result</a></li><li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOperationSuccessResult.html" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Success<wbr/>Result</a></li><li class="tsd-kind-interface tsd-has-type-parameter"><a href="interfaces/ListOutput.html" class="tsd-kind-icon">List<wbr/>Output</a></li><li class="tsd-kind-interface"><a href="interfaces/Logger.html" class="tsd-kind-icon">Logger</a></li><li class="tsd-kind-interface"><a href="interfaces/Owner.html" class="tsd-kind-icon">Owner</a></li><li class="tsd-kind-interface"><a href="interfaces/PublicKey.html" class="tsd-kind-icon">Public<wbr/>Key</a></li><li class="tsd-kind-interface"><a href="interfaces/StringFilter.html" class="tsd-kind-icon">String<wbr/>Filter</a></li><li class="tsd-kind-interface"><a href="interfaces/SudoCryptoProvider.html" class="tsd-kind-icon">Sudo<wbr/>Crypto<wbr/>Provider</a></li><li class="tsd-kind-interface"><a href="interfaces/SudoKeyArchive.html" class="tsd-kind-icon">Sudo<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-interface"><a href="interfaces/SudoKeyManager.html" class="tsd-kind-icon">Sudo<wbr/>Key<wbr/>Manager</a></li><li class="tsd-kind-interface"><a href="interfaces/SymmetricEncryptionOptions.html" class="tsd-kind-icon">Symmetric<wbr/>Encryption<wbr/>Options</a></li><li class="tsd-kind-type-alias"><a href="modules.html#AppSyncError" class="tsd-kind-icon">App<wbr/>Sync<wbr/>Error</a></li><li class="tsd-kind-type-alias"><a href="modules.html#AppSyncNetworkError" class="tsd-kind-icon">App<wbr/>Sync<wbr/>Network<wbr/>Error</a></li><li class="tsd-kind-type-alias"><a href="modules.html#InsecureKeyArchive" class="tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-type-alias"><a href="modules.html#KeyArchive" class="tsd-kind-icon">Key<wbr/>Archive</a></li><li class="tsd-kind-type-alias"><a href="modules.html#KeyArchiveKeyInfo" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info</a></li><li class="tsd-kind-type-alias"><a href="modules.html#KeyArchiveKeyInfoDecoded" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Decoded</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#ListOperationResult" class="tsd-kind-icon">List<wbr/>Operation<wbr/>Result</a></li><li class="tsd-kind-type-alias"><a href="modules.html#SecureKeyArchive" class="tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-type-alias tsd-has-type-parameter"><a href="modules.html#Subset" class="tsd-kind-icon">Subset</a></li><li class="tsd-kind-type-alias"><a href="modules.html#UnrecognizedKeyArchive" class="tsd-kind-icon">Unrecognized<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-variable"><a href="modules.html#CURRENT_ARCHIVE_VERSION" class="tsd-kind-icon">CURRENT_<wbr/>ARCHIVE_<wbr/>VERSION</a></li><li class="tsd-kind-variable"><a href="modules.html#InsecureKeyArchiveCodec" class="tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#InsecureKeyArchiveType" class="tsd-kind-icon">Insecure<wbr/>Key<wbr/>Archive<wbr/>Type</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyInfoArrayCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Array<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyInfoCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Info<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#KeyArchiveKeyTypeCodec" class="tsd-kind-icon">Key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#SecureKeyArchiveCodec" class="tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-variable"><a href="modules.html#SecureKeyArchiveType" class="tsd-kind-icon">Secure<wbr/>Key<wbr/>Archive<wbr/>Type</a></li><li class="tsd-kind-variable"><a href="modules.html#UnrecognizedKeyArchiveCodec" class="tsd-kind-icon">Unrecognized<wbr/>Key<wbr/>Archive<wbr/>Codec</a></li><li class="tsd-kind-function"><a href="modules.html#isAppSyncNetworkError" class="tsd-kind-icon">is<wbr/>App<wbr/>Sync<wbr/>Network<wbr/>Error</a></li><li class="tsd-kind-function"><a href="modules.html#isInsecureKeyArchive" class="tsd-kind-icon">is<wbr/>Insecure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-function"><a href="modules.html#isSecureKeyArchive" class="tsd-kind-icon">is<wbr/>Secure<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-function"><a href="modules.html#isUnrecognizedKeyArchive" class="tsd-kind-icon">is<wbr/>Unrecognized<wbr/>Key<wbr/>Archive</a></li><li class="tsd-kind-function"><a href="modules.html#keyArchiveInfoFromKeyData" class="tsd-kind-icon">key<wbr/>Archive<wbr/>Info<wbr/>From<wbr/>Key<wbr/>Data</a></li><li class="tsd-kind-function"><a href="modules.html#keyArchiveKeyTypeFromKeyDataKeyType" class="tsd-kind-icon">key<wbr/>Archive<wbr/>Key<wbr/>Type<wbr/>From<wbr/>Key<wbr/>Data<wbr/>Key<wbr/>Type</a></li><li class="tsd-kind-function"><a href="modules.html#mapGraphQLToClientError" class="tsd-kind-icon">map<wbr/>GraphQLTo<wbr/>Client<wbr/>Error</a></li><li class="tsd-kind-function"><a href="modules.html#mapNetworkErrorToClientError" class="tsd-kind-icon">map<wbr/>Network<wbr/>Error<wbr/>To<wbr/>Client<wbr/>Error</a></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>
|