@sudoplatform/sudo-common 6.4.0 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (236) hide show
  1. package/.gitignore +2 -1
  2. package/.yarn/releases/{yarn-1.22.18.cjs → yarn-1.22.19.cjs} +13 -4
  3. package/.yarnrc +1 -1
  4. package/bin/outdated-with-suppression.sh +117 -11
  5. package/bin/suppress-outdated.sh +36 -9
  6. package/dependencies-report.json +388 -4
  7. package/docs/assets/highlight.css +11 -11
  8. package/docs/assets/main.js +4 -2
  9. package/docs/assets/search.js +1 -1
  10. package/docs/assets/style.css +427 -617
  11. package/docs/classes/AccountLockedError.html +163 -8
  12. package/docs/classes/AuthenticationError.html +168 -8
  13. package/docs/classes/Base64.html +134 -3
  14. package/docs/classes/Buffer.html +158 -3
  15. package/docs/classes/ConfigurationNotSetError.html +163 -8
  16. package/docs/classes/ConfigurationSetNotFoundError.html +168 -8
  17. package/docs/classes/DecodeError.html +168 -8
  18. package/docs/classes/DefaultConfigurationManager.html +206 -18
  19. package/docs/classes/DefaultLogger.html +291 -25
  20. package/docs/classes/DefaultSudoKeyArchive.html +337 -39
  21. package/docs/classes/DefaultSudoKeyManager.html +857 -63
  22. package/docs/classes/FatalError.html +168 -8
  23. package/docs/classes/IllegalArgumentError.html +168 -8
  24. package/docs/classes/IllegalStateError.html +168 -8
  25. package/docs/classes/InsufficientEntitlementsError.html +163 -8
  26. package/docs/classes/InvalidOwnershipProofError.html +163 -8
  27. package/docs/classes/InvalidTokenError.html +163 -8
  28. package/docs/classes/KeyArchiveDecodingError.html +168 -8
  29. package/docs/classes/KeyArchiveIncorrectPasswordError.html +168 -8
  30. package/docs/classes/KeyArchiveMissingError.html +168 -8
  31. package/docs/classes/KeyArchiveNoPasswordRequiredError.html +168 -8
  32. package/docs/classes/KeyArchivePasswordRequiredError.html +168 -8
  33. package/docs/classes/KeyArchiveTypeError.html +168 -8
  34. package/docs/classes/KeyArchiveUnknownKeyTypeError.html +168 -8
  35. package/docs/classes/KeyArchiveVersionError.html +168 -8
  36. package/docs/classes/KeyNotFoundError.html +168 -8
  37. package/docs/classes/KeyStoreNotExportableError.html +168 -8
  38. package/docs/classes/LimitExceededError.html +163 -8
  39. package/docs/classes/NoEntitlementsError.html +163 -8
  40. package/docs/classes/NotAuthorizedError.html +168 -8
  41. package/docs/classes/NotRegisteredError.html +168 -8
  42. package/docs/classes/NotSignedInError.html +163 -8
  43. package/docs/classes/OperationNotImplementedError.html +168 -8
  44. package/docs/classes/RegisterError.html +168 -8
  45. package/docs/classes/RequestFailedError.html +188 -12
  46. package/docs/classes/ServiceError.html +168 -8
  47. package/docs/classes/SignOutError.html +168 -8
  48. package/docs/classes/SudoCryptoProviderDefaults.html +106 -1
  49. package/docs/classes/UnknownGraphQLError.html +168 -8
  50. package/docs/classes/UnrecognizedAlgorithmError.html +168 -8
  51. package/docs/classes/UserNotConfirmedError.html +163 -8
  52. package/docs/classes/VersionMismatchError.html +163 -8
  53. package/docs/enums/CachePolicy.html +71 -3
  54. package/docs/enums/EncryptionAlgorithm.html +78 -3
  55. package/docs/enums/KeyArchiveKeyType.html +86 -4
  56. package/docs/enums/KeyDataKeyFormat.html +84 -10
  57. package/docs/enums/KeyDataKeyType.html +85 -3
  58. package/docs/enums/ListOperationResultStatus.html +84 -9
  59. package/docs/enums/PublicKeyFormat.html +68 -1
  60. package/docs/functions/isAppSyncNetworkError.html +147 -0
  61. package/docs/functions/isInsecureKeyArchive.html +147 -0
  62. package/docs/functions/isSecureKeyArchive.html +147 -0
  63. package/docs/functions/isUnrecognizedKeyArchive.html +147 -0
  64. package/docs/functions/keyArchiveInfoFromKeyData.html +147 -0
  65. package/docs/functions/keyArchiveKeyTypeFromKeyDataKeyType.html +147 -0
  66. package/docs/functions/mapGraphQLToClientError.html +154 -0
  67. package/docs/functions/mapNetworkErrorToClientError.html +154 -0
  68. package/docs/index.html +134 -2
  69. package/docs/interfaces/AsymmetricEncryptionOptions.html +68 -3
  70. package/docs/interfaces/BooleanFilter.html +75 -3
  71. package/docs/interfaces/ConfigurationManager.html +191 -35
  72. package/docs/interfaces/KeyData.html +106 -8
  73. package/docs/interfaces/ListOperationFailureResult.html +76 -5
  74. package/docs/interfaces/ListOperationPartialResult.html +101 -9
  75. package/docs/interfaces/ListOperationSuccessResult.html +90 -7
  76. package/docs/interfaces/ListOutput.html +80 -3
  77. package/docs/interfaces/Logger.html +251 -45
  78. package/docs/interfaces/Owner.html +72 -1
  79. package/docs/interfaces/PublicKey.html +72 -1
  80. package/docs/interfaces/ServiceCompatibilityInfo.html +106 -13
  81. package/docs/interfaces/StringFilter.html +82 -3
  82. package/docs/interfaces/SudoCryptoProvider.html +902 -175
  83. package/docs/interfaces/SudoKeyArchive.html +245 -42
  84. package/docs/interfaces/SudoKeyManager.html +884 -169
  85. package/docs/interfaces/SymmetricEncryptionOptions.html +75 -3
  86. package/docs/interfaces/ValidationResult.html +79 -7
  87. package/docs/modules.html +248 -33
  88. package/docs/types/AppSyncError.html +138 -0
  89. package/docs/types/AppSyncNetworkError.html +138 -0
  90. package/docs/types/InsecureKeyArchive.html +138 -0
  91. package/docs/types/KeyArchive.html +138 -0
  92. package/docs/types/KeyArchiveKeyInfo.html +154 -0
  93. package/docs/types/KeyArchiveKeyInfoDecoded.html +138 -0
  94. package/docs/types/ListOperationResult.html +148 -0
  95. package/docs/types/SecureKeyArchive.html +138 -0
  96. package/docs/types/Subset.html +144 -0
  97. package/docs/types/UnrecognizedKeyArchive.html +138 -0
  98. package/docs/variables/CURRENT_ARCHIVE_VERSION.html +138 -0
  99. package/docs/variables/InsecureKeyArchiveCodec.html +138 -0
  100. package/docs/variables/InsecureKeyArchiveType.html +138 -0
  101. package/docs/variables/KeyArchiveCodec.html +138 -0
  102. package/docs/variables/KeyArchiveKeyInfoArrayCodec.html +138 -0
  103. package/docs/variables/KeyArchiveKeyInfoCodec.html +138 -0
  104. package/docs/variables/KeyArchiveKeyTypeCodec.html +138 -0
  105. package/docs/variables/SecureKeyArchiveCodec.html +138 -0
  106. package/docs/variables/SecureKeyArchiveType.html +138 -0
  107. package/docs/variables/UnrecognizedKeyArchiveCodec.html +138 -0
  108. package/github/.gitignore +2 -1
  109. package/github/.yarn/releases/{yarn-1.22.18.cjs → yarn-1.22.19.cjs} +13 -4
  110. package/github/.yarnrc +1 -1
  111. package/github/bin/outdated-with-suppression.sh +117 -11
  112. package/github/bin/suppress-outdated.sh +36 -9
  113. package/github/docs/assets/highlight.css +11 -11
  114. package/github/docs/assets/main.js +4 -2
  115. package/github/docs/assets/search.js +1 -1
  116. package/github/docs/assets/style.css +427 -617
  117. package/github/docs/classes/AccountLockedError.html +163 -8
  118. package/github/docs/classes/AuthenticationError.html +168 -8
  119. package/github/docs/classes/Base64.html +134 -3
  120. package/github/docs/classes/Buffer.html +158 -3
  121. package/github/docs/classes/ConfigurationNotSetError.html +163 -8
  122. package/github/docs/classes/ConfigurationSetNotFoundError.html +168 -8
  123. package/github/docs/classes/DecodeError.html +168 -8
  124. package/github/docs/classes/DefaultConfigurationManager.html +206 -18
  125. package/github/docs/classes/DefaultLogger.html +291 -25
  126. package/github/docs/classes/DefaultSudoKeyArchive.html +337 -39
  127. package/github/docs/classes/DefaultSudoKeyManager.html +857 -63
  128. package/github/docs/classes/FatalError.html +168 -8
  129. package/github/docs/classes/IllegalArgumentError.html +168 -8
  130. package/github/docs/classes/IllegalStateError.html +168 -8
  131. package/github/docs/classes/InsufficientEntitlementsError.html +163 -8
  132. package/github/docs/classes/InvalidOwnershipProofError.html +163 -8
  133. package/github/docs/classes/InvalidTokenError.html +163 -8
  134. package/github/docs/classes/KeyArchiveDecodingError.html +168 -8
  135. package/github/docs/classes/KeyArchiveIncorrectPasswordError.html +168 -8
  136. package/github/docs/classes/KeyArchiveMissingError.html +168 -8
  137. package/github/docs/classes/KeyArchiveNoPasswordRequiredError.html +168 -8
  138. package/github/docs/classes/KeyArchivePasswordRequiredError.html +168 -8
  139. package/github/docs/classes/KeyArchiveTypeError.html +168 -8
  140. package/github/docs/classes/KeyArchiveUnknownKeyTypeError.html +168 -8
  141. package/github/docs/classes/KeyArchiveVersionError.html +168 -8
  142. package/github/docs/classes/KeyNotFoundError.html +168 -8
  143. package/github/docs/classes/KeyStoreNotExportableError.html +168 -8
  144. package/github/docs/classes/LimitExceededError.html +163 -8
  145. package/github/docs/classes/NoEntitlementsError.html +163 -8
  146. package/github/docs/classes/NotAuthorizedError.html +168 -8
  147. package/github/docs/classes/NotRegisteredError.html +168 -8
  148. package/github/docs/classes/NotSignedInError.html +163 -8
  149. package/github/docs/classes/OperationNotImplementedError.html +168 -8
  150. package/github/docs/classes/RegisterError.html +168 -8
  151. package/github/docs/classes/RequestFailedError.html +188 -12
  152. package/github/docs/classes/ServiceError.html +168 -8
  153. package/github/docs/classes/SignOutError.html +168 -8
  154. package/github/docs/classes/SudoCryptoProviderDefaults.html +106 -1
  155. package/github/docs/classes/UnknownGraphQLError.html +168 -8
  156. package/github/docs/classes/UnrecognizedAlgorithmError.html +168 -8
  157. package/github/docs/classes/UserNotConfirmedError.html +163 -8
  158. package/github/docs/classes/VersionMismatchError.html +163 -8
  159. package/github/docs/enums/CachePolicy.html +71 -3
  160. package/github/docs/enums/EncryptionAlgorithm.html +78 -3
  161. package/github/docs/enums/KeyArchiveKeyType.html +86 -4
  162. package/github/docs/enums/KeyDataKeyFormat.html +84 -10
  163. package/github/docs/enums/KeyDataKeyType.html +85 -3
  164. package/github/docs/enums/ListOperationResultStatus.html +84 -9
  165. package/github/docs/enums/PublicKeyFormat.html +68 -1
  166. package/github/docs/functions/isAppSyncNetworkError.html +147 -0
  167. package/github/docs/functions/isInsecureKeyArchive.html +147 -0
  168. package/github/docs/functions/isSecureKeyArchive.html +147 -0
  169. package/github/docs/functions/isUnrecognizedKeyArchive.html +147 -0
  170. package/github/docs/functions/keyArchiveInfoFromKeyData.html +147 -0
  171. package/github/docs/functions/keyArchiveKeyTypeFromKeyDataKeyType.html +147 -0
  172. package/github/docs/functions/mapGraphQLToClientError.html +154 -0
  173. package/github/docs/functions/mapNetworkErrorToClientError.html +154 -0
  174. package/github/docs/index.html +134 -2
  175. package/github/docs/interfaces/AsymmetricEncryptionOptions.html +68 -3
  176. package/github/docs/interfaces/BooleanFilter.html +75 -3
  177. package/github/docs/interfaces/ConfigurationManager.html +191 -35
  178. package/github/docs/interfaces/KeyData.html +106 -8
  179. package/github/docs/interfaces/ListOperationFailureResult.html +76 -5
  180. package/github/docs/interfaces/ListOperationPartialResult.html +101 -9
  181. package/github/docs/interfaces/ListOperationSuccessResult.html +90 -7
  182. package/github/docs/interfaces/ListOutput.html +80 -3
  183. package/github/docs/interfaces/Logger.html +251 -45
  184. package/github/docs/interfaces/Owner.html +72 -1
  185. package/github/docs/interfaces/PublicKey.html +72 -1
  186. package/github/docs/interfaces/ServiceCompatibilityInfo.html +106 -13
  187. package/github/docs/interfaces/StringFilter.html +82 -3
  188. package/github/docs/interfaces/SudoCryptoProvider.html +902 -175
  189. package/github/docs/interfaces/SudoKeyArchive.html +245 -42
  190. package/github/docs/interfaces/SudoKeyManager.html +884 -169
  191. package/github/docs/interfaces/SymmetricEncryptionOptions.html +75 -3
  192. package/github/docs/interfaces/ValidationResult.html +79 -7
  193. package/github/docs/modules.html +248 -33
  194. package/github/docs/types/AppSyncError.html +138 -0
  195. package/github/docs/types/AppSyncNetworkError.html +138 -0
  196. package/github/docs/types/InsecureKeyArchive.html +138 -0
  197. package/github/docs/types/KeyArchive.html +138 -0
  198. package/github/docs/types/KeyArchiveKeyInfo.html +154 -0
  199. package/github/docs/types/KeyArchiveKeyInfoDecoded.html +138 -0
  200. package/github/docs/types/ListOperationResult.html +148 -0
  201. package/github/docs/types/SecureKeyArchive.html +138 -0
  202. package/github/docs/types/Subset.html +144 -0
  203. package/github/docs/types/UnrecognizedKeyArchive.html +138 -0
  204. package/github/docs/variables/CURRENT_ARCHIVE_VERSION.html +138 -0
  205. package/github/docs/variables/InsecureKeyArchiveCodec.html +138 -0
  206. package/github/docs/variables/InsecureKeyArchiveType.html +138 -0
  207. package/github/docs/variables/KeyArchiveCodec.html +138 -0
  208. package/github/docs/variables/KeyArchiveKeyInfoArrayCodec.html +138 -0
  209. package/github/docs/variables/KeyArchiveKeyInfoCodec.html +138 -0
  210. package/github/docs/variables/KeyArchiveKeyTypeCodec.html +138 -0
  211. package/github/docs/variables/SecureKeyArchiveCodec.html +138 -0
  212. package/github/docs/variables/SecureKeyArchiveType.html +138 -0
  213. package/github/docs/variables/UnrecognizedKeyArchiveCodec.html +138 -0
  214. package/github/package.json +25 -17
  215. package/github/src/sudoKeyArchive/sudoKeyArchive.ts +1 -1
  216. package/github/src/sudoKeyManager/sudoCryptoProvider.ts +60 -1
  217. package/github/src/sudoKeyManager/sudoKeyManager.ts +84 -0
  218. package/github/test/unit/sudoKeyManager.spec.ts +41 -0
  219. package/github/yarn.lock +1012 -735
  220. package/lib/sudoKeyArchive/sudoKeyArchive.d.ts +1 -1
  221. package/lib/sudoKeyArchive/sudoKeyArchive.js +1 -1
  222. package/lib/sudoKeyManager/sudoCryptoProvider.d.ts +48 -1
  223. package/lib/sudoKeyManager/sudoKeyManager.d.ts +46 -0
  224. package/lib/sudoKeyManager/sudoKeyManager.js +20 -0
  225. package/package.json +26 -18
  226. package/src/sudoKeyArchive/sudoKeyArchive.ts +1 -1
  227. package/src/sudoKeyManager/sudoCryptoProvider.ts +60 -1
  228. package/src/sudoKeyManager/sudoKeyManager.ts +84 -0
  229. package/test/unit/sudoKeyManager.spec.ts +41 -0
  230. package/yarn.lock +1012 -735
  231. package/docs/assets/icons.css +0 -1043
  232. package/docs/assets/icons.png +0 -0
  233. package/docs/assets/icons@2x.png +0 -0
  234. package/github/docs/assets/icons.css +0 -1043
  235. package/github/docs/assets/icons.png +0 -0
  236. package/github/docs/assets/icons@2x.png +0 -0
