@sudoplatform/sudo-common 7.1.2 → 7.1.3

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.
Files changed (310) hide show
  1. package/lib/configurationManager/defaultConfigurationManager.js +3 -5
  2. package/package.json +2 -3
  3. package/.babelrc +0 -10
  4. package/.eslintrc.js +0 -91
  5. package/.gitignore +0 -14
  6. package/.gitlab-ci.yml +0 -101
  7. package/.npmignore +0 -1
  8. package/.prettierignore +0 -3
  9. package/.prettierrc.js +0 -7
  10. package/.publisher.json +0 -7
  11. package/.vscode/settings.json +0 -5
  12. package/.yarn/releases/yarn-1.22.19.cjs +0 -147529
  13. package/.yarnrc +0 -5
  14. package/bin/outdated-with-suppression.sh +0 -203
  15. package/bin/suppress-audit.sh +0 -15
  16. package/bin/suppress-outdated.sh +0 -60
  17. package/bin/yarn-audit-with-suppression.sh +0 -19
  18. package/dependencies-report.json +0 -640
  19. package/docs/.nojekyll +0 -1
  20. package/docs/assets/highlight.css +0 -57
  21. package/docs/assets/main.js +0 -54
  22. package/docs/assets/search.js +0 -1
  23. package/docs/assets/style.css +0 -1224
  24. package/docs/assets/widgets.png +0 -0
  25. package/docs/assets/widgets@2x.png +0 -0
  26. package/docs/classes/AccountLockedError.html +0 -163
  27. package/docs/classes/AuthenticationError.html +0 -169
  28. package/docs/classes/Base64.html +0 -245
  29. package/docs/classes/Buffer.html +0 -158
  30. package/docs/classes/ConfigurationNotSetError.html +0 -164
  31. package/docs/classes/ConfigurationSetNotFoundError.html +0 -168
  32. package/docs/classes/DecodeError.html +0 -168
  33. package/docs/classes/DefaultConfigurationManager.html +0 -213
  34. package/docs/classes/DefaultLogger.html +0 -291
  35. package/docs/classes/DefaultSudoKeyArchive.html +0 -363
  36. package/docs/classes/DefaultSudoKeyManager.html +0 -814
  37. package/docs/classes/FatalError.html +0 -169
  38. package/docs/classes/IllegalArgumentError.html +0 -168
  39. package/docs/classes/IllegalStateError.html +0 -169
  40. package/docs/classes/InsufficientEntitlementsError.html +0 -164
  41. package/docs/classes/InvalidOwnershipProofError.html +0 -163
  42. package/docs/classes/InvalidTokenError.html +0 -163
  43. package/docs/classes/KeyArchiveDecodingError.html +0 -168
  44. package/docs/classes/KeyArchiveIncorrectPasswordError.html +0 -168
  45. package/docs/classes/KeyArchiveMissingError.html +0 -168
  46. package/docs/classes/KeyArchiveNoPasswordRequiredError.html +0 -168
  47. package/docs/classes/KeyArchivePasswordRequiredError.html +0 -168
  48. package/docs/classes/KeyArchiveTypeError.html +0 -168
  49. package/docs/classes/KeyArchiveUnknownKeyTypeError.html +0 -168
  50. package/docs/classes/KeyArchiveVersionError.html +0 -168
  51. package/docs/classes/KeyNotFoundError.html +0 -168
  52. package/docs/classes/KeyStoreNotExportableError.html +0 -168
  53. package/docs/classes/LimitExceededError.html +0 -164
  54. package/docs/classes/NoEntitlementsError.html +0 -163
  55. package/docs/classes/NotAuthorizedError.html +0 -169
  56. package/docs/classes/NotRegisteredError.html +0 -168
  57. package/docs/classes/NotSignedInError.html +0 -164
  58. package/docs/classes/OperationNotImplementedError.html +0 -168
  59. package/docs/classes/RegisterError.html +0 -169
  60. package/docs/classes/RequestFailedError.html +0 -189
  61. package/docs/classes/ServiceError.html +0 -170
  62. package/docs/classes/SignOutError.html +0 -168
  63. package/docs/classes/SudoCryptoProviderDefaults.html +0 -106
  64. package/docs/classes/UnknownGraphQLError.html +0 -169
  65. package/docs/classes/UnrecognizedAlgorithmError.html +0 -168
  66. package/docs/classes/UserNotConfirmedError.html +0 -164
  67. package/docs/classes/VersionMismatchError.html +0 -166
  68. package/docs/enums/CachePolicy.html +0 -72
  69. package/docs/enums/EncryptionAlgorithm.html +0 -80
  70. package/docs/enums/KeyArchiveKeyType.html +0 -86
  71. package/docs/enums/KeyDataKeyFormat.html +0 -92
  72. package/docs/enums/KeyDataKeyType.html +0 -85
  73. package/docs/enums/ListOperationResultStatus.html +0 -85
  74. package/docs/enums/PublicKeyFormat.html +0 -68
  75. package/docs/functions/isAppSyncNetworkError.html +0 -147
  76. package/docs/functions/isInsecureKeyArchive.html +0 -147
  77. package/docs/functions/isSecureKeyArchive.html +0 -147
  78. package/docs/functions/isUnrecognizedKeyArchive.html +0 -147
  79. package/docs/functions/keyArchiveInfoFromKeyData.html +0 -147
  80. package/docs/functions/keyArchiveKeyTypeFromKeyDataKeyType.html +0 -147
  81. package/docs/functions/mapGraphQLToClientError.html +0 -154
  82. package/docs/functions/mapNetworkErrorToClientError.html +0 -154
  83. package/docs/index.html +0 -146
  84. package/docs/interfaces/AsymmetricEncryptionOptions.html +0 -68
  85. package/docs/interfaces/BooleanFilter.html +0 -75
  86. package/docs/interfaces/ConfigurationManager.html +0 -200
  87. package/docs/interfaces/KeyData.html +0 -106
  88. package/docs/interfaces/ListOperationFailureResult.html +0 -76
  89. package/docs/interfaces/ListOperationPartialResult.html +0 -102
  90. package/docs/interfaces/ListOperationSuccessResult.html +0 -90
  91. package/docs/interfaces/ListOutput.html +0 -80
  92. package/docs/interfaces/Logger.html +0 -251
  93. package/docs/interfaces/Owner.html +0 -72
  94. package/docs/interfaces/PublicKey.html +0 -72
  95. package/docs/interfaces/ServiceCompatibilityInfo.html +0 -110
  96. package/docs/interfaces/StringFilter.html +0 -82
  97. package/docs/interfaces/SudoCryptoProvider.html +0 -865
  98. package/docs/interfaces/SudoKeyArchive.html +0 -257
  99. package/docs/interfaces/SudoKeyManager.html +0 -848
  100. package/docs/interfaces/SymmetricEncryptionOptions.html +0 -75
  101. package/docs/interfaces/ValidationResult.html +0 -83
  102. package/docs/modules.html +0 -248
  103. package/docs/types/AppSyncError.html +0 -138
  104. package/docs/types/AppSyncNetworkError.html +0 -138
  105. package/docs/types/InsecureKeyArchive.html +0 -138
  106. package/docs/types/KeyArchive.html +0 -138
  107. package/docs/types/KeyArchiveKeyInfo.html +0 -154
  108. package/docs/types/KeyArchiveKeyInfoDecoded.html +0 -138
  109. package/docs/types/ListOperationResult.html +0 -148
  110. package/docs/types/SecureKeyArchive.html +0 -138
  111. package/docs/types/Subset.html +0 -144
  112. package/docs/types/UnrecognizedKeyArchive.html +0 -138
  113. package/docs/variables/CURRENT_ARCHIVE_VERSION.html +0 -138
  114. package/docs/variables/InsecureKeyArchiveCodec.html +0 -138
  115. package/docs/variables/InsecureKeyArchiveType.html +0 -138
  116. package/docs/variables/KeyArchiveCodec.html +0 -138
  117. package/docs/variables/KeyArchiveKeyInfoArrayCodec.html +0 -138
  118. package/docs/variables/KeyArchiveKeyInfoCodec.html +0 -138
  119. package/docs/variables/KeyArchiveKeyTypeCodec.html +0 -138
  120. package/docs/variables/SecureKeyArchiveCodec.html +0 -138
  121. package/docs/variables/SecureKeyArchiveType.html +0 -138
  122. package/docs/variables/UnrecognizedKeyArchiveCodec.html +0 -138
  123. package/github/.babelrc +0 -10
  124. package/github/.eslintrc.js +0 -91
  125. package/github/.gitignore +0 -14
  126. package/github/.gitlab-ci.yml +0 -101
  127. package/github/.npmignore +0 -1
  128. package/github/.prettierignore +0 -3
  129. package/github/.prettierrc.js +0 -7
  130. package/github/.publisher.json +0 -7
  131. package/github/.vscode/settings.json +0 -5
  132. package/github/.yarn/releases/yarn-1.22.19.cjs +0 -147529
  133. package/github/.yarnrc +0 -5
  134. package/github/CHANGELOG.md +0 -51
  135. package/github/README.md +0 -8
  136. package/github/bin/outdated-with-suppression.sh +0 -203
  137. package/github/bin/suppress-audit.sh +0 -15
  138. package/github/bin/suppress-outdated.sh +0 -60
  139. package/github/bin/yarn-audit-with-suppression.sh +0 -19
  140. package/github/docs/.nojekyll +0 -1
  141. package/github/docs/assets/highlight.css +0 -57
  142. package/github/docs/assets/main.js +0 -54
  143. package/github/docs/assets/search.js +0 -1
  144. package/github/docs/assets/style.css +0 -1224
  145. package/github/docs/assets/widgets.png +0 -0
  146. package/github/docs/assets/widgets@2x.png +0 -0
  147. package/github/docs/classes/AccountLockedError.html +0 -163
  148. package/github/docs/classes/AuthenticationError.html +0 -169
  149. package/github/docs/classes/Base64.html +0 -245
  150. package/github/docs/classes/Buffer.html +0 -158
  151. package/github/docs/classes/ConfigurationNotSetError.html +0 -164
  152. package/github/docs/classes/ConfigurationSetNotFoundError.html +0 -168
  153. package/github/docs/classes/DecodeError.html +0 -168
  154. package/github/docs/classes/DefaultConfigurationManager.html +0 -213
  155. package/github/docs/classes/DefaultLogger.html +0 -291
  156. package/github/docs/classes/DefaultSudoKeyArchive.html +0 -363
  157. package/github/docs/classes/DefaultSudoKeyManager.html +0 -814
  158. package/github/docs/classes/FatalError.html +0 -169
  159. package/github/docs/classes/IllegalArgumentError.html +0 -168
  160. package/github/docs/classes/IllegalStateError.html +0 -169
  161. package/github/docs/classes/InsufficientEntitlementsError.html +0 -164
  162. package/github/docs/classes/InvalidOwnershipProofError.html +0 -163
  163. package/github/docs/classes/InvalidTokenError.html +0 -163
  164. package/github/docs/classes/KeyArchiveDecodingError.html +0 -168
  165. package/github/docs/classes/KeyArchiveIncorrectPasswordError.html +0 -168
  166. package/github/docs/classes/KeyArchiveMissingError.html +0 -168
  167. package/github/docs/classes/KeyArchiveNoPasswordRequiredError.html +0 -168
  168. package/github/docs/classes/KeyArchivePasswordRequiredError.html +0 -168
  169. package/github/docs/classes/KeyArchiveTypeError.html +0 -168
  170. package/github/docs/classes/KeyArchiveUnknownKeyTypeError.html +0 -168
  171. package/github/docs/classes/KeyArchiveVersionError.html +0 -168
  172. package/github/docs/classes/KeyNotFoundError.html +0 -168
  173. package/github/docs/classes/KeyStoreNotExportableError.html +0 -168
  174. package/github/docs/classes/LimitExceededError.html +0 -164
  175. package/github/docs/classes/NoEntitlementsError.html +0 -163
  176. package/github/docs/classes/NotAuthorizedError.html +0 -169
  177. package/github/docs/classes/NotRegisteredError.html +0 -168
  178. package/github/docs/classes/NotSignedInError.html +0 -164
  179. package/github/docs/classes/OperationNotImplementedError.html +0 -168
  180. package/github/docs/classes/RegisterError.html +0 -169
  181. package/github/docs/classes/RequestFailedError.html +0 -189
  182. package/github/docs/classes/ServiceError.html +0 -170
  183. package/github/docs/classes/SignOutError.html +0 -168
  184. package/github/docs/classes/SudoCryptoProviderDefaults.html +0 -106
  185. package/github/docs/classes/UnknownGraphQLError.html +0 -169
  186. package/github/docs/classes/UnrecognizedAlgorithmError.html +0 -168
  187. package/github/docs/classes/UserNotConfirmedError.html +0 -164
  188. package/github/docs/classes/VersionMismatchError.html +0 -166
  189. package/github/docs/enums/CachePolicy.html +0 -72
  190. package/github/docs/enums/EncryptionAlgorithm.html +0 -80
  191. package/github/docs/enums/KeyArchiveKeyType.html +0 -86
  192. package/github/docs/enums/KeyDataKeyFormat.html +0 -92
  193. package/github/docs/enums/KeyDataKeyType.html +0 -85
  194. package/github/docs/enums/ListOperationResultStatus.html +0 -85
  195. package/github/docs/enums/PublicKeyFormat.html +0 -68
  196. package/github/docs/functions/isAppSyncNetworkError.html +0 -147
  197. package/github/docs/functions/isInsecureKeyArchive.html +0 -147
  198. package/github/docs/functions/isSecureKeyArchive.html +0 -147
  199. package/github/docs/functions/isUnrecognizedKeyArchive.html +0 -147
  200. package/github/docs/functions/keyArchiveInfoFromKeyData.html +0 -147
  201. package/github/docs/functions/keyArchiveKeyTypeFromKeyDataKeyType.html +0 -147
  202. package/github/docs/functions/mapGraphQLToClientError.html +0 -154
  203. package/github/docs/functions/mapNetworkErrorToClientError.html +0 -154
  204. package/github/docs/index.html +0 -146
  205. package/github/docs/interfaces/AsymmetricEncryptionOptions.html +0 -68
  206. package/github/docs/interfaces/BooleanFilter.html +0 -75
  207. package/github/docs/interfaces/ConfigurationManager.html +0 -200
  208. package/github/docs/interfaces/KeyData.html +0 -106
  209. package/github/docs/interfaces/ListOperationFailureResult.html +0 -76
  210. package/github/docs/interfaces/ListOperationPartialResult.html +0 -102
  211. package/github/docs/interfaces/ListOperationSuccessResult.html +0 -90
  212. package/github/docs/interfaces/ListOutput.html +0 -80
  213. package/github/docs/interfaces/Logger.html +0 -251
  214. package/github/docs/interfaces/Owner.html +0 -72
  215. package/github/docs/interfaces/PublicKey.html +0 -72
  216. package/github/docs/interfaces/ServiceCompatibilityInfo.html +0 -110
  217. package/github/docs/interfaces/StringFilter.html +0 -82
  218. package/github/docs/interfaces/SudoCryptoProvider.html +0 -865
  219. package/github/docs/interfaces/SudoKeyArchive.html +0 -257
  220. package/github/docs/interfaces/SudoKeyManager.html +0 -848
  221. package/github/docs/interfaces/SymmetricEncryptionOptions.html +0 -75
  222. package/github/docs/interfaces/ValidationResult.html +0 -83
  223. package/github/docs/modules.html +0 -248
  224. package/github/docs/types/AppSyncError.html +0 -138
  225. package/github/docs/types/AppSyncNetworkError.html +0 -138
  226. package/github/docs/types/InsecureKeyArchive.html +0 -138
  227. package/github/docs/types/KeyArchive.html +0 -138
  228. package/github/docs/types/KeyArchiveKeyInfo.html +0 -154
  229. package/github/docs/types/KeyArchiveKeyInfoDecoded.html +0 -138
  230. package/github/docs/types/ListOperationResult.html +0 -148
  231. package/github/docs/types/SecureKeyArchive.html +0 -138
  232. package/github/docs/types/Subset.html +0 -144
  233. package/github/docs/types/UnrecognizedKeyArchive.html +0 -138
  234. package/github/docs/variables/CURRENT_ARCHIVE_VERSION.html +0 -138
  235. package/github/docs/variables/InsecureKeyArchiveCodec.html +0 -138
  236. package/github/docs/variables/InsecureKeyArchiveType.html +0 -138
  237. package/github/docs/variables/KeyArchiveCodec.html +0 -138
  238. package/github/docs/variables/KeyArchiveKeyInfoArrayCodec.html +0 -138
  239. package/github/docs/variables/KeyArchiveKeyInfoCodec.html +0 -138
  240. package/github/docs/variables/KeyArchiveKeyTypeCodec.html +0 -138
  241. package/github/docs/variables/SecureKeyArchiveCodec.html +0 -138
  242. package/github/docs/variables/SecureKeyArchiveType.html +0 -138
  243. package/github/docs/variables/UnrecognizedKeyArchiveCodec.html +0 -138
  244. package/github/jest.config.json +0 -14
  245. package/github/package.json +0 -91
  246. package/github/src/configurationManager/defaultConfigurationManager.ts +0 -281
  247. package/github/src/errors/error.ts +0 -469
  248. package/github/src/index.ts +0 -8
  249. package/github/src/logging/bunyanLogger.ts +0 -47
  250. package/github/src/logging/logger.ts +0 -164
  251. package/github/src/sudoKeyArchive/index.ts +0 -4
  252. package/github/src/sudoKeyArchive/keyArchive.ts +0 -120
  253. package/github/src/sudoKeyArchive/keyInfo.ts +0 -47
  254. package/github/src/sudoKeyArchive/keyType.ts +0 -50
  255. package/github/src/sudoKeyArchive/sudoKeyArchive.ts +0 -591
  256. package/github/src/sudoKeyManager/index.ts +0 -4
  257. package/github/src/sudoKeyManager/keyData.ts +0 -60
  258. package/github/src/sudoKeyManager/publicKey.ts +0 -9
  259. package/github/src/sudoKeyManager/sudoCryptoProvider.ts +0 -416
  260. package/github/src/sudoKeyManager/sudoKeyManager.ts +0 -609
  261. package/github/src/types/types.ts +0 -129
  262. package/github/src/utils/base64.ts +0 -75
  263. package/github/src/utils/buffer.ts +0 -39
  264. package/github/test/integration/defaultConfigurationManager.spec.ts +0 -85
  265. package/github/test/matchers.ts +0 -122
  266. package/github/test/unit/configurationManager/defaultConfigurationManager.spec.ts +0 -506
  267. package/github/test/unit/errors/error.spec.ts +0 -115
  268. package/github/test/unit/keyType.spec.ts +0 -54
  269. package/github/test/unit/logging/logger.spec.ts +0 -182
  270. package/github/test/unit/sudoKeyArchive.spec.ts +0 -1609
  271. package/github/test/unit/sudoKeyManager.spec.ts +0 -1045
  272. package/github/test/unit/utils/base64.spec.ts +0 -45
  273. package/github/test/unit/utils/buffer.spec.ts +0 -45
  274. package/github/test/unit/utils/listOperationResult.spec.ts +0 -84
  275. package/github/tsconfig.json +0 -20
  276. package/github/tsconfig.test.json +0 -7
  277. package/github/yarn.lock +0 -5922
  278. package/jest.config.json +0 -14
  279. package/src/configurationManager/defaultConfigurationManager.ts +0 -281
  280. package/src/errors/error.ts +0 -469
  281. package/src/index.ts +0 -8
  282. package/src/logging/bunyanLogger.ts +0 -47
  283. package/src/logging/logger.ts +0 -164
  284. package/src/sudoKeyArchive/index.ts +0 -4
  285. package/src/sudoKeyArchive/keyArchive.ts +0 -120
  286. package/src/sudoKeyArchive/keyInfo.ts +0 -47
  287. package/src/sudoKeyArchive/keyType.ts +0 -50
  288. package/src/sudoKeyArchive/sudoKeyArchive.ts +0 -591
  289. package/src/sudoKeyManager/index.ts +0 -4
  290. package/src/sudoKeyManager/keyData.ts +0 -60
  291. package/src/sudoKeyManager/publicKey.ts +0 -9
  292. package/src/sudoKeyManager/sudoCryptoProvider.ts +0 -416
  293. package/src/sudoKeyManager/sudoKeyManager.ts +0 -609
  294. package/src/types/types.ts +0 -129
  295. package/src/utils/base64.ts +0 -75
  296. package/src/utils/buffer.ts +0 -39
  297. package/test/integration/defaultConfigurationManager.spec.ts +0 -85
  298. package/test/matchers.ts +0 -122
  299. package/test/unit/configurationManager/defaultConfigurationManager.spec.ts +0 -506
  300. package/test/unit/errors/error.spec.ts +0 -115
  301. package/test/unit/keyType.spec.ts +0 -54
  302. package/test/unit/logging/logger.spec.ts +0 -182
  303. package/test/unit/sudoKeyArchive.spec.ts +0 -1609
  304. package/test/unit/sudoKeyManager.spec.ts +0 -1045
  305. package/test/unit/utils/base64.spec.ts +0 -45
  306. package/test/unit/utils/buffer.spec.ts +0 -45
  307. package/test/unit/utils/listOperationResult.spec.ts +0 -84
  308. package/tsconfig.json +0 -20
  309. package/tsconfig.test.json +0 -7
  310. package/yarn.lock +0 -5922