@@ -1,180 +1,907 @@
1
- <!DOCTYPE html><html class="default"><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.body.classList.add(localStorage.getItem("tsd-theme") || "os")</script><header><div class="tsd-page-toolbar"><div class="container"><div class="table-wrap"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget search no-caption">Search</label><input type="text" id="tsd-search-field"/></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@sudoplatform/sudo-common</a></div><div class="table-cell" id="tsd-widgets"><div id="tsd-filter"><a href="#" class="tsd-widget options no-caption" data-toggle="options">Options</a><div class="tsd-filter-group"><div class="tsd-select" id="tsd-filter-visibility"><span class="tsd-select-label">All</span><ul class="tsd-select-list"><li data-value="public">Public</li><li data-value="protected">Public/Protected</li><li data-value="private" class="selected">All</li></ul></div> <input type="checkbox" id="tsd-filter-inherited" checked/><label class="tsd-widget" for="tsd-filter-inherited">Inherited</label><input type="checkbox" id="tsd-filter-externals" checked/><label class="tsd-widget" for="tsd-filter-externals">Externals</label></div></div><a href="#" class="tsd-widget menu no-caption" data-toggle="menu">Menu</a></div></div></div></div><div class="tsd-page-title"><div class="container"><ul class="tsd-breadcrumb"><li><a href="../modules.html">@sudoplatform/sudo-common</a></li><li><a href="SudoCryptoProvider.html">SudoCryptoProvider</a></li></ul><h1>Interface SudoCryptoProvider </h1></div></div></header><div class="container container-main"><div class="row"><div class="col-8 col-content"><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><div class="lead">
2
- <p>CryptoProvider instance interface</p>
3
- </div></div></section><section class="tsd-panel tsd-hierarchy"><h3>Hierarchy</h3><ul class="tsd-hierarchy"><li><span class="target">SudoCryptoProvider</span></li></ul></section><section class="tsd-panel-group tsd-index-group"><h2>Index</h2><section class="tsd-panel tsd-index-panel"><div class="tsd-index-content"><section class="tsd-index-section "><h3>Methods</h3><ul class="tsd-index-list"><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPassword" class="tsd-kind-icon">add<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPrivateKey" class="tsd-kind-icon">add<wbr/>Private<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPublicKey" class="tsd-kind-icon">add<wbr/>Public<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addSymmetricKey" class="tsd-kind-icon">add<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithPrivateKey" class="tsd-kind-icon">decrypt<wbr/>With<wbr/>Private<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithSymmetricKey" class="tsd-kind-icon">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithSymmetricKeyName" class="tsd-kind-icon">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteKeyPair" class="tsd-kind-icon">delete<wbr/>Key<wbr/>Pair</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deletePassword" class="tsd-kind-icon">delete<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteSymmetricKey" class="tsd-kind-icon">delete<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesPrivateKeyExists" class="tsd-kind-icon">does<wbr/>Private<wbr/>Key<wbr/>Exists</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesSymmetricKeyExists" class="tsd-kind-icon">does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithPublicKey" class="tsd-kind-icon">encrypt<wbr/>With<wbr/>Public<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKey" class="tsd-kind-icon">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKeyName" class="tsd-kind-icon">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#exportKeys" class="tsd-kind-icon">export<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateHash" class="tsd-kind-icon">generate<wbr/>Hash</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateKeyPair" class="tsd-kind-icon">generate<wbr/>Key<wbr/>Pair</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateRandomData" class="tsd-kind-icon">generate<wbr/>Random<wbr/>Data</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSymmetricKey" class="tsd-kind-icon">generate<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSymmetricKeyFromPassword" class="tsd-kind-icon">generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getNamespace" class="tsd-kind-icon">get<wbr/>Namespace</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPassword" class="tsd-kind-icon">get<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPrivateKey" class="tsd-kind-icon">get<wbr/>Private<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPublicKey" class="tsd-kind-icon">get<wbr/>Public<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getServiceName" class="tsd-kind-icon">get<wbr/>Service<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getSymmetricKey" class="tsd-kind-icon">get<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#removeAllKeys" class="tsd-kind-icon">remove<wbr/>All<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#updatePassword" class="tsd-kind-icon">update<wbr/>Password</a></li></ul></section></div></section></section><section class="tsd-panel-group tsd-member-group "><h2>Methods</h2><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPassword" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Password<a href="#addPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:46</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
4
- <p>Adds as password to the secure store.</p>
5
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
6
- <p>The password to store.</p>
7
- </div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
8
- <p>The name of the password.</p>
9
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPrivateKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Private<wbr/>Key<a href="#addPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:147</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
10
- <p>Adds a private key to the secure store.</p>
11
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
12
- <p>The private key to store securely.</p>
13
- </div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
14
- <p>The name of the private key to be stored.</p>
15
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPublicKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Public<wbr/>Key<a href="#addPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:171</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
16
- <p>Adds a public key to the secure store.</p>
17
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
18
- <p>The public key to store securely.</p>
19
- </div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
20
- <p>The name of the public key to be stored.</p>
21
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addSymmetricKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">add<wbr/>Symmetric<wbr/>Key<a href="#addSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:78</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
22
- <p>Adds a symmetric key to the secure store.</p>
23
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
24
- <p>The symmetric key.</p>
25
- </div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
26
- <p>The name for the symmetric key.</p>
27
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithPrivateKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">decrypt<wbr/>With<wbr/>Private<wbr/>Key<a href="#decryptWithPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:346</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
28
- <p>Decrypts the given data with the specified private key.</p>
29
- </div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
30
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
31
- <p>The name of the private key to use for decryption.</p>
32
- </div></div></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
33
- <p>The data to decrypt.</p>
34
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul><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><div><p>Decrypted data or undefined if the private key is not found.</p>
35
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<a href="#decryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:298</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Use version with <code>options</code> param.</p>
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#doesPrivateKeyExists" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Private<wbr/>Key<wbr/>Exists</span></a>
45
+ <a href="SudoCryptoProvider.html#doesSymmetricKeyExist" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</span></a>
46
+ <a href="SudoCryptoProvider.html#doesSymmetricKeyExists" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</span></a>
47
+ <a href="SudoCryptoProvider.html#encryptWithPublicKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Public<wbr/>Key</span></a>
48
+ <a href="SudoCryptoProvider.html#encryptWithSymmetricKey" class="tsd-index-link tsd-kind-method tsd-parent-kind-interface"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span></a>
49
+ <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>
50
+ <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>
51
+ <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>
52
+ <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>
53
+ <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>
54
+ <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>
55
+ <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>
56
+ <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>
57
+ <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>
58
+ <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>
59
+ <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>
60
+ <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>
61
+ <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>
62
+ <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>
63
+ <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>
64
+ <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>
65
+ <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>
66
+ </div></section></div></details></section></section>
67
+ <section class="tsd-panel-group tsd-member-group">
68
+ <h2>Methods</h2>
69
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPassword" class="tsd-anchor"></a>
70
+ <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>
71
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
72
+ <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>
73
+ <li class="tsd-description">
74
+ <div class="tsd-comment tsd-typography"><p>Adds as password to the secure store.</p>
75
+ </div>
76
+ <div class="tsd-parameters">
77
+ <h4 class="tsd-parameters-title">Parameters</h4>
78
+ <ul class="tsd-parameter-list">
79
+ <li>
80
+ <h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5>
81
+ <div class="tsd-comment tsd-typography"><p>The password to store.</p>
82
+ </div></li>
83
+ <li>
84
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
85
+ <div class="tsd-comment tsd-typography"><p>The name of the password.</p>
86
+ </div></li></ul></div>
87
+ <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">
88
+ <ul>
89
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:46</li></ul></aside></li></ul></section>
90
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPrivateKey" class="tsd-anchor"></a>
91
+ <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>
92
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
93
+ <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>
94
+ <li class="tsd-description">
95
+ <div class="tsd-comment tsd-typography"><p>Adds a private key to the secure store.</p>
96
+ </div>
97
+ <div class="tsd-parameters">
98
+ <h4 class="tsd-parameters-title">Parameters</h4>
99
+ <ul class="tsd-parameter-list">
100
+ <li>
101
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5>
102
+ <div class="tsd-comment tsd-typography"><p>The private key to store securely.</p>
103
+ </div></li>
104
+ <li>
105
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
106
+ <div class="tsd-comment tsd-typography"><p>The name of the private key to be stored.</p>
107
+ </div></li></ul></div>
108
+ <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">
109
+ <ul>
110
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:186</li></ul></aside></li></ul></section>
111
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addPublicKey" class="tsd-anchor"></a>
112
+ <h3 class="tsd-anchor-link"><span>add<wbr/>Public<wbr/>Key</span><a href="#addPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
113
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
114
+ <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>
115
+ <li class="tsd-description">
116
+ <div class="tsd-comment tsd-typography"><p>Adds a public key to the secure store.</p>
117
+ </div>
118
+ <div class="tsd-parameters">
119
+ <h4 class="tsd-parameters-title">Parameters</h4>
120
+ <ul class="tsd-parameter-list">
121
+ <li>
122
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5>
123
+ <div class="tsd-comment tsd-typography"><p>The public key to store securely.</p>
124
+ </div></li>
125
+ <li>
126
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
127
+ <div class="tsd-comment tsd-typography"><p>The name of the public key to be stored.</p>
128
+ </div></li></ul></div>
129
+ <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">
130
+ <ul>
131
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:219</li></ul></aside></li></ul></section>
132
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="addSymmetricKey" class="tsd-anchor"></a>
133
+ <h3 class="tsd-anchor-link"><span>add<wbr/>Symmetric<wbr/>Key</span><a href="#addSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
134
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
135
+ <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>
136
+ <li class="tsd-description">
137
+ <div class="tsd-comment tsd-typography"><p>Adds a symmetric key to the secure store.</p>
138
+ </div>
139
+ <div class="tsd-parameters">
140
+ <h4 class="tsd-parameters-title">Parameters</h4>
141
+ <ul class="tsd-parameter-list">
142
+ <li>
143
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5>
144
+ <div class="tsd-comment tsd-typography"><p>The symmetric key.</p>
145
+ </div></li>
146
+ <li>
147
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
148
+ <div class="tsd-comment tsd-typography"><p>The name for the symmetric key.</p>
149
+ </div></li></ul></div>
150
+ <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">
151
+ <ul>
152
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:78</li></ul></aside></li></ul></section>
153
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithPrivateKey" class="tsd-anchor"></a>
154
+ <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>
155
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
156
+ <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>
157
+ <li class="tsd-description">
158
+ <div class="tsd-comment tsd-typography"><p>Decrypts the given data with the specified private key.</p>
159
+
160
+ <h3>Returns</h3><p>Decrypted data.</p>
161
+
162
+ <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
163
+
164
+ <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
165
+ </div>
166
+ <div class="tsd-parameters">
167
+ <h4 class="tsd-parameters-title">Parameters</h4>
168
+ <ul class="tsd-parameter-list">
169
+ <li>
170
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
171
+ <div class="tsd-comment tsd-typography"><p>The name of the private key to use for decryption.</p>
172
+ </div></li>
173
+ <li>
174
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
175
+ <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
176
+ </div></li>
177
+ <li>
178
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul></div>
179
+ <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">
180
+ <ul>
181
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:405</li></ul></aside></li></ul></section>
182
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKey" class="tsd-anchor"></a>
183
+ <h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span><a href="#decryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
184
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
185
+ <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>
186
+ <li class="tsd-description">
187
+ <div class="tsd-comment tsd-typography">
188
+ <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
36
189
  <p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
37
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
38
- <p>The data to decrypt.</p>
39
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
40
- <p>Optional Initialization Vector.</p>
41
- </div></div></li></ul><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><div><p>Decrypted data</p>
42
- </div></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:314</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
190
+
191
+ <h3>Returns</h3><p>Decrypted data</p>
192
+ </div>
193
+ <div class="tsd-parameters">
194
+ <h4 class="tsd-parameters-title">Parameters</h4>
195
+ <ul class="tsd-parameter-list">
196
+ <li>
197
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
198
+ <li>
199
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
200
+ <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
201
+ </div></li>
202
+ <li>
203
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
204
+ <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
205
+ </div></li></ul></div>
206
+ <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">
207
+ <ul>
208
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:355</li></ul></aside></li>
209
+ <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>
210
+ <li class="tsd-description">
211
+ <div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
212
+
213
+ <h3>Returns</h3><p>Decrypted data</p>
214
+
215
+ <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
216
+ </div>
217
+ <div class="tsd-parameters">
218
+ <h4 class="tsd-parameters-title">Parameters</h4>
219
+ <ul class="tsd-parameter-list">
220
+ <li>
221
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
222
+ <li>
223
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
224
+ <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
225
+ </div></li>
226
+ <li>
227
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
228
+ <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">
229
+ <ul>
230
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:371</li></ul></aside></li></ul></section>
231
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKeyName" class="tsd-anchor"></a>
232
+ <h3 class="tsd-anchor-link"><span>decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span><a href="#decryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
233
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
234
+ <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>
235
+ <li class="tsd-description">
236
+ <div class="tsd-comment tsd-typography">
237
+ <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
43
238
  <p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