@@ -1,865 +0,0 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SudoCryptoProvider | @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><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os"</script><header class="tsd-page-toolbar">
2
- <div class="tsd-toolbar-contents container">
3
- <div class="table-cell" id="tsd-search" data-base="..">
4
- <div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M15.7824 13.833L12.6666 10.7177C12.5259 10.5771 12.3353 10.499 12.1353 10.499H11.6259C12.4884 9.39596 13.001 8.00859 13.001 6.49937C13.001 2.90909 10.0914 0 6.50048 0C2.90959 0 0 2.90909 0 6.49937C0 10.0896 2.90959 12.9987 6.50048 12.9987C8.00996 12.9987 9.39756 12.4863 10.5008 11.6239V12.1332C10.5008 12.3332 10.5789 12.5238 10.7195 12.6644L13.8354 15.7797C14.1292 16.0734 14.6042 16.0734 14.8948 15.7797L15.7793 14.8954C16.0731 14.6017 16.0731 14.1267 15.7824 13.833ZM6.50048 10.499C4.29094 10.499 2.50018 8.71165 2.50018 6.49937C2.50018 4.29021 4.28781 2.49976 6.50048 2.49976C8.71001 2.49976 10.5008 4.28708 10.5008 6.49937C10.5008 8.70852 8.71314 10.499 6.50048 10.499Z" fill="var(--color-text)"></path></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div>
5
- <ul class="results">
6
- <li class="state loading">Preparing search index...</li>
7
- <li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@sudoplatform/sudo-common</a></div>
8
- <div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><rect x="1" y="3" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="7" width="14" height="2" fill="var(--color-text)"></rect><rect x="1" y="11" width="14" height="2" fill="var(--color-text)"></rect></svg></a></div></div></header>
9
- <div class="container container-main">
10
- <div class="col-8 col-content">
11
- <div class="tsd-page-title">
12
- <ul class="tsd-breadcrumb">
13
- <li><a href="../modules.html">@sudoplatform/sudo-common</a></li>
14
- <li><a href="SudoCryptoProvider.html">SudoCryptoProvider</a></li></ul>
15
- <h1>Interface SudoCryptoProvider</h1></div>
16
- <section class="tsd-panel tsd-comment">
17
- <div class="tsd-comment tsd-typography"><p>CryptoProvider instance interface</p>
18
- </div></section>
19
- <section class="tsd-panel tsd-hierarchy">
20
- <h4>Hierarchy</h4>
21
- <ul class="tsd-hierarchy">
22
- <li><span class="target">SudoCryptoProvider</span></li></ul></section><aside class="tsd-sources">
23
- <ul>
24
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:36</li></ul></aside>
25
- <section class="tsd-panel-group tsd-index-group">
26
- <section class="tsd-panel tsd-index-panel">
27
- <details class="tsd-index-content tsd-index-accordion" open><summary class="tsd-accordion-summary tsd-index-summary">
28
- <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex=0><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><path d="M1.5 5.50969L8 11.6609L14.5 5.50969L12.5466 3.66086L8 7.96494L3.45341 3.66086L1.5 5.50969Z" fill="var(--color-text)"></path></svg> Index</h5></summary>
29
- <div class="tsd-accordion-details">
30
- <section class="tsd-index-section">
31
- <h3 class="tsd-index-heading">Methods</h3>
32
- <div class="tsd-index-list"><a href="SudoCryptoProvider.html#addPassword" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="#FF4DB8" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="12" id="icon-2048-path"></rect><path d="M9.162 16V7.24H10.578L11.514 10.072C11.602 10.328 11.674 10.584 11.73 10.84C11.794 11.088 11.842 11.28 11.874 11.416C11.906 11.28 11.954 11.088 12.018 10.84C12.082 10.584 12.154 10.324 12.234 10.06L13.122 7.24H14.538V16H13.482V12.82C13.482 12.468 13.49 12.068 13.506 11.62C13.53 11.172 13.558 10.716 13.59 10.252C13.622 9.78 13.654 9.332 13.686 8.908C13.726 8.476 13.762 8.1 13.794 7.78L12.366 12.16H11.334L9.894 7.78C9.934 8.092 9.97 8.456 10.002 8.872C10.042 9.28 10.078 9.716 10.11 10.18C10.142 10.636 10.166 11.092 10.182 11.548C10.206 12.004 10.218 12.428 10.218 12.82V16H9.162Z" fill="var(--color-text)" id="icon-2048-text"></path></svg><span>add<wbr/>Password</span></a>
33
- <a href="SudoCryptoProvider.html#addPrivateKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Private<wbr/>Key</span></a>
34
- <a href="SudoCryptoProvider.html#addPublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Public<wbr/>Key</span></a>
35
- <a href="SudoCryptoProvider.html#addSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>add<wbr/>Symmetric<wbr/>Key</span></a>
36
- <a href="SudoCryptoProvider.html#decryptWithPrivateKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decrypt<wbr/>With<wbr/>Private<wbr/>Key</span></a>
37
- <a href="SudoCryptoProvider.html#decryptWithSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span></a>
38
- <a href="SudoCryptoProvider.html#decryptWithSymmetricKeyName" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span></a>
39
- <a href="SudoCryptoProvider.html#deleteKeyPair" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Key<wbr/>Pair</span></a>
40
- <a href="SudoCryptoProvider.html#deletePassword" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Password</span></a>
41
- <a href="SudoCryptoProvider.html#deletePublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Public<wbr/>Key</span></a>
42
- <a href="SudoCryptoProvider.html#deleteSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>delete<wbr/>Symmetric<wbr/>Key</span></a>
43
- <a href="SudoCryptoProvider.html#doesPrivateKeyExist" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Private<wbr/>Key<wbr/>Exist</span></a>
44
- <a href="SudoCryptoProvider.html#doesSymmetricKeyExist" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</span></a>
45
- <a href="SudoCryptoProvider.html#encryptWithPublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Public<wbr/>Key</span></a>
46
- <a href="SudoCryptoProvider.html#encryptWithSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span></a>
47
- <a href="SudoCryptoProvider.html#encryptWithSymmetricKeyName" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span></a>
48
- <a href="SudoCryptoProvider.html#exportKeys" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>export<wbr/>Keys</span></a>
49
- <a href="SudoCryptoProvider.html#generateHash" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>generate<wbr/>Hash</span></a>
50
- <a href="SudoCryptoProvider.html#generateKeyPair" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>generate<wbr/>Key<wbr/>Pair</span></a>
51
- <a href="SudoCryptoProvider.html#generateRandomData" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>generate<wbr/>Random<wbr/>Data</span></a>
52
- <a href="SudoCryptoProvider.html#generateSignatureWithPrivateKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>generate<wbr/>Signature<wbr/>With<wbr/>Private<wbr/>Key</span></a>
53
- <a href="SudoCryptoProvider.html#generateSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>generate<wbr/>Symmetric<wbr/>Key</span></a>
54
- <a href="SudoCryptoProvider.html#generateSymmetricKeyFromPassword" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</span></a>
55
- <a href="SudoCryptoProvider.html#getNamespace" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Namespace</span></a>
56
- <a href="SudoCryptoProvider.html#getPassword" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Password</span></a>
57
- <a href="SudoCryptoProvider.html#getPrivateKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Private<wbr/>Key</span></a>
58
- <a href="SudoCryptoProvider.html#getPublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Public<wbr/>Key</span></a>
59
- <a href="SudoCryptoProvider.html#getServiceName" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Service<wbr/>Name</span></a>
60
- <a href="SudoCryptoProvider.html#getSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>get<wbr/>Symmetric<wbr/>Key</span></a>
61
- <a href="SudoCryptoProvider.html#removeAllKeys" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>remove<wbr/>All<wbr/>Keys</span></a>
62
- <a href="SudoCryptoProvider.html#updatePassword" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>update<wbr/>Password</span></a>
63
- <a href="SudoCryptoProvider.html#verifySignatureWithPublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>verify<wbr/>Signature<wbr/>With<wbr/>Public<wbr/>Key</span></a>
64
- </div></section></div></details></section></section>
65
- <section class="tsd-panel-group tsd-member-group">
66
- <h2>Methods</h2>
67
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPassword" class="tsd-anchor"></a>
68
- <h3 class="tsd-anchor-link"><span>add<wbr/>Password</span><a href="#addPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><path stroke="none" d="M0 0h24v24H0z" fill="none" id="icon-anchor-a"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5" id="icon-anchor-b"></path><path d="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5" id="icon-anchor-c"></path></svg></a></h3>
69
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
70
- <li class="tsd-signature tsd-anchor-link" id="addPassword.addPassword-1">add<wbr/>Password<span class="tsd-signature-symbol">(</span>password<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#addPassword.addPassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
71
- <li class="tsd-description">
72
- <div class="tsd-comment tsd-typography"><p>Adds as password to the secure store.</p>
73
- </div>
74
- <div class="tsd-parameters">
75
- <h4 class="tsd-parameters-title">Parameters</h4>
76
- <ul class="tsd-parameter-list">
77
- <li>
78
- <h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5>
79
- <div class="tsd-comment tsd-typography"><p>The password to store.</p>
80
- </div></li>
81
- <li>
82
- <h5>name: <span class="tsd-signature-type">string</span></h5>
83
- <div class="tsd-comment tsd-typography"><p>The name of the password.</p>
84
- </div></li></ul></div>
85
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
86
- <ul>
87
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:46</li></ul></aside></li></ul></section>
88
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPrivateKey" class="tsd-anchor"></a>
89
- <h3 class="tsd-anchor-link"><span>add<wbr/>Private<wbr/>Key</span><a href="#addPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
90
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
91
- <li class="tsd-signature tsd-anchor-link" id="addPrivateKey.addPrivateKey-1">add<wbr/>Private<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#addPrivateKey.addPrivateKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
92
- <li class="tsd-description">
93
- <div class="tsd-comment tsd-typography"><p>Adds a private key to the secure store.</p>
94
- </div>
95
- <div class="tsd-parameters">
96
- <h4 class="tsd-parameters-title">Parameters</h4>
97
- <ul class="tsd-parameter-list">
98
- <li>
99
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5>
100
- <div class="tsd-comment tsd-typography"><p>The private key to store securely.</p>
101
- </div></li>
102
- <li>
103
- <h5>name: <span class="tsd-signature-type">string</span></h5>
104
- <div class="tsd-comment tsd-typography"><p>The name of the private key to be stored.</p>
105
- </div></li></ul></div>
106
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
107
- <ul>
108
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:177</li></ul></aside></li></ul></section>
109
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPublicKey" class="tsd-anchor"></a>
110
- <h3 class="tsd-anchor-link"><span>add<wbr/>Public<wbr/>Key</span><a href="#addPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
111
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
112
- <li class="tsd-signature tsd-anchor-link" id="addPublicKey.addPublicKey-1">add<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#addPublicKey.addPublicKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
113
- <li class="tsd-description">
114
- <div class="tsd-comment tsd-typography"><p>Adds a public key to the secure store.</p>
115
- </div>
116
- <div class="tsd-parameters">
117
- <h4 class="tsd-parameters-title">Parameters</h4>
118
- <ul class="tsd-parameter-list">
119
- <li>
120
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5>
121
- <div class="tsd-comment tsd-typography"><p>The public key to store securely.</p>
122
- </div></li>
123
- <li>
124
- <h5>name: <span class="tsd-signature-type">string</span></h5>
125
- <div class="tsd-comment tsd-typography"><p>The name of the public key to be stored.</p>
126
- </div></li></ul></div>
127
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
128
- <ul>
129
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:201</li></ul></aside></li></ul></section>
130
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addSymmetricKey" class="tsd-anchor"></a>
131
- <h3 class="tsd-anchor-link"><span>add<wbr/>Symmetric<wbr/>Key</span><a href="#addSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
132
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
133
- <li class="tsd-signature tsd-anchor-link" id="addSymmetricKey.addSymmetricKey-1">add<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#addSymmetricKey.addSymmetricKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
134
- <li class="tsd-description">
135
- <div class="tsd-comment tsd-typography"><p>Adds a symmetric key to the secure store.</p>
136
- </div>
137
- <div class="tsd-parameters">
138
- <h4 class="tsd-parameters-title">Parameters</h4>
139
- <ul class="tsd-parameter-list">
140
- <li>
141
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5>
142
- <div class="tsd-comment tsd-typography"><p>The symmetric key.</p>
143
- </div></li>
144
- <li>
145
- <h5>name: <span class="tsd-signature-type">string</span></h5>
146
- <div class="tsd-comment tsd-typography"><p>The name for the symmetric key.</p>
147
- </div></li></ul></div>
148
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
149
- <ul>
150
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:78</li></ul></aside></li></ul></section>
151
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithPrivateKey" class="tsd-anchor"></a>
152
- <h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Private<wbr/>Key</span><a href="#decryptWithPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
153
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
154
- <li class="tsd-signature tsd-anchor-link" id="decryptWithPrivateKey.decryptWithPrivateKey-1">decrypt<wbr/>With<wbr/>Private<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#decryptWithPrivateKey.decryptWithPrivateKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
155
- <li class="tsd-description">
156
- <div class="tsd-comment tsd-typography"><p>Decrypts the given data with the specified private key.</p>
157
-
158
- <h3>Returns</h3><p>Decrypted data.</p>
159
-
160
- <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
161
-
162
- <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
163
- </div>
164
- <div class="tsd-parameters">
165
- <h4 class="tsd-parameters-title">Parameters</h4>
166
- <ul class="tsd-parameter-list">
167
- <li>
168
- <h5>name: <span class="tsd-signature-type">string</span></h5>
169
- <div class="tsd-comment tsd-typography"><p>The name of the private key to use for decryption.</p>
170
- </div></li>
171
- <li>
172
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
173
- <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
174
- </div></li>
175
- <li>
176
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul></div>
177
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
178
- <ul>
179
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:387</li></ul></aside></li></ul></section>
180
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKey" class="tsd-anchor"></a>
181
- <h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span><a href="#decryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
182
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
183
- <li class="tsd-signature tsd-anchor-link" id="decryptWithSymmetricKey.decryptWithSymmetricKey-1">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, iv<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#decryptWithSymmetricKey.decryptWithSymmetricKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
184
- <li class="tsd-description">
185
- <div class="tsd-comment tsd-typography">
186
- <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
187
- <p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
188
-
189
- <h3>Returns</h3><p>Decrypted data</p>
190
- </div>
191
- <div class="tsd-parameters">
192
- <h4 class="tsd-parameters-title">Parameters</h4>
193
- <ul class="tsd-parameter-list">
194
- <li>
195
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
196
- <li>
197
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
198
- <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
199
- </div></li>
200
- <li>
201
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
202
- <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
203
- </div></li></ul></div>
204
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
205
- <ul>
206
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:337</li></ul></aside></li>
207
- <li class="tsd-signature tsd-anchor-link" id="decryptWithSymmetricKey.decryptWithSymmetricKey-2">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#decryptWithSymmetricKey.decryptWithSymmetricKey-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
208
- <li class="tsd-description">
209
- <div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
210
-
211
- <h3>Returns</h3><p>Decrypted data</p>
212
-
213
- <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
214
- </div>
215
- <div class="tsd-parameters">
216
- <h4 class="tsd-parameters-title">Parameters</h4>
217
- <ul class="tsd-parameter-list">
218
- <li>
219
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
220
- <li>
221
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
222
- <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
223
- </div></li>
224
- <li>
225
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
226
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
227
- <ul>
228
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:353</li></ul></aside></li></ul></section>
229
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKeyName" class="tsd-anchor"></a>
230
- <h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span><a href="#decryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
231
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
232
- <li class="tsd-signature tsd-anchor-link" id="decryptWithSymmetricKeyName.decryptWithSymmetricKeyName-1">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, iv<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#decryptWithSymmetricKeyName.decryptWithSymmetricKeyName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
233
- <li class="tsd-description">
234
- <div class="tsd-comment tsd-typography">
235
- <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
236
- <p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
237
-
238
- <h3>Returns</h3><p>Decrypted data</p>
239
- </div>
240
- <div class="tsd-parameters">
241
- <h4 class="tsd-parameters-title">Parameters</h4>
242
- <ul class="tsd-parameter-list">
243
- <li>
244
- <h5>name: <span class="tsd-signature-type">string</span></h5>
245
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to decrypt.</p>
246
- </div></li>
247
- <li>
248
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
249
- <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
250
- </div></li>
251
- <li>
252
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
253
- <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
254
- </div></li></ul></div>
255
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
256
- <ul>
257
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:270</li></ul></aside></li>
258
- <li class="tsd-signature tsd-anchor-link" id="decryptWithSymmetricKeyName.decryptWithSymmetricKeyName-2">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#decryptWithSymmetricKeyName.decryptWithSymmetricKeyName-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
259
- <li class="tsd-description">
260
- <div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
261
-
262
- <h3>Returns</h3><p>Decrypted data</p>
263
-
264
- <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
265
-
266
- <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
267
- </div>
268
- <div class="tsd-parameters">
269
- <h4 class="tsd-parameters-title">Parameters</h4>
270
- <ul class="tsd-parameter-list">
271
- <li>
272
- <h5>name: <span class="tsd-signature-type">string</span></h5>
273
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to decrypt.</p>
274
- </div></li>
275
- <li>
276
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
277
- <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
278
- </div></li>
279
- <li>
280
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
281
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
282
- <ul>
283
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:287</li></ul></aside></li></ul></section>
284
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteKeyPair" class="tsd-anchor"></a>
285
- <h3 class="tsd-anchor-link"><span>delete<wbr/>Key<wbr/>Pair</span><a href="#deleteKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
286
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
287
- <li class="tsd-signature tsd-anchor-link" id="deleteKeyPair.deleteKeyPair-1">delete<wbr/>Key<wbr/>Pair<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#deleteKeyPair.deleteKeyPair-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
288
- <li class="tsd-description">
289
- <div class="tsd-comment tsd-typography"><p>Deletes a key pair from the secure store.</p>
290
- </div>
291
- <div class="tsd-parameters">
292
- <h4 class="tsd-parameters-title">Parameters</h4>
293
- <ul class="tsd-parameter-list">
294
- <li>
295
- <h5>name: <span class="tsd-signature-type">string</span></h5>
296
- <div class="tsd-comment tsd-typography"><p>The name of the key pair to be deleted.</p>
297
- </div></li></ul></div>
298
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
299
- <ul>
300
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:139</li></ul></aside></li></ul></section>
301
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePassword" class="tsd-anchor"></a>
302
- <h3 class="tsd-anchor-link"><span>delete<wbr/>Password</span><a href="#deletePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
303
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
304
- <li class="tsd-signature tsd-anchor-link" id="deletePassword.deletePassword-1">delete<wbr/>Password<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#deletePassword.deletePassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
305
- <li class="tsd-description">
306
- <div class="tsd-comment tsd-typography"><p>Deletes a password from the secure store.</p>
307
- </div>
308
- <div class="tsd-parameters">
309
- <h4 class="tsd-parameters-title">Parameters</h4>
310
- <ul class="tsd-parameter-list">
311
- <li>
312
- <h5>name: <span class="tsd-signature-type">string</span></h5>
313
- <div class="tsd-comment tsd-typography"><p>The name of the password to delete.</p>
314
- </div></li></ul></div>
315
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
316
- <ul>
317
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:62</li></ul></aside></li></ul></section>
318
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePublicKey" class="tsd-anchor"></a>
319
- <h3 class="tsd-anchor-link"><span>delete<wbr/>Public<wbr/>Key</span><a href="#deletePublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
320
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
321
- <li class="tsd-signature tsd-anchor-link" id="deletePublicKey.deletePublicKey-1">delete<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#deletePublicKey.deletePublicKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
322
- <li class="tsd-description">
323
- <div class="tsd-comment tsd-typography"><p>Deletes the specified public key from the secure store.</p>
324
- </div>
325
- <div class="tsd-parameters">
326
- <h4 class="tsd-parameters-title">Parameters</h4>
327
- <ul class="tsd-parameter-list">
328
- <li>
329
- <h5>name: <span class="tsd-signature-type">string</span></h5>
330
- <div class="tsd-comment tsd-typography"><p>The name of the public key to be removed.</p>
331
- </div></li></ul></div>
332
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
333
- <ul>
334
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:208</li></ul></aside></li></ul></section>
335
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteSymmetricKey" class="tsd-anchor"></a>
336
- <h3 class="tsd-anchor-link"><span>delete<wbr/>Symmetric<wbr/>Key</span><a href="#deleteSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
337
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
338
- <li class="tsd-signature tsd-anchor-link" id="deleteSymmetricKey.deleteSymmetricKey-1">delete<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#deleteSymmetricKey.deleteSymmetricKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
339
- <li class="tsd-description">
340
- <div class="tsd-comment tsd-typography"><p>Deletes a symmetric key from the secure store.</p>
341
- </div>
342
- <div class="tsd-parameters">
343
- <h4 class="tsd-parameters-title">Parameters</h4>
344
- <ul class="tsd-parameter-list">
345
- <li>
346
- <h5>name: <span class="tsd-signature-type">string</span></h5>
347
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
348
- </div></li></ul></div>
349
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
350
- <ul>
351
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:101</li></ul></aside></li></ul></section>
352
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExist" class="tsd-anchor"></a>
353
- <h3 class="tsd-anchor-link"><span>does<wbr/>Private<wbr/>Key<wbr/>Exist</span><a href="#doesPrivateKeyExist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
354
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
355
- <li class="tsd-signature tsd-anchor-link" id="doesPrivateKeyExist.doesPrivateKeyExist-1">does<wbr/>Private<wbr/>Key<wbr/>Exist<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#doesPrivateKeyExist.doesPrivateKeyExist-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
356
- <li class="tsd-description">
357
- <div class="tsd-comment tsd-typography"><p>Checks to see if the specified private key exists.</p>
358
- </div>
359
- <div class="tsd-parameters">
360
- <h4 class="tsd-parameters-title">Parameters</h4>
361
- <ul class="tsd-parameter-list">
362
- <li>
363
- <h5>name: <span class="tsd-signature-type">string</span></h5>
364
- <div class="tsd-comment tsd-typography"><p>The name of the private key.</p>
365
- </div></li></ul></div>
366
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
367
- <ul>
368
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:193</li></ul></aside></li></ul></section>
369
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExist" class="tsd-anchor"></a>
370
- <h3 class="tsd-anchor-link"><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</span><a href="#doesSymmetricKeyExist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
371
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
372
- <li class="tsd-signature tsd-anchor-link" id="doesSymmetricKeyExist.doesSymmetricKeyExist-1">does<wbr/>Symmetric<wbr/>Key<wbr/>Exist<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#doesSymmetricKeyExist.doesSymmetricKeyExist-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
373
- <li class="tsd-description">
374
- <div class="tsd-comment tsd-typography"><p>Checks to see if the specified symmetric key exists.</p>
375
- </div>
376
- <div class="tsd-parameters">
377
- <h4 class="tsd-parameters-title">Parameters</h4>
378
- <ul class="tsd-parameter-list">
379
- <li>
380
- <h5>name: <span class="tsd-signature-type">string</span></h5>
381
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
382
- </div></li></ul></div>
383
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
384
- <ul>
385
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:94</li></ul></aside></li></ul></section>
386
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithPublicKey" class="tsd-anchor"></a>
387
- <h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Public<wbr/>Key</span><a href="#encryptWithPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
388
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
389
- <li class="tsd-signature tsd-anchor-link" id="encryptWithPublicKey.encryptWithPublicKey-1">encrypt<wbr/>With<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#encryptWithPublicKey.encryptWithPublicKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
390
- <li class="tsd-description">
391
- <div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified public key.</p>
392
-
393
- <h3>Returns</h3><p>Encrypted data</p>
394
-
395
- <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
396
-
397
- <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
398
- </div>
399
- <div class="tsd-parameters">
400
- <h4 class="tsd-parameters-title">Parameters</h4>
401
- <ul class="tsd-parameter-list">
402
- <li>
403
- <h5>name: <span class="tsd-signature-type">string</span></h5>
404
- <div class="tsd-comment tsd-typography"><p>The name of the public key to use for encryption.</p>
405
- </div></li>
406
- <li>
407
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
408
- <div class="tsd-comment tsd-typography"><p>The data to encrypt.</p>
409
- </div></li>
410
- <li>
411
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul></div>
412
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
413
- <ul>
414
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:370</li></ul></aside></li></ul></section>
415
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKey" class="tsd-anchor"></a>
416
- <h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span><a href="#encryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
417
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
418
- <li class="tsd-signature tsd-anchor-link" id="encryptWithSymmetricKey.encryptWithSymmetricKey-1">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, iv<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#encryptWithSymmetricKey.encryptWithSymmetricKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
419
- <li class="tsd-description">
420
- <div class="tsd-comment tsd-typography">
421
- <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
422
- <p>Encrypts the given data with the specified key</p>
423
-
424
- <h3>Returns</h3><p>Encrypted data and IV</p>
425
- </div>
426
- <div class="tsd-parameters">
427
- <h4 class="tsd-parameters-title">Parameters</h4>
428
- <ul class="tsd-parameter-list">
429
- <li>
430
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
431
- <li>
432
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
433
- <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
434
- </div></li>
435
- <li>
436
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
437
- <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
438
- </div></li></ul></div>
439
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
440
- <ul>
441
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:304</li></ul></aside></li>
442
- <li class="tsd-signature tsd-anchor-link" id="encryptWithSymmetricKey.encryptWithSymmetricKey-2">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>key<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#encryptWithSymmetricKey.encryptWithSymmetricKey-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
443
- <li class="tsd-description">
444
- <div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified key</p>
445
-
446
- <h3>Returns</h3><p>Encrypted data and IV</p>
447
-
448
- <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
449
- </div>
450
- <div class="tsd-parameters">
451
- <h4 class="tsd-parameters-title">Parameters</h4>
452
- <ul class="tsd-parameter-list">
453
- <li>
454
- <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
455
- <li>
456
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
457
- <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
458
- </div></li>
459
- <li>
460
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
461
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
462
- <ul>
463
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:320</li></ul></aside></li></ul></section>
464
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKeyName" class="tsd-anchor"></a>
465
- <h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span><a href="#encryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
466
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
467
- <li class="tsd-signature tsd-anchor-link" id="encryptWithSymmetricKeyName.encryptWithSymmetricKeyName-1">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, iv<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#encryptWithSymmetricKeyName.encryptWithSymmetricKeyName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
468
- <li class="tsd-description">
469
- <div class="tsd-comment tsd-typography">
470
- <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
471
- <p>Encrypts the given data with the specified symmetric key stored in the secure store.</p>
472
-
473
- <h3>Returns</h3><p>Encrypted data and IV</p>
474
- </div>
475
- <div class="tsd-parameters">
476
- <h4 class="tsd-parameters-title">Parameters</h4>
477
- <ul class="tsd-parameter-list">
478
- <li>
479
- <h5>name: <span class="tsd-signature-type">string</span></h5>
480
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to encrypt.</p>
481
- </div></li>
482
- <li>
483
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
484
- <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
485
- </div></li>
486
- <li>
487
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
488
- <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
489
- </div></li></ul></div>
490
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
491
- <ul>
492
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:235</li></ul></aside></li>
493
- <li class="tsd-signature tsd-anchor-link" id="encryptWithSymmetricKeyName.encryptWithSymmetricKeyName-2">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<span class="tsd-signature-symbol">?: </span><a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#encryptWithSymmetricKeyName.encryptWithSymmetricKeyName-2" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
494
- <li class="tsd-description">
495
- <div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified symmetric key stored in the secure store.</p>
496
-
497
- <h3>Returns</h3><p>Encrypted data and IV</p>
498
-
499
- <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
500
-
501
- <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
502
- </div>
503
- <div class="tsd-parameters">
504
- <h4 class="tsd-parameters-title">Parameters</h4>
505
- <ul class="tsd-parameter-list">
506
- <li>
507
- <h5>name: <span class="tsd-signature-type">string</span></h5>
508
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to encrypt.</p>
509
- </div></li>
510
- <li>
511
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
512
- <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
513
- </div></li>
514
- <li>
515
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
516
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
517
- <ul>
518
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:253</li></ul></aside></li></ul></section>
519
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="exportKeys" class="tsd-anchor"></a>
520
- <h3 class="tsd-anchor-link"><span>export<wbr/>Keys</span><a href="#exportKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
521
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
522
- <li class="tsd-signature tsd-anchor-link" id="exportKeys.exportKeys-1">export<wbr/>Keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span><a href="#exportKeys.exportKeys-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
523
- <li class="tsd-description">
524
- <div class="tsd-comment tsd-typography"><p>Export all keys and passwords from the key store as an
525
- array of KeyData items.</p>
526
-
527
- <h3>Returns</h3><p>Array of exported keys and passwords</p>
528
- </div>
529
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><a href="KeyData.html" class="tsd-signature-type" data-tsd-kind="Interface">KeyData</a><span class="tsd-signature-symbol">[]</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
530
- <ul>
531
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:415</li></ul></aside></li></ul></section>
532
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateHash" class="tsd-anchor"></a>
533
- <h3 class="tsd-anchor-link"><span>generate<wbr/>Hash</span><a href="#generateHash" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
534
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
535
- <li class="tsd-signature tsd-anchor-link" id="generateHash.generateHash-1">generate<wbr/>Hash<span class="tsd-signature-symbol">(</span>data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateHash.generateHash-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
536
- <li class="tsd-description">
537
- <div class="tsd-comment tsd-typography"><p>Creates a SHA256 hash of the specified data.</p>
538
-
539
- <h3>Returns</h3><p>The SHA256 hash of data</p>
540
- </div>
541
- <div class="tsd-parameters">
542
- <h4 class="tsd-parameters-title">Parameters</h4>
543
- <ul class="tsd-parameter-list">
544
- <li>
545
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
546
- <div class="tsd-comment tsd-typography"><p>Data to hash.</p>
547
- </div></li></ul></div>
548
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
549
- <ul>
550
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:407</li></ul></aside></li></ul></section>
551
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateKeyPair" class="tsd-anchor"></a>
552
- <h3 class="tsd-anchor-link"><span>generate<wbr/>Key<wbr/>Pair</span><a href="#generateKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
553
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
554
- <li class="tsd-signature tsd-anchor-link" id="generateKeyPair.generateKeyPair-1">generate<wbr/>Key<wbr/>Pair<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateKeyPair.generateKeyPair-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
555
- <li class="tsd-description">
556
- <div class="tsd-comment tsd-typography"><p>Generates and securely stores a key pair for public key cryptography.</p>
557
- </div>
558
- <div class="tsd-parameters">
559
- <h4 class="tsd-parameters-title">Parameters</h4>
560
- <ul class="tsd-parameter-list">
561
- <li>
562
- <h5>name: <span class="tsd-signature-type">string</span></h5>
563
- <div class="tsd-comment tsd-typography"><p>The name of the key pair to be generated.</p>
564
- </div></li></ul></div>
565
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
566
- <ul>
567
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:398</li></ul></aside></li></ul></section>
568
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateRandomData" class="tsd-anchor"></a>
569
- <h3 class="tsd-anchor-link"><span>generate<wbr/>Random<wbr/>Data</span><a href="#generateRandomData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
570
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
571
- <li class="tsd-signature tsd-anchor-link" id="generateRandomData.generateRandomData-1">generate<wbr/>Random<wbr/>Data<span class="tsd-signature-symbol">(</span>size<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-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateRandomData.generateRandomData-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
572
- <li class="tsd-description">
573
- <div class="tsd-comment tsd-typography"><p>Generate random bytes using a secure random number generator.</p>
574
-
575
- <h3>Returns</h3><p>ArrayBuffer containing the random bytes.</p>
576
- </div>
577
- <div class="tsd-parameters">
578
- <h4 class="tsd-parameters-title">Parameters</h4>
579
- <ul class="tsd-parameter-list">
580
- <li>
581
- <h5>size: <span class="tsd-signature-type">number</span></h5>
582
- <div class="tsd-comment tsd-typography"><p>Number of random bytes to generate</p>
583
- </div></li></ul></div>
584
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
585
- <ul>
586
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:132</li></ul></aside></li></ul></section>
587
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSignatureWithPrivateKey" class="tsd-anchor"></a>
588
- <h3 class="tsd-anchor-link"><span>generate<wbr/>Signature<wbr/>With<wbr/>Private<wbr/>Key</span><a href="#generateSignatureWithPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
589
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
590
- <li class="tsd-signature tsd-anchor-link" id="generateSignatureWithPrivateKey.generateSignatureWithPrivateKey-1">generate<wbr/>Signature<wbr/>With<wbr/>Private<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateSignatureWithPrivateKey.generateSignatureWithPrivateKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
591
- <li class="tsd-description">
592
- <div class="tsd-comment tsd-typography"><p>Generates a signature for the given data with the specified private key.</p>
593
-
594
- <h3>Returns</h3><p>Data signature</p>
595
-
596
- <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
597
- </div>
598
- <div class="tsd-parameters">
599
- <h4 class="tsd-parameters-title">Parameters</h4>
600
- <ul class="tsd-parameter-list">
601
- <li>
602
- <h5>name: <span class="tsd-signature-type">string</span></h5>
603
- <div class="tsd-comment tsd-typography"><p>The name of the private key to use for generation.</p>
604
- </div></li>
605
- <li>
606
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
607
- <div class="tsd-comment tsd-typography"><p>The data to sign.</p>
608
- </div></li></ul></div>
609
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
610
- <ul>
611
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:151</li></ul></aside></li></ul></section>
612
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKey" class="tsd-anchor"></a>
613
- <h3 class="tsd-anchor-link"><span>generate<wbr/>Symmetric<wbr/>Key</span><a href="#generateSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
614
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
615
- <li class="tsd-signature tsd-anchor-link" id="generateSymmetricKey.generateSymmetricKey-1">generate<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateSymmetricKey.generateSymmetricKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
616
- <li class="tsd-description">
617
- <div class="tsd-comment tsd-typography"><p>Generates a symmetric key and stores it securely.</p>
618
- </div>
619
- <div class="tsd-parameters">
620
- <h4 class="tsd-parameters-title">Parameters</h4>
621
- <ul class="tsd-parameter-list">
622
- <li>
623
- <h5>name: <span class="tsd-signature-type">string</span></h5>
624
- <div class="tsd-comment tsd-typography"><p>The name for the symmetric key.</p>
625
- </div></li></ul></div>
626
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
627
- <ul>
628
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:108</li></ul></aside></li></ul></section>
629
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKeyFromPassword" class="tsd-anchor"></a>
630
- <h3 class="tsd-anchor-link"><span>generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</span><a href="#generateSymmetricKeyFromPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
631
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
632
- <li class="tsd-signature tsd-anchor-link" id="generateSymmetricKeyFromPassword.generateSymmetricKeyFromPassword-1">generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password<span class="tsd-signature-symbol">(</span>password<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, salt<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, options<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><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#generateSymmetricKeyFromPassword.generateSymmetricKeyFromPassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
633
- <li class="tsd-description">
634
- <div class="tsd-comment tsd-typography"><p>Generates a symmetric key from a password using PBKDF2.</p>
635
-
636
- <h3>Returns</h3><p>The generated symmetric key.</p>
637
- </div>
638
- <div class="tsd-parameters">
639
- <h4 class="tsd-parameters-title">Parameters</h4>
640
- <ul class="tsd-parameter-list">
641
- <li>
642
- <h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5>
643
- <div class="tsd-comment tsd-typography"><p>The password from which to generate the symmetric key</p>
644
- </div></li>
645
- <li>
646
- <h5>salt: <span class="tsd-signature-type">ArrayBuffer</span></h5>
647
- <div class="tsd-comment tsd-typography"><p>Salt to use in generation of the key</p>
648
- </div></li>
649
- <li>
650
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <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></h5>
651
- <ul class="tsd-parameters">
652
- <li class="tsd-parameter">
653
- <h5><code class="tsd-tag ts-flagOptional">Optional</code> rounds<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul></div>
654
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
655
- <ul>
656
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:119</li></ul></aside></li></ul></section>
657
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getNamespace" class="tsd-anchor"></a>
658
- <h3 class="tsd-anchor-link"><span>get<wbr/>Namespace</span><a href="#getNamespace" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
659
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
660
- <li class="tsd-signature tsd-anchor-link" id="getNamespace.getNamespace-1">get<wbr/>Namespace<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getNamespace.getNamespace-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
661
- <li class="tsd-description">
662
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
663
- <ul>
664
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:37</li></ul></aside></li></ul></section>
665
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPassword" class="tsd-anchor"></a>
666
- <h3 class="tsd-anchor-link"><span>get<wbr/>Password</span><a href="#getPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
667
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
668
- <li class="tsd-signature tsd-anchor-link" id="getPassword.getPassword-1">get<wbr/>Password<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPassword.getPassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
669
- <li class="tsd-description">
670
- <div class="tsd-comment tsd-typography"><p>Retrieves a password from the secure store.</p>
671
-
672
- <h3>Returns</h3><p>The password or undefined if a password with the given name was not found.</p>
673
- </div>
674
- <div class="tsd-parameters">
675
- <h4 class="tsd-parameters-title">Parameters</h4>
676
- <ul class="tsd-parameter-list">
677
- <li>
678
- <h5>name: <span class="tsd-signature-type">string</span></h5>
679
- <div class="tsd-comment tsd-typography"><p>The name of the password to retrieve.</p>
680
- </div></li></ul></div>
681
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
682
- <ul>
683
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:55</li></ul></aside></li></ul></section>
684
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPrivateKey" class="tsd-anchor"></a>
685
- <h3 class="tsd-anchor-link"><span>get<wbr/>Private<wbr/>Key</span><a href="#getPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
686
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
687
- <li class="tsd-signature tsd-anchor-link" id="getPrivateKey.getPrivateKey-1">get<wbr/>Private<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#getPrivateKey.getPrivateKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
688
- <li class="tsd-description">
689
- <div class="tsd-comment tsd-typography"><p>Retrieves a private key from the secure store.</p>
690
-
691
- <h3>Returns</h3><p>Requested private key or undefined if the key was not found.</p>
692
- </div>
693
- <div class="tsd-parameters">
694
- <h4 class="tsd-parameters-title">Parameters</h4>
695
- <ul class="tsd-parameter-list">
696
- <li>
697
- <h5>name: <span class="tsd-signature-type">string</span></h5>
698
- <div class="tsd-comment tsd-typography"><p>The name of the private key to be retrieved.</p>
699
- </div></li></ul></div>
700
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
701
- <ul>
702
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:186</li></ul></aside></li></ul></section>
703
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPublicKey" class="tsd-anchor"></a>
704
- <h3 class="tsd-anchor-link"><span>get<wbr/>Public<wbr/>Key</span><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
705
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
706
- <li class="tsd-signature tsd-anchor-link" id="getPublicKey.getPublicKey-1">get<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="PublicKey.html" class="tsd-signature-type" data-tsd-kind="Interface">PublicKey</a><span class="tsd-signature-symbol">&gt;</span><a href="#getPublicKey.getPublicKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
707
- <li class="tsd-description">
708
- <div class="tsd-comment tsd-typography"><p>Retrieves the public key from the secure store.</p>
709
-
710
- <h3>Returns</h3><p>The public key or undefined if the key was not found.</p>
711
- </div>
712
- <div class="tsd-parameters">
713
- <h4 class="tsd-parameters-title">Parameters</h4>
714
- <ul class="tsd-parameter-list">
715
- <li>
716
- <h5>name: <span class="tsd-signature-type">string</span></h5>
717
- <div class="tsd-comment tsd-typography"><p>The name of the public key.</p>
718
- </div></li></ul></div>
719
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><a href="PublicKey.html" class="tsd-signature-type" data-tsd-kind="Interface">PublicKey</a><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
720
- <ul>
721
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:217</li></ul></aside></li></ul></section>
722
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getServiceName" class="tsd-anchor"></a>
723
- <h3 class="tsd-anchor-link"><span>get<wbr/>Service<wbr/>Name</span><a href="#getServiceName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
724
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
725
- <li class="tsd-signature tsd-anchor-link" id="getServiceName.getServiceName-1">get<wbr/>Service<wbr/>Name<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><a href="#getServiceName.getServiceName-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
726
- <li class="tsd-description">
727
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
728
- <ul>
729
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:38</li></ul></aside></li></ul></section>
730
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getSymmetricKey" class="tsd-anchor"></a>
731
- <h3 class="tsd-anchor-link"><span>get<wbr/>Symmetric<wbr/>Key</span><a href="#getSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
732
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
733
- <li class="tsd-signature tsd-anchor-link" id="getSymmetricKey.getSymmetricKey-1">get<wbr/>Symmetric<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span><a href="#getSymmetricKey.getSymmetricKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
734
- <li class="tsd-description">
735
- <div class="tsd-comment tsd-typography"><p>Retrieves a symmetric key from the secure store.</p>
736
-
737
- <h3>Returns</h3><p>The symmetric key or undefined if not found.</p>
738
- </div>
739
- <div class="tsd-parameters">
740
- <h4 class="tsd-parameters-title">Parameters</h4>
741
- <ul class="tsd-parameter-list">
742
- <li>
743
- <h5>name: <span class="tsd-signature-type">string</span></h5>
744
- <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
745
- </div></li></ul></div>
746
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">undefined</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
747
- <ul>
748
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:87</li></ul></aside></li></ul></section>
749
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="removeAllKeys" class="tsd-anchor"></a>
750
- <h3 class="tsd-anchor-link"><span>remove<wbr/>All<wbr/>Keys</span><a href="#removeAllKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
751
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
752
- <li class="tsd-signature tsd-anchor-link" id="removeAllKeys.removeAllKeys-1">remove<wbr/>All<wbr/>Keys<span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#removeAllKeys.removeAllKeys-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
753
- <li class="tsd-description">
754
- <div class="tsd-comment tsd-typography"><p>Clear all types of keys</p>
755
- </div>
756
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
757
- <ul>
758
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:222</li></ul></aside></li></ul></section>
759
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="updatePassword" class="tsd-anchor"></a>
760
- <h3 class="tsd-anchor-link"><span>update<wbr/>Password</span><a href="#updatePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
761
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
762
- <li class="tsd-signature tsd-anchor-link" id="updatePassword.updatePassword-1">update<wbr/>Password<span class="tsd-signature-symbol">(</span>password<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span><a href="#updatePassword.updatePassword-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
763
- <li class="tsd-description">
764
- <div class="tsd-comment tsd-typography"><p>Updates a password stored in the secure store.</p>
765
- </div>
766
- <div class="tsd-parameters">
767
- <h4 class="tsd-parameters-title">Parameters</h4>
768
- <ul class="tsd-parameter-list">
769
- <li>
770
- <h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5>
771
- <div class="tsd-comment tsd-typography"><p>The new password.</p>
772
- </div></li>
773
- <li>
774
- <h5>name: <span class="tsd-signature-type">string</span></h5>
775
- <div class="tsd-comment tsd-typography"><p>The name of the password to update.</p>
776
- </div></li></ul></div>
777
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
778
- <ul>
779
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:70</li></ul></aside></li></ul></section>
780
- <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="verifySignatureWithPublicKey" class="tsd-anchor"></a>
781
- <h3 class="tsd-anchor-link"><span>verify<wbr/>Signature<wbr/>With<wbr/>Public<wbr/>Key</span><a href="#verifySignatureWithPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
782
- <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
783
- <li class="tsd-signature tsd-anchor-link" id="verifySignatureWithPublicKey.verifySignatureWithPublicKey-1">verify<wbr/>Signature<wbr/>With<wbr/>Public<wbr/>Key<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, data<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span>, signature<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">ArrayBuffer</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#verifySignatureWithPublicKey.verifySignatureWithPublicKey-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
784
- <li class="tsd-description">
785
- <div class="tsd-comment tsd-typography"><p>Verifies the given data against the provided signature using the specified public key.</p>
786
-
787
- <h3>Returns</h3><p>True if the data and signature could be successfully verified</p>
788
- </div>
789
- <div class="tsd-parameters">
790
- <h4 class="tsd-parameters-title">Parameters</h4>
791
- <ul class="tsd-parameter-list">
792
- <li>
793
- <h5>name: <span class="tsd-signature-type">string</span></h5>
794
- <div class="tsd-comment tsd-typography"><p>The name of the public key to use for validation.</p>
795
- </div></li>
796
- <li>
797
- <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
798
- <div class="tsd-comment tsd-typography"><p>The data to verify</p>
799
- </div></li>
800
- <li>
801
- <h5>signature: <span class="tsd-signature-type">ArrayBuffer</span></h5>
802
- <div class="tsd-comment tsd-typography"><p>The signature to verify against</p>
803
- </div></li></ul></div>
804
- <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
805
- <ul>
806
- <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:165</li></ul></aside></li></ul></section></section></div>
807
- <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
808
- <div class="tsd-navigation settings">
809
- <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
810
- <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Settings</h3></summary>
811
- <div class="tsd-accordion-details">
812
- <div class="tsd-filter-visibility">
813
- <h4 class="uppercase">Member Visibility</h4><form>
814
- <ul id="tsd-filter-options">
815
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
816
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
817
- <li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></form></div>
818
- <div class="tsd-theme-toggle">
819
- <h4 class="uppercase">Theme</h4><select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
820
- <nav class="tsd-navigation primary">
821
- <details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
822
- <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><path d="M4.93896 8.531L12 15.591L19.061 8.531L16.939 6.409L12 11.349L7.06098 6.409L4.93896 8.531Z" fill="var(--color-text)"></path></svg> Modules</h3></summary>
823
- <div class="tsd-accordion-details">
824
- <ul>
825
- <li><a href="../modules.html">@sudoplatform/sudo-<wbr/>common</a>
826
- <ul></ul></li></ul></div></details></nav>
827
- <nav class="tsd-navigation secondary menu-sticky">
828
- <ul>
829
- <li class="current tsd-kind-interface"><a href="SudoCryptoProvider.html" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><rect fill="var(--color-icon-background)" stroke="var(--color-ts-interface)" stroke-width="1.5" x="1" y="1" width="22" height="22" rx="6" id="icon-256-path"></rect><path d="M9.51 16V15.016H11.298V8.224H9.51V7.24H14.19V8.224H12.402V15.016H14.19V16H9.51Z" fill="var(--color-text)" id="icon-256-text"></path></svg><span>Sudo<wbr/>Crypto<wbr/>Provider</span></a>
830
- <ul>
831
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPassword" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Password</a></li>
832
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPrivateKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Private<wbr/>Key</a></li>
833
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Public<wbr/>Key</a></li>
834
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>add<wbr/>Symmetric<wbr/>Key</a></li>
835
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithPrivateKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decrypt<wbr/>With<wbr/>Private<wbr/>Key</a></li>
836
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li>
837
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithSymmetricKeyName" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li>
838
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteKeyPair" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Key<wbr/>Pair</a></li>
839
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deletePassword" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Password</a></li>
840
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deletePublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Public<wbr/>Key</a></li>
841
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Symmetric<wbr/>Key</a></li>
842
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesPrivateKeyExist" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Private<wbr/>Key<wbr/>Exist</a></li>
843
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesSymmetricKeyExist" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</a></li>
844
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Public<wbr/>Key</a></li>
845
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li>
846
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKeyName" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li>
847
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#exportKeys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>export<wbr/>Keys</a></li>
848
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateHash" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>generate<wbr/>Hash</a></li>
849
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateKeyPair" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>generate<wbr/>Key<wbr/>Pair</a></li>
850
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateRandomData" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>generate<wbr/>Random<wbr/>Data</a></li>
851
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSignatureWithPrivateKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>generate<wbr/>Signature<wbr/>With<wbr/>Private<wbr/>Key</a></li>
852
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>generate<wbr/>Symmetric<wbr/>Key</a></li>
853
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSymmetricKeyFromPassword" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</a></li>
854
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getNamespace" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Namespace</a></li>
855
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPassword" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Password</a></li>
856
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPrivateKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Private<wbr/>Key</a></li>
857
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Public<wbr/>Key</a></li>
858
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getServiceName" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Service<wbr/>Name</a></li>
859
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>get<wbr/>Symmetric<wbr/>Key</a></li>
860
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#removeAllKeys" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>remove<wbr/>All<wbr/>Keys</a></li>
861
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#updatePassword" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>update<wbr/>Password</a></li>
862
- <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#verifySignatureWithPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>verify<wbr/>Signature<wbr/>With<wbr/>Public<wbr/>Key</a></li></ul></li></ul></nav></div></div>
863
- <div class="container tsd-generator">
864
- <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
865
- <div class="overlay"></div><script src="../assets/main.js"></script></body></html>