44
- </div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
45
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
46
- <p>The data to decrypt.</p>
47
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul><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><div><p>Decrypted data</p>
48
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="decryptWithSymmetricKeyName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<a href="#decryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:232</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Use version with <code>options</code> param.</p>
49
- <p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
50
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
51
- <p>The name of the symmetric key to use to decrypt.</p>
52
- </div></div></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
53
- <p>The data to decrypt.</p>
54
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
55
- <p>Optional Initialization Vector.</p>
56
- </div></div></li></ul><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><div><p>Decrypted data</p>
57
- </div></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:248</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
58
- <p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
59
- </div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
60
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
61
- <p>The name of the symmetric key to use to decrypt.</p>
62
- </div></div></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
63
- <p>The data to decrypt.</p>
64
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul><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><div><p>Decrypted data</p>
65
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteKeyPair" class="tsd-anchor"></a><h3 class="tsd-anchor-link">delete<wbr/>Key<wbr/>Pair<a href="#deleteKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:139</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
66
- <p>Deletes a key pair from the secure store.</p>
67
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
68
- <p>The name of the key pair to be deleted.</p>
69
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePassword" class="tsd-anchor"></a><h3 class="tsd-anchor-link">delete<wbr/>Password<a href="#deletePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:62</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
70
- <p>Deletes a password from the secure store.</p>
71
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
72
- <p>The name of the password to delete.</p>
73
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteSymmetricKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">delete<wbr/>Symmetric<wbr/>Key<a href="#deleteSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:101</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
74
- <p>Deletes a symmetric key from the secure store.</p>
75
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
76
- <p>The name of the symmetric key.</p>
77
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExists" class="tsd-anchor"></a><h3 class="tsd-anchor-link">does<wbr/>Private<wbr/>Key<wbr/>Exists<a href="#doesPrivateKeyExists" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">does<wbr/>Private<wbr/>Key<wbr/>Exists<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:163</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
78
- <p>Checks to see if the specified private key exists.</p>
79
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
80
- <p>The name of the private key.</p>
81
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExists" class="tsd-anchor"></a><h3 class="tsd-anchor-link">does<wbr/>Symmetric<wbr/>Key<wbr/>Exists<a href="#doesSymmetricKeyExists" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">does<wbr/>Symmetric<wbr/>Key<wbr/>Exists<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:94</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
82
- <p>Checks to see if the specified symmetric key exists.</p>
83
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
84
- <p>The name of the symmetric key.</p>
85
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithPublicKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">encrypt<wbr/>With<wbr/>Public<wbr/>Key<a href="#encryptWithPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:330</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
86
- <p>Encrypts the given data with the specified public key.</p>
87
- </div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
88
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
89
- <p>The name of the public key to use for encryption.</p>
90
- </div></div></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
91
- <p>The data to encrypt.</p>
92
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul><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><div><p>Encrypted data</p>
93
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<a href="#encryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:265</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Use version with <code>options</code> param.</p>
239
+
240
+ <h3>Returns</h3><p>Decrypted data</p>
241
+ </div>
242
+ <div class="tsd-parameters">
243
+ <h4 class="tsd-parameters-title">Parameters</h4>
244
+ <ul class="tsd-parameter-list">
245
+ <li>
246
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
247
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to decrypt.</p>
248
+ </div></li>
249
+ <li>
250
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
251
+ <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
252
+ </div></li>
253
+ <li>
254
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
255
+ <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
256
+ </div></li></ul></div>
257
+ <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">
258
+ <ul>
259
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:288</li></ul></aside></li>
260
+ <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>
261
+ <li class="tsd-description">
262
+ <div class="tsd-comment tsd-typography"><p>Decrypt the given data with the specified symmetric key stored in the secure store.</p>
263
+
264
+ <h3>Returns</h3><p>Decrypted data</p>
265
+
266
+ <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
267
+
268
+ <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
269
+ </div>
270
+ <div class="tsd-parameters">
271
+ <h4 class="tsd-parameters-title">Parameters</h4>
272
+ <ul class="tsd-parameter-list">
273
+ <li>
274
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
275
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to decrypt.</p>
276
+ </div></li>
277
+ <li>
278
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
279
+ <div class="tsd-comment tsd-typography"><p>The data to decrypt.</p>
280
+ </div></li>
281
+ <li>
282
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
283
+ <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">
284
+ <ul>
285
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:305</li></ul></aside></li></ul></section>
286
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteKeyPair" class="tsd-anchor"></a>
287
+ <h3 class="tsd-anchor-link"><span>delete<wbr/>Key<wbr/>Pair</span><a href="#deleteKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
288
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
289
+ <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>
290
+ <li class="tsd-description">
291
+ <div class="tsd-comment tsd-typography"><p>Deletes a key pair from the secure store.</p>
292
+ </div>
293
+ <div class="tsd-parameters">
294
+ <h4 class="tsd-parameters-title">Parameters</h4>
295
+ <ul class="tsd-parameter-list">
296
+ <li>
297
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
298
+ <div class="tsd-comment tsd-typography"><p>The name of the key pair to be deleted.</p>
299
+ </div></li></ul></div>
300
+ <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">
301
+ <ul>
302
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:148</li></ul></aside></li></ul></section>
303
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePassword" class="tsd-anchor"></a>
304
+ <h3 class="tsd-anchor-link"><span>delete<wbr/>Password</span><a href="#deletePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
305
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
306
+ <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>
307
+ <li class="tsd-description">
308
+ <div class="tsd-comment tsd-typography"><p>Deletes a password from the secure store.</p>
309
+ </div>
310
+ <div class="tsd-parameters">
311
+ <h4 class="tsd-parameters-title">Parameters</h4>
312
+ <ul class="tsd-parameter-list">
313
+ <li>
314
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
315
+ <div class="tsd-comment tsd-typography"><p>The name of the password to delete.</p>
316
+ </div></li></ul></div>
317
+ <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">
318
+ <ul>
319
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:62</li></ul></aside></li></ul></section>
320
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deletePublicKey" class="tsd-anchor"></a>
321
+ <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>
322
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
323
+ <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>
324
+ <li class="tsd-description">
325
+ <div class="tsd-comment tsd-typography"><p>Deletes the specified public key from the secure store.</p>
326
+ </div>
327
+ <div class="tsd-parameters">
328
+ <h4 class="tsd-parameters-title">Parameters</h4>
329
+ <ul class="tsd-parameter-list">
330
+ <li>
331
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
332
+ <div class="tsd-comment tsd-typography"><p>The name of the public key to be removed.</p>
333
+ </div></li></ul></div>
334
+ <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">
335
+ <ul>
336
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:226</li></ul></aside></li></ul></section>
337
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="deleteSymmetricKey" class="tsd-anchor"></a>
338
+ <h3 class="tsd-anchor-link"><span>delete<wbr/>Symmetric<wbr/>Key</span><a href="#deleteSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
339
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
340
+ <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>
341
+ <li class="tsd-description">
342
+ <div class="tsd-comment tsd-typography"><p>Deletes a symmetric key from the secure store.</p>
343
+ </div>
344
+ <div class="tsd-parameters">
345
+ <h4 class="tsd-parameters-title">Parameters</h4>
346
+ <ul class="tsd-parameter-list">
347
+ <li>
348
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
349
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
350
+ </div></li></ul></div>
351
+ <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">
352
+ <ul>
353
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:110</li></ul></aside></li></ul></section>
354
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExist" class="tsd-anchor"></a>
355
+ <h3 class="tsd-anchor-link"><span>does<wbr/>Private<wbr/>Key<wbr/>Exist</span><a href="#doesPrivateKeyExist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
356
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
357
+ <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>
358
+ <li class="tsd-description">
359
+ <div class="tsd-comment tsd-typography"><p>Checks to see if the specified private key exists.</p>
360
+ </div>
361
+ <div class="tsd-parameters">
362
+ <h4 class="tsd-parameters-title">Parameters</h4>
363
+ <ul class="tsd-parameter-list">
364
+ <li>
365
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
366
+ <div class="tsd-comment tsd-typography"><p>The name of the private key.</p>
367
+ </div></li></ul></div>
368
+ <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">
369
+ <ul>
370
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:202</li></ul></aside></li></ul></section>
371
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesPrivateKeyExists" class="tsd-anchor"></a>
372
+ <h3 class="tsd-anchor-link"><span>does<wbr/>Private<wbr/>Key<wbr/>Exists</span><a href="#doesPrivateKeyExists" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
373
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
374
+ <li class="tsd-signature tsd-anchor-link" id="doesPrivateKeyExists.doesPrivateKeyExists-1">does<wbr/>Private<wbr/>Key<wbr/>Exists<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#doesPrivateKeyExists.doesPrivateKeyExists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
375
+ <li class="tsd-description">
376
+ <div class="tsd-comment tsd-typography"><p>Checks to see if the specified private key exists.</p>
377
+
378
+ <h3>Deprecated</h3><p>Use doesPrivateKeyExist</p>
379
+ </div>
380
+ <div class="tsd-parameters">
381
+ <h4 class="tsd-parameters-title">Parameters</h4>
382
+ <ul class="tsd-parameter-list">
383
+ <li>
384
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
385
+ <div class="tsd-comment tsd-typography"><p>The name of the private key.</p>
386
+ </div></li></ul></div>
387
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
388
+ <ul>
389
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:211</li></ul></aside></li></ul></section>
390
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExist" class="tsd-anchor"></a>
391
+ <h3 class="tsd-anchor-link"><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</span><a href="#doesSymmetricKeyExist" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
392
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
393
+ <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>
394
+ <li class="tsd-description">
395
+ <div class="tsd-comment tsd-typography"><p>Checks to see if the specified symmetric key exists.</p>
396
+ </div>
397
+ <div class="tsd-parameters">
398
+ <h4 class="tsd-parameters-title">Parameters</h4>
399
+ <ul class="tsd-parameter-list">
400
+ <li>
401
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
402
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
403
+ </div></li></ul></div>
404
+ <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">
405
+ <ul>
406
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:94</li></ul></aside></li></ul></section>
407
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="doesSymmetricKeyExists" class="tsd-anchor"></a>
408
+ <h3 class="tsd-anchor-link"><span>does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</span><a href="#doesSymmetricKeyExists" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
409
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
410
+ <li class="tsd-signature tsd-anchor-link" id="doesSymmetricKeyExists.doesSymmetricKeyExists-1">does<wbr/>Symmetric<wbr/>Key<wbr/>Exists<span class="tsd-signature-symbol">(</span>name<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span><a href="#doesSymmetricKeyExists.doesSymmetricKeyExists-1" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></li>
411
+ <li class="tsd-description">
412
+ <div class="tsd-comment tsd-typography"><p>Checks to see if the specified symmetric key exists.</p>
413
+
414
+ <h3>Deprecated</h3><p>Use doesSymmetricKeyExist</p>
415
+ </div>
416
+ <div class="tsd-parameters">
417
+ <h4 class="tsd-parameters-title">Parameters</h4>
418
+ <ul class="tsd-parameter-list">
419
+ <li>
420
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
421
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
422
+ </div></li></ul></div>
423
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol">&gt;</span></h4><aside class="tsd-sources">
424
+ <ul>
425
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:103</li></ul></aside></li></ul></section>
426
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithPublicKey" class="tsd-anchor"></a>
427
+ <h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Public<wbr/>Key</span><a href="#encryptWithPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
428
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
429
+ <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>
430
+ <li class="tsd-description">
431
+ <div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified public key.</p>
432
+
433
+ <h3>Returns</h3><p>Encrypted data</p>
434
+
435
+ <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
436
+
437
+ <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
438
+ </div>
439
+ <div class="tsd-parameters">
440
+ <h4 class="tsd-parameters-title">Parameters</h4>
441
+ <ul class="tsd-parameter-list">
442
+ <li>
443
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
444
+ <div class="tsd-comment tsd-typography"><p>The name of the public key to use for encryption.</p>
445
+ </div></li>
446
+ <li>
447
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
448
+ <div class="tsd-comment tsd-typography"><p>The data to encrypt.</p>
449
+ </div></li>
450
+ <li>
451
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="AsymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">AsymmetricEncryptionOptions</a></h5></li></ul></div>
452
+ <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">
453
+ <ul>
454
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:388</li></ul></aside></li></ul></section>
455
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKey" class="tsd-anchor"></a>
456
+ <h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</span><a href="#encryptWithSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
457
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
458
+ <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>
459
+ <li class="tsd-description">
460
+ <div class="tsd-comment tsd-typography">
461
+ <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
94
462
  <p>Encrypts the given data with the specified key</p>
95
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
96
- <p>Data to encrypt.</p>
97
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
98
- <p>Optional Initialization Vector.</p>
99
- </div></div></li></ul><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><div><p>Encrypted data and IV</p>
100
- </div></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:281</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
101
- <p>Encrypts the given data with the specified key</p>
102
- </div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
103
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
104
- <p>Data to encrypt.</p>
105
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul><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><div><p>Encrypted data and IV</p>
106
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKeyName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name<a href="#encryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:198</li></ul></aside><div class="tsd-comment tsd-typography"><dl class="tsd-comment-tags"><dt>deprecated</dt><dd><p>Use version with <code>options</code> param.</p>
107
- <p>Encrypts the given data with the specified symmetric key stored in the secure store.</p>
108
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
109
- <p>The name of the symmetric key to use to encrypt.</p>
110
- </div></div></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
111
- <p>Data to encrypt.</p>
112
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
113
- <p>Optional Initialization Vector.</p>
114
- </div></div></li></ul><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><div><p>Encrypted data and IV</p>
115
- </div></li><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:215</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
463
+
464
+ <h3>Returns</h3><p>Encrypted data and IV</p>
465
+ </div>
466
+ <div class="tsd-parameters">
467
+ <h4 class="tsd-parameters-title">Parameters</h4>
468
+ <ul class="tsd-parameter-list">
469
+ <li>
470
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
471
+ <li>
472
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
473
+ <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
474
+ </div></li>
475
+ <li>
476
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
477
+ <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
478
+ </div></li></ul></div>
479
+ <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">
480
+ <ul>
481
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:322</li></ul></aside></li>
482
+ <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>
483
+ <li class="tsd-description">
484
+ <div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified key</p>
485
+
486
+ <h3>Returns</h3><p>Encrypted data and IV</p>
487
+
488
+ <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
489
+ </div>
490
+ <div class="tsd-parameters">
491
+ <h4 class="tsd-parameters-title">Parameters</h4>
492
+ <ul class="tsd-parameter-list">
493
+ <li>
494
+ <h5>key: <span class="tsd-signature-type">ArrayBuffer</span></h5></li>
495
+ <li>
496
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
497
+ <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
498
+ </div></li>
499
+ <li>
500
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
501
+ <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">
502
+ <ul>
503
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:338</li></ul></aside></li></ul></section>
504
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="encryptWithSymmetricKeyName" class="tsd-anchor"></a>
505
+ <h3 class="tsd-anchor-link"><span>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</span><a href="#encryptWithSymmetricKeyName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
506
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
507
+ <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>
508
+ <li class="tsd-description">
509
+ <div class="tsd-comment tsd-typography">
510
+ <h3>Deprecated</h3><p>Use version with <code>options</code> param.</p>
116
511
  <p>Encrypts the given data with the specified symmetric key stored in the secure store.</p>
117
- </div><dl class="tsd-comment-tags"><dt>throws</dt><dd><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
118
- </dd></dl></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
119
- <p>The name of the symmetric key to use to encrypt.</p>
120
- </div></div></li><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
121
- <p>Data to encrypt.</p>
122
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul><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><div><p>Encrypted data and IV</p>
123
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="exportKeys" class="tsd-anchor"></a><h3 class="tsd-anchor-link">export<wbr/>Keys<a href="#exportKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:374</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
124
- <p>Export all keys and passwords from the key store as an
512
+
513
+ <h3>Returns</h3><p>Encrypted data and IV</p>
514
+ </div>
515
+ <div class="tsd-parameters">
516
+ <h4 class="tsd-parameters-title">Parameters</h4>
517
+ <ul class="tsd-parameter-list">
518
+ <li>
519
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
520
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to encrypt.</p>
521
+ </div></li>
522
+ <li>
523
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
524
+ <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
525
+ </div></li>
526
+ <li>
527
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> iv: <span class="tsd-signature-type">ArrayBuffer</span></h5>
528
+ <div class="tsd-comment tsd-typography"><p>Optional Initialization Vector.</p>
529
+ </div></li></ul></div>
530
+ <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">
531
+ <ul>
532
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:253</li></ul></aside></li>
533
+ <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>
534
+ <li class="tsd-description">
535
+ <div class="tsd-comment tsd-typography"><p>Encrypts the given data with the specified symmetric key stored in the secure store.</p>
536
+
537
+ <h3>Returns</h3><p>Encrypted data and IV</p>
538
+
539
+ <h3>Throws</h3><p><a href="../classes/UnrecognizedAlgorithmError.html">UnrecognizedAlgorithmError</a></p>
540
+
541
+ <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></p>
542
+ </div>
543
+ <div class="tsd-parameters">
544
+ <h4 class="tsd-parameters-title">Parameters</h4>
545
+ <ul class="tsd-parameter-list">
546
+ <li>
547
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
548
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key to use to encrypt.</p>
549
+ </div></li>
550
+ <li>
551
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
552
+ <div class="tsd-comment tsd-typography"><p>Data to encrypt.</p>
553
+ </div></li>
554
+ <li>
555
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> options: <a href="SymmetricEncryptionOptions.html" class="tsd-signature-type" data-tsd-kind="Interface">SymmetricEncryptionOptions</a></h5></li></ul></div>
556
+ <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">
557
+ <ul>
558
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:271</li></ul></aside></li></ul></section>
559
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="exportKeys" class="tsd-anchor"></a>
560
+ <h3 class="tsd-anchor-link"><span>export<wbr/>Keys</span><a href="#exportKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
561
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
562
+ <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>
563
+ <li class="tsd-description">
564
+ <div class="tsd-comment tsd-typography"><p>Export all keys and passwords from the key store as an
125
565
  array of KeyData items.</p>
126
- </div></div><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><div><p>Array of exported keys and passwords</p>
127
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateHash" class="tsd-anchor"></a><h3 class="tsd-anchor-link">generate<wbr/>Hash<a href="#generateHash" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:366</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
128
- <p>Creates a SHA256 hash of the specified data.</p>
129
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
130
- <p>Data to hash.</p>
131
- </div></div></li></ul><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><div><p>The SHA256 hash of data</p>
132
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateKeyPair" class="tsd-anchor"></a><h3 class="tsd-anchor-link">generate<wbr/>Key<wbr/>Pair<a href="#generateKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:357</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
133
- <p>Generates and securely stores a key pair for public key cryptography.</p>
134
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
135
- <p>The name of the key pair to be generated.</p>
136
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateRandomData" class="tsd-anchor"></a><h3 class="tsd-anchor-link">generate<wbr/>Random<wbr/>Data<a href="#generateRandomData" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:132</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
137
- <p>Generate random bytes using a secure random number generator.</p>
138
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>size: <span class="tsd-signature-type">number</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
139
- <p>Number of random bytes to generate</p>
140
- </div></div></li></ul><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><div><p>ArrayBuffer containing the random bytes.</p>
141
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">generate<wbr/>Symmetric<wbr/>Key<a href="#generateSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:108</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
142
- <p>Generates a symmetric key and stores it securely.</p>
143
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
144
- <p>The name for the symmetric key.</p>
145
- </div></div></li></ul><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKeyFromPassword" class="tsd-anchor"></a><h3 class="tsd-anchor-link">generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password<a href="#generateSymmetricKeyFromPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:119</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
146
- <p>Generates a symmetric key from a password using PBKDF2.</p>
147
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
148
- <p>The password from which to generate the symmetric key</p>
149
- </div></div></li><li><h5>salt: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
150
- <p>Salt to use in generation of the key</p>
151
- </div></div></li><li><h5><span class="tsd-flag ts-flagOptional">Optional</span> 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><ul class="tsd-parameters"><li class="tsd-parameter"><h5><span class="tsd-flag ts-flagOptional">Optional</span> rounds<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul><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><div><p>The generated symmetric key.</p>
152
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getNamespace" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Namespace<a href="#getNamespace" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:37</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPassword" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Password<a href="#getPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:55</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
153
- <p>Retrieves a password from the secure store.</p>
154
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
155
- <p>The name of the password to retrieve.</p>
156
- </div></div></li></ul><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><div><p>The password or undefined if a password with the given name was not found.</p>
157
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPrivateKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Private<wbr/>Key<a href="#getPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:156</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
158
- <p>Retrieves a private key from the secure store.</p>
159
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
160
- <p>The name of the private key to be retrieved.</p>
161
- </div></div></li></ul><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><div><p>Requested private key or undefined if the key was not found.</p>
162
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPublicKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Public<wbr/>Key<a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:180</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
163
- <p>Retrieves the public key from the secure store.</p>
164
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
165
- <p>The name of the public key.</p>
166
- </div></div></li></ul><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><div><p>The public key or undefined if the key was not found.</p>
167
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getServiceName" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Service<wbr/>Name<a href="#getServiceName" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:38</li></ul></aside><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getSymmetricKey" class="tsd-anchor"></a><h3 class="tsd-anchor-link">get<wbr/>Symmetric<wbr/>Key<a href="#getSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:87</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
168
- <p>Retrieves a symmetric key from the secure store.</p>
169
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
170
- <p>The name of the symmetric key.</p>
171
- </div></div></li></ul><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><div><p>The symmetric key or undefined if not found.</p>
172
- </div></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="removeAllKeys" class="tsd-anchor"></a><h3 class="tsd-anchor-link">remove<wbr/>All<wbr/>Keys<a href="#removeAllKeys" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:185</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
173
- <p>Clear all types of keys</p>
174
- </div></div><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></li></ul></section><section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="updatePassword" class="tsd-anchor"></a><h3 class="tsd-anchor-link">update<wbr/>Password<a href="#updatePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg xmlns="http://www.w3.org/2000/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"></path><path d="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5"></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"></path></svg></a></h3><ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface"><li class="tsd-signature tsd-kind-icon">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></li></ul><ul class="tsd-descriptions"><li class="tsd-description"><aside class="tsd-sources"><ul><li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:70</li></ul></aside><div class="tsd-comment tsd-typography"><div class="lead">
175
- <p>Updates a password stored in the secure store.</p>
176
- </div></div><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameters"><li><h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
177
- <p>The new password.</p>
178
- </div></div></li><li><h5>name: <span class="tsd-signature-type">string</span></h5><div class="tsd-comment tsd-typography"><div class="lead">
179
- <p>The name of the password to update.</p>
180
- </div></div></li></ul><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></li></ul></section></section></div><div class="col-4 col-menu menu-sticky-wrap menu-highlight"><nav class="tsd-navigation primary"><ul><li class=""><a href="../modules.html">Exports</a></li></ul></nav><nav class="tsd-navigation secondary menu-sticky"><ul><li class="current tsd-kind-interface"><a href="SudoCryptoProvider.html" class="tsd-kind-icon">Sudo<wbr/>Crypto<wbr/>Provider</a><ul><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPassword" class="tsd-kind-icon">add<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPrivateKey" class="tsd-kind-icon">add<wbr/>Private<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addPublicKey" class="tsd-kind-icon">add<wbr/>Public<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#addSymmetricKey" class="tsd-kind-icon">add<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithPrivateKey" class="tsd-kind-icon">decrypt<wbr/>With<wbr/>Private<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithSymmetricKey" class="tsd-kind-icon">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#decryptWithSymmetricKeyName" class="tsd-kind-icon">decrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteKeyPair" class="tsd-kind-icon">delete<wbr/>Key<wbr/>Pair</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deletePassword" class="tsd-kind-icon">delete<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteSymmetricKey" class="tsd-kind-icon">delete<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesPrivateKeyExists" class="tsd-kind-icon">does<wbr/>Private<wbr/>Key<wbr/>Exists</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesSymmetricKeyExists" class="tsd-kind-icon">does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithPublicKey" class="tsd-kind-icon">encrypt<wbr/>With<wbr/>Public<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKey" class="tsd-kind-icon">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKeyName" class="tsd-kind-icon">encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#exportKeys" class="tsd-kind-icon">export<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateHash" class="tsd-kind-icon">generate<wbr/>Hash</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateKeyPair" class="tsd-kind-icon">generate<wbr/>Key<wbr/>Pair</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateRandomData" class="tsd-kind-icon">generate<wbr/>Random<wbr/>Data</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSymmetricKey" class="tsd-kind-icon">generate<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#generateSymmetricKeyFromPassword" class="tsd-kind-icon">generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getNamespace" class="tsd-kind-icon">get<wbr/>Namespace</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPassword" class="tsd-kind-icon">get<wbr/>Password</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPrivateKey" class="tsd-kind-icon">get<wbr/>Private<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getPublicKey" class="tsd-kind-icon">get<wbr/>Public<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getServiceName" class="tsd-kind-icon">get<wbr/>Service<wbr/>Name</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#getSymmetricKey" class="tsd-kind-icon">get<wbr/>Symmetric<wbr/>Key</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#removeAllKeys" class="tsd-kind-icon">remove<wbr/>All<wbr/>Keys</a></li><li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#updatePassword" class="tsd-kind-icon">update<wbr/>Password</a></li></ul></li></ul></nav></div></div></div><footer class="with-border-bottom"><div class="container"><h2>Legend</h2><div class="tsd-legend-group"><ul class="tsd-legend"><li class="tsd-kind-constructor tsd-parent-kind-class"><span class="tsd-kind-icon">Constructor</span></li><li class="tsd-kind-property tsd-parent-kind-class"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-class"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-interface"><span class="tsd-kind-icon">Property</span></li><li class="tsd-kind-method tsd-parent-kind-interface"><span class="tsd-kind-icon">Method</span></li></ul><ul class="tsd-legend"><li class="tsd-kind-property tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static property</span></li><li class="tsd-kind-method tsd-parent-kind-class tsd-is-static"><span class="tsd-kind-icon">Static method</span></li></ul></div><h2>Settings</h2><p>Theme <select id="theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></p></div></footer><div class="container tsd-generator"><p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div><div class="overlay"></div><script src="../assets/main.js"></script></body></html>
566
+
567
+ <h3>Returns</h3><p>Array of exported keys and passwords</p>
568
+ </div>
569
+ <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">
570
+ <ul>
571
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:433</li></ul></aside></li></ul></section>
572
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateHash" class="tsd-anchor"></a>
573
+ <h3 class="tsd-anchor-link"><span>generate<wbr/>Hash</span><a href="#generateHash" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
574
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
575
+ <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>
576
+ <li class="tsd-description">
577
+ <div class="tsd-comment tsd-typography"><p>Creates a SHA256 hash of the specified data.</p>
578
+
579
+ <h3>Returns</h3><p>The SHA256 hash of data</p>
580
+ </div>
581
+ <div class="tsd-parameters">
582
+ <h4 class="tsd-parameters-title">Parameters</h4>
583
+ <ul class="tsd-parameter-list">
584
+ <li>
585
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
586
+ <div class="tsd-comment tsd-typography"><p>Data to hash.</p>
587
+ </div></li></ul></div>
588
+ <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">
589
+ <ul>
590
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:425</li></ul></aside></li></ul></section>
591
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateKeyPair" class="tsd-anchor"></a>
592
+ <h3 class="tsd-anchor-link"><span>generate<wbr/>Key<wbr/>Pair</span><a href="#generateKeyPair" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
593
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
594
+ <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>
595
+ <li class="tsd-description">
596
+ <div class="tsd-comment tsd-typography"><p>Generates and securely stores a key pair for public key cryptography.</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 key pair to be generated.</p>
604
+ </div></li></ul></div>
605
+ <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">
606
+ <ul>
607
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:416</li></ul></aside></li></ul></section>
608
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateRandomData" class="tsd-anchor"></a>
609
+ <h3 class="tsd-anchor-link"><span>generate<wbr/>Random<wbr/>Data</span><a href="#generateRandomData" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
610
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
611
+ <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>
612
+ <li class="tsd-description">
613
+ <div class="tsd-comment tsd-typography"><p>Generate random bytes using a secure random number generator.</p>
614
+
615
+ <h3>Returns</h3><p>ArrayBuffer containing the random bytes.</p>
616
+ </div>
617
+ <div class="tsd-parameters">
618
+ <h4 class="tsd-parameters-title">Parameters</h4>
619
+ <ul class="tsd-parameter-list">
620
+ <li>
621
+ <h5>size: <span class="tsd-signature-type">number</span></h5>
622
+ <div class="tsd-comment tsd-typography"><p>Number of random bytes to generate</p>
623
+ </div></li></ul></div>
624
+ <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">
625
+ <ul>
626
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:141</li></ul></aside></li></ul></section>
627
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSignatureWithPrivateKey" class="tsd-anchor"></a>
628
+ <h3 class="tsd-anchor-link"><span>generate<wbr/>Signature<wbr/>With<wbr/>Private<wbr/>Key</span><a href="#generateSignatureWithPrivateKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
629
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
630
+ <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>
631
+ <li class="tsd-description">
632
+ <div class="tsd-comment tsd-typography"><p>Generates a signature for the given data with the specified private key.</p>
633
+
634
+ <h3>Returns</h3><p>Data signature</p>
635
+
636
+ <h3>Throws</h3><p><a href="../classes/KeyNotFoundError.html">KeyNotFoundError</a></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>name: <span class="tsd-signature-type">string</span></h5>
643
+ <div class="tsd-comment tsd-typography"><p>The name of the private key to use for generation.</p>
644
+ </div></li>
645
+ <li>
646
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
647
+ <div class="tsd-comment tsd-typography"><p>The data to sign.</p>
648
+ </div></li></ul></div>
649
+ <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">
650
+ <ul>
651
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:160</li></ul></aside></li></ul></section>
652
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKey" class="tsd-anchor"></a>
653
+ <h3 class="tsd-anchor-link"><span>generate<wbr/>Symmetric<wbr/>Key</span><a href="#generateSymmetricKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
654
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
655
+ <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>
656
+ <li class="tsd-description">
657
+ <div class="tsd-comment tsd-typography"><p>Generates a symmetric key and stores it securely.</p>
658
+ </div>
659
+ <div class="tsd-parameters">
660
+ <h4 class="tsd-parameters-title">Parameters</h4>
661
+ <ul class="tsd-parameter-list">
662
+ <li>
663
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
664
+ <div class="tsd-comment tsd-typography"><p>The name for the symmetric key.</p>
665
+ </div></li></ul></div>
666
+ <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">
667
+ <ul>
668
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:117</li></ul></aside></li></ul></section>
669
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="generateSymmetricKeyFromPassword" class="tsd-anchor"></a>
670
+ <h3 class="tsd-anchor-link"><span>generate<wbr/>Symmetric<wbr/>Key<wbr/>From<wbr/>Password</span><a href="#generateSymmetricKeyFromPassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
671
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
672
+ <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>
673
+ <li class="tsd-description">
674
+ <div class="tsd-comment tsd-typography"><p>Generates a symmetric key from a password using PBKDF2.</p>
675
+
676
+ <h3>Returns</h3><p>The generated symmetric key.</p>
677
+ </div>
678
+ <div class="tsd-parameters">
679
+ <h4 class="tsd-parameters-title">Parameters</h4>
680
+ <ul class="tsd-parameter-list">
681
+ <li>
682
+ <h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5>
683
+ <div class="tsd-comment tsd-typography"><p>The password from which to generate the symmetric key</p>
684
+ </div></li>
685
+ <li>
686
+ <h5>salt: <span class="tsd-signature-type">ArrayBuffer</span></h5>
687
+ <div class="tsd-comment tsd-typography"><p>Salt to use in generation of the key</p>
688
+ </div></li>
689
+ <li>
690
+ <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>
691
+ <ul class="tsd-parameters">
692
+ <li class="tsd-parameter">
693
+ <h5><code class="tsd-tag ts-flagOptional">Optional</code> rounds<span class="tsd-signature-symbol">?: </span><span class="tsd-signature-type">number</span></h5></li></ul></li></ul></div>
694
+ <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">
695
+ <ul>
696
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:128</li></ul></aside></li></ul></section>
697
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getNamespace" class="tsd-anchor"></a>
698
+ <h3 class="tsd-anchor-link"><span>get<wbr/>Namespace</span><a href="#getNamespace" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
699
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
700
+ <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>
701
+ <li class="tsd-description">
702
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
703
+ <ul>
704
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:37</li></ul></aside></li></ul></section>
705
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPassword" class="tsd-anchor"></a>
706
+ <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>
707
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
708
+ <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>
709
+ <li class="tsd-description">
710
+ <div class="tsd-comment tsd-typography"><p>Retrieves a password from the secure store.</p>
711
+
712
+ <h3>Returns</h3><p>The password or undefined if a password with the given name was not found.</p>
713
+ </div>
714
+ <div class="tsd-parameters">
715
+ <h4 class="tsd-parameters-title">Parameters</h4>
716
+ <ul class="tsd-parameter-list">
717
+ <li>
718
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
719
+ <div class="tsd-comment tsd-typography"><p>The name of the password to retrieve.</p>
720
+ </div></li></ul></div>
721
+ <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">
722
+ <ul>
723
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:55</li></ul></aside></li></ul></section>
724
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPrivateKey" class="tsd-anchor"></a>
725
+ <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>
726
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
727
+ <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>
728
+ <li class="tsd-description">
729
+ <div class="tsd-comment tsd-typography"><p>Retrieves a private key from the secure store.</p>
730
+
731
+ <h3>Returns</h3><p>Requested private key or undefined if the key was not found.</p>
732
+ </div>
733
+ <div class="tsd-parameters">
734
+ <h4 class="tsd-parameters-title">Parameters</h4>
735
+ <ul class="tsd-parameter-list">
736
+ <li>
737
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
738
+ <div class="tsd-comment tsd-typography"><p>The name of the private key to be retrieved.</p>
739
+ </div></li></ul></div>
740
+ <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">
741
+ <ul>
742
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:195</li></ul></aside></li></ul></section>
743
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getPublicKey" class="tsd-anchor"></a>
744
+ <h3 class="tsd-anchor-link"><span>get<wbr/>Public<wbr/>Key</span><a href="#getPublicKey" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
745
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
746
+ <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>
747
+ <li class="tsd-description">
748
+ <div class="tsd-comment tsd-typography"><p>Retrieves the public key from the secure store.</p>
749
+
750
+ <h3>Returns</h3><p>The public key or undefined if the key was not found.</p>
751
+ </div>
752
+ <div class="tsd-parameters">
753
+ <h4 class="tsd-parameters-title">Parameters</h4>
754
+ <ul class="tsd-parameter-list">
755
+ <li>
756
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
757
+ <div class="tsd-comment tsd-typography"><p>The name of the public key.</p>
758
+ </div></li></ul></div>
759
+ <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">
760
+ <ul>
761
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:235</li></ul></aside></li></ul></section>
762
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getServiceName" class="tsd-anchor"></a>
763
+ <h3 class="tsd-anchor-link"><span>get<wbr/>Service<wbr/>Name</span><a href="#getServiceName" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
764
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
765
+ <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>
766
+ <li class="tsd-description">
767
+ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</span></h4><aside class="tsd-sources">
768
+ <ul>
769
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:38</li></ul></aside></li></ul></section>
770
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="getSymmetricKey" class="tsd-anchor"></a>
771
+ <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>
772
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
773
+ <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>
774
+ <li class="tsd-description">
775
+ <div class="tsd-comment tsd-typography"><p>Retrieves a symmetric key from the secure store.</p>
776
+
777
+ <h3>Returns</h3><p>The symmetric key or undefined if not found.</p>
778
+ </div>
779
+ <div class="tsd-parameters">
780
+ <h4 class="tsd-parameters-title">Parameters</h4>
781
+ <ul class="tsd-parameter-list">
782
+ <li>
783
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
784
+ <div class="tsd-comment tsd-typography"><p>The name of the symmetric key.</p>
785
+ </div></li></ul></div>
786
+ <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">
787
+ <ul>
788
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:87</li></ul></aside></li></ul></section>
789
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="removeAllKeys" class="tsd-anchor"></a>
790
+ <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>
791
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
792
+ <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>
793
+ <li class="tsd-description">
794
+ <div class="tsd-comment tsd-typography"><p>Clear all types of keys</p>
795
+ </div>
796
+ <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">
797
+ <ul>
798
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:240</li></ul></aside></li></ul></section>
799
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="updatePassword" class="tsd-anchor"></a>
800
+ <h3 class="tsd-anchor-link"><span>update<wbr/>Password</span><a href="#updatePassword" aria-label="Permalink" class="tsd-anchor-icon"><svg class="icon icon-tabler icon-tabler-link" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round"><use href="#icon-anchor-a"></use><use href="#icon-anchor-b"></use><use href="#icon-anchor-c"></use></svg></a></h3>
801
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
802
+ <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>
803
+ <li class="tsd-description">
804
+ <div class="tsd-comment tsd-typography"><p>Updates a password stored in the secure store.</p>
805
+ </div>
806
+ <div class="tsd-parameters">
807
+ <h4 class="tsd-parameters-title">Parameters</h4>
808
+ <ul class="tsd-parameter-list">
809
+ <li>
810
+ <h5>password: <span class="tsd-signature-type">ArrayBuffer</span></h5>
811
+ <div class="tsd-comment tsd-typography"><p>The new password.</p>
812
+ </div></li>
813
+ <li>
814
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
815
+ <div class="tsd-comment tsd-typography"><p>The name of the password to update.</p>
816
+ </div></li></ul></div>
817
+ <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">
818
+ <ul>
819
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:70</li></ul></aside></li></ul></section>
820
+ <section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-interface"><a id="verifySignatureWithPublicKey" class="tsd-anchor"></a>
821
+ <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>
822
+ <ul class="tsd-signatures tsd-kind-method tsd-parent-kind-interface">
823
+ <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>
824
+ <li class="tsd-description">
825
+ <div class="tsd-comment tsd-typography"><p>Verifies the given data against the provided signature using the specified public key.</p>
826
+
827
+ <h3>Returns</h3><p>True if the data and signature could be successfully verified</p>
828
+ </div>
829
+ <div class="tsd-parameters">
830
+ <h4 class="tsd-parameters-title">Parameters</h4>
831
+ <ul class="tsd-parameter-list">
832
+ <li>
833
+ <h5>name: <span class="tsd-signature-type">string</span></h5>
834
+ <div class="tsd-comment tsd-typography"><p>The name of the public key to use for validation.</p>
835
+ </div></li>
836
+ <li>
837
+ <h5>data: <span class="tsd-signature-type">ArrayBuffer</span></h5>
838
+ <div class="tsd-comment tsd-typography"><p>The data to verify</p>
839
+ </div></li>
840
+ <li>
841
+ <h5>signature: <span class="tsd-signature-type">ArrayBuffer</span></h5>
842
+ <div class="tsd-comment tsd-typography"><p>The signature to verify against</p>
843
+ </div></li></ul></div>
844
+ <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">
845
+ <ul>
846
+ <li>Defined in src/sudoKeyManager/sudoCryptoProvider.ts:174</li></ul></aside></li></ul></section></section></div>
847
+ <div class="col-4 col-menu menu-sticky-wrap menu-highlight">
848
+ <div class="tsd-navigation settings">
849
+ <details class="tsd-index-accordion"><summary class="tsd-accordion-summary">
850
+ <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>
851
+ <div class="tsd-accordion-details">
852
+ <div class="tsd-filter-visibility">
853
+ <h4 class="uppercase">Member Visibility</h4><form>
854
+ <ul id="tsd-filter-options">
855
+ <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>
856
+ <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>
857
+ <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>
858
+ <div class="tsd-theme-toggle">
859
+ <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>
860
+ <nav class="tsd-navigation primary">
861
+ <details class="tsd-index-accordion" open><summary class="tsd-accordion-summary">
862
+ <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>
863
+ <div class="tsd-accordion-details">
864
+ <ul>
865
+ <li><a href="../modules.html">@sudoplatform/sudo-<wbr/>common</a>
866
+ <ul></ul></li></ul></div></details></nav>
867
+ <nav class="tsd-navigation secondary menu-sticky">
868
+ <ul>
869
+ <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>
870
+ <ul>
871
+ <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>
872
+ <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>
873
+ <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>
874
+ <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>
875
+ <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>
876
+ <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>
877
+ <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>
878
+ <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>
879
+ <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>
880
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deletePublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Public<wbr/>Key</a></li>
881
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#deleteSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>delete<wbr/>Symmetric<wbr/>Key</a></li>
882
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesPrivateKeyExist" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Private<wbr/>Key<wbr/>Exist</a></li>
883
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesPrivateKeyExists" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Private<wbr/>Key<wbr/>Exists</a></li>
884
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesSymmetricKeyExist" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Symmetric<wbr/>Key<wbr/>Exist</a></li>
885
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#doesSymmetricKeyExists" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>does<wbr/>Symmetric<wbr/>Key<wbr/>Exists</a></li>
886
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithPublicKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Public<wbr/>Key</a></li>
887
+ <li class="tsd-kind-method tsd-parent-kind-interface"><a href="SudoCryptoProvider.html#encryptWithSymmetricKey" class="tsd-index-link"><svg class="tsd-kind-icon" width="24" height="24" viewBox="0 0 24 24"><use href="#icon-2048-path"></use><use href="#icon-2048-text"></use></svg>encrypt<wbr/>With<wbr/>Symmetric<wbr/>Key</a></li>
888
+ <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>
889
+ <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>
890
+ <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>
891
+ <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>
892
+ <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>
893
+ <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>
894
+ <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>
895
+ <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>
896
+ <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>
897
+ <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>
898
+ <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>
899
+ <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>
900
+ <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>
901
+ <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>
902
+ <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>
903
+ <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>
904
+ <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>
905
+ <div class="container tsd-generator">
906
+ <p>Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></div>
907
+ <div class="overlay"></div><script src="../assets/main.js"></script></body></html>