@tsonic/dotnet 10.0.40 → 10.0.42

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 (341) hide show
  1. package/Internal/bindings.json +5 -5
  2. package/Internal/internal/index.d.ts +4 -3
  3. package/Internal.d.ts +4 -0
  4. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  5. package/Microsoft.CSharp.RuntimeBinder.d.ts +4 -0
  6. package/Microsoft.VisualBasic/bindings.json +13 -13
  7. package/Microsoft.VisualBasic/internal/index.d.ts +5 -7
  8. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +3 -5
  9. package/Microsoft.VisualBasic.CompilerServices.d.ts +4 -0
  10. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -3
  11. package/Microsoft.VisualBasic.FileIO.d.ts +4 -0
  12. package/Microsoft.VisualBasic.d.ts +4 -0
  13. package/Microsoft.Win32/internal/index.d.ts +19 -18
  14. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  15. package/Microsoft.Win32.SafeHandles.d.ts +4 -0
  16. package/Microsoft.Win32.d.ts +4 -0
  17. package/README.md +83 -104
  18. package/System/bindings.json +1858 -2297
  19. package/System/internal/index.d.ts +1972 -2010
  20. package/System.Buffers/bindings.json +12 -3
  21. package/System.Buffers/internal/index.d.ts +56 -58
  22. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  23. package/System.Buffers.Binary.d.ts +4 -0
  24. package/System.Buffers.Text/internal/index.d.ts +2 -4
  25. package/System.Buffers.Text.d.ts +4 -0
  26. package/System.Buffers.d.ts +10 -6
  27. package/System.CodeDom.Compiler/internal/index.d.ts +31 -30
  28. package/System.CodeDom.Compiler.d.ts +4 -0
  29. package/System.Collections/bindings.json +300 -300
  30. package/System.Collections/internal/index.d.ts +90 -92
  31. package/System.Collections.Concurrent/bindings.json +311 -311
  32. package/System.Collections.Concurrent/internal/index.d.ts +83 -85
  33. package/System.Collections.Concurrent.d.ts +7 -3
  34. package/System.Collections.Frozen/bindings.json +490 -648
  35. package/System.Collections.Frozen/internal/index.d.ts +95 -109
  36. package/System.Collections.Frozen.d.ts +18 -2
  37. package/System.Collections.Generic/bindings.json +9628 -14043
  38. package/System.Collections.Generic/internal/index.d.ts +632 -827
  39. package/System.Collections.Generic.d.ts +20 -16
  40. package/System.Collections.Immutable/bindings.json +6134 -9214
  41. package/System.Collections.Immutable/internal/index.d.ts +414 -502
  42. package/System.Collections.Immutable.d.ts +58 -17
  43. package/System.Collections.ObjectModel/bindings.json +328 -850
  44. package/System.Collections.ObjectModel/internal/index.d.ts +42 -62
  45. package/System.Collections.ObjectModel.d.ts +6 -2
  46. package/System.Collections.Specialized/bindings.json +79 -202
  47. package/System.Collections.Specialized/internal/index.d.ts +72 -85
  48. package/System.Collections.Specialized.d.ts +4 -0
  49. package/System.Collections.d.ts +4 -0
  50. package/System.ComponentModel/bindings.json +271 -210
  51. package/System.ComponentModel/internal/index.d.ts +562 -547
  52. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +126 -125
  53. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  54. package/System.ComponentModel.DataAnnotations.Schema.d.ts +4 -0
  55. package/System.ComponentModel.DataAnnotations.d.ts +4 -0
  56. package/System.ComponentModel.Design/bindings.json +40 -310
  57. package/System.ComponentModel.Design/internal/index.d.ts +85 -93
  58. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +42 -41
  59. package/System.ComponentModel.Design.Serialization.d.ts +4 -0
  60. package/System.ComponentModel.Design.d.ts +4 -0
  61. package/System.ComponentModel.d.ts +5 -0
  62. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  63. package/System.Configuration.Assemblies.d.ts +4 -0
  64. package/System.Data/bindings.json +128 -125
  65. package/System.Data/internal/index.d.ts +341 -340
  66. package/System.Data.Common/bindings.json +68 -68
  67. package/System.Data.Common/internal/index.d.ts +135 -136
  68. package/System.Data.Common.d.ts +4 -0
  69. package/System.Data.SqlTypes/internal/index.d.ts +55 -54
  70. package/System.Data.SqlTypes.d.ts +4 -0
  71. package/System.Data.d.ts +8 -4
  72. package/System.Diagnostics/bindings.json +6324 -6509
  73. package/System.Diagnostics/internal/index.d.ts +435 -437
  74. package/System.Diagnostics.CodeAnalysis/bindings.json +121 -121
  75. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  76. package/System.Diagnostics.CodeAnalysis.d.ts +4 -0
  77. package/System.Diagnostics.Contracts/bindings.json +62 -62
  78. package/System.Diagnostics.Contracts/internal/index.d.ts +23 -25
  79. package/System.Diagnostics.Contracts.d.ts +4 -0
  80. package/System.Diagnostics.Metrics/internal/index.d.ts +82 -84
  81. package/System.Diagnostics.Metrics.d.ts +7 -3
  82. package/System.Diagnostics.SymbolStore/bindings.json +2 -2
  83. package/System.Diagnostics.SymbolStore/internal/index.d.ts +11 -10
  84. package/System.Diagnostics.SymbolStore.d.ts +4 -0
  85. package/System.Diagnostics.Tracing/bindings.json +291 -231
  86. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  87. package/System.Diagnostics.Tracing.d.ts +6 -1
  88. package/System.Diagnostics.d.ts +5 -1
  89. package/System.Drawing/internal/index.d.ts +76 -75
  90. package/System.Drawing.d.ts +4 -0
  91. package/System.Dynamic/bindings.json +13 -13
  92. package/System.Dynamic/internal/index.d.ts +35 -36
  93. package/System.Dynamic.d.ts +4 -0
  94. package/System.Formats.Asn1/bindings.json +48 -69
  95. package/System.Formats.Asn1/internal/index.d.ts +30 -37
  96. package/System.Formats.Asn1.d.ts +4 -0
  97. package/System.Formats.Tar/internal/index.d.ts +8 -7
  98. package/System.Formats.Tar.d.ts +4 -0
  99. package/System.Globalization/bindings.json +3 -3
  100. package/System.Globalization/internal/index.d.ts +35 -37
  101. package/System.Globalization.d.ts +4 -0
  102. package/System.IO/bindings.json +957 -957
  103. package/System.IO/internal/index.d.ts +183 -185
  104. package/System.IO.Compression/internal/index.d.ts +33 -35
  105. package/System.IO.Compression.d.ts +4 -0
  106. package/System.IO.Enumeration/bindings.json +402 -402
  107. package/System.IO.Enumeration/internal/index.d.ts +21 -23
  108. package/System.IO.Enumeration.d.ts +4 -0
  109. package/System.IO.IsolatedStorage/internal/index.d.ts +16 -15
  110. package/System.IO.IsolatedStorage.d.ts +4 -0
  111. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  112. package/System.IO.MemoryMappedFiles.d.ts +4 -0
  113. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  114. package/System.IO.Pipelines.d.ts +4 -0
  115. package/System.IO.Pipes/internal/index.d.ts +8 -7
  116. package/System.IO.Pipes.d.ts +4 -0
  117. package/System.IO.d.ts +4 -0
  118. package/System.Linq/bindings.json +22 -22
  119. package/System.Linq/internal/index.d.ts +705 -705
  120. package/System.Linq.Expressions/internal/index.d.ts +219 -195
  121. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  122. package/System.Linq.Expressions.Interpreter.d.ts +4 -0
  123. package/System.Linq.Expressions.d.ts +6 -2
  124. package/System.Linq.d.ts +18 -14
  125. package/System.Net/bindings.json +131 -131
  126. package/System.Net/internal/index.d.ts +276 -278
  127. package/System.Net.Cache/internal/index.d.ts +3 -2
  128. package/System.Net.Cache.d.ts +4 -0
  129. package/System.Net.Http/bindings.json +22 -22
  130. package/System.Net.Http/internal/index.d.ts +128 -130
  131. package/System.Net.Http.Headers/bindings.json +36 -200
  132. package/System.Net.Http.Headers/internal/index.d.ts +114 -128
  133. package/System.Net.Http.Headers.d.ts +4 -0
  134. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  135. package/System.Net.Http.Json.d.ts +4 -0
  136. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  137. package/System.Net.Http.Metrics.d.ts +4 -0
  138. package/System.Net.Http.d.ts +5 -1
  139. package/System.Net.Mail/bindings.json +96 -96
  140. package/System.Net.Mail/internal/index.d.ts +78 -80
  141. package/System.Net.Mail.d.ts +4 -0
  142. package/System.Net.Mime/internal/index.d.ts +11 -10
  143. package/System.Net.Mime.d.ts +4 -0
  144. package/System.Net.NetworkInformation/bindings.json +40 -40
  145. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  146. package/System.Net.NetworkInformation.d.ts +4 -0
  147. package/System.Net.Quic/internal/index.d.ts +11 -10
  148. package/System.Net.Quic.d.ts +4 -0
  149. package/System.Net.Security/internal/index.d.ts +90 -92
  150. package/System.Net.Security.d.ts +4 -0
  151. package/System.Net.ServerSentEvents/internal/index.d.ts +13 -12
  152. package/System.Net.ServerSentEvents.d.ts +7 -3
  153. package/System.Net.Sockets/internal/index.d.ts +91 -93
  154. package/System.Net.Sockets.d.ts +4 -0
  155. package/System.Net.WebSockets/bindings.json +101 -101
  156. package/System.Net.WebSockets/internal/index.d.ts +49 -48
  157. package/System.Net.WebSockets.d.ts +4 -0
  158. package/System.Net.d.ts +4 -0
  159. package/System.Numerics/bindings.json +547 -119
  160. package/System.Numerics/internal/index.d.ts +302 -304
  161. package/System.Numerics.d.ts +38 -34
  162. package/System.Reflection/bindings.json +870 -870
  163. package/System.Reflection/internal/index.d.ts +257 -259
  164. package/System.Reflection.Emit/bindings.json +754 -754
  165. package/System.Reflection.Emit/internal/index.d.ts +114 -114
  166. package/System.Reflection.Emit.d.ts +4 -0
  167. package/System.Reflection.Metadata/bindings.json +535 -3018
  168. package/System.Reflection.Metadata/internal/index.d.ts +188 -369
  169. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +16 -18
  170. package/System.Reflection.Metadata.Ecma335.d.ts +4 -0
  171. package/System.Reflection.Metadata.d.ts +9 -5
  172. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  173. package/System.Reflection.PortableExecutable/internal/index.d.ts +25 -12
  174. package/System.Reflection.PortableExecutable.d.ts +5 -0
  175. package/System.Reflection.d.ts +4 -0
  176. package/System.Resources/bindings.json +3 -3
  177. package/System.Resources/internal/index.d.ts +33 -35
  178. package/System.Resources.d.ts +4 -0
  179. package/System.Runtime/bindings.json +9 -9
  180. package/System.Runtime/internal/index.d.ts +11 -10
  181. package/System.Runtime.CompilerServices/bindings.json +962 -1160
  182. package/System.Runtime.CompilerServices/internal/index.d.ts +280 -304
  183. package/System.Runtime.CompilerServices.d.ts +30 -16
  184. package/System.Runtime.ConstrainedExecution/bindings.json +9 -9
  185. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  186. package/System.Runtime.ConstrainedExecution.d.ts +4 -0
  187. package/System.Runtime.ExceptionServices/bindings.json +9 -9
  188. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -2
  189. package/System.Runtime.ExceptionServices.d.ts +4 -0
  190. package/System.Runtime.InteropServices/bindings.json +666 -666
  191. package/System.Runtime.InteropServices/internal/index.d.ts +250 -252
  192. package/System.Runtime.InteropServices.ComTypes/bindings.json +349 -349
  193. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +22 -24
  194. package/System.Runtime.InteropServices.ComTypes.d.ts +4 -0
  195. package/System.Runtime.InteropServices.Java/bindings.json +12 -12
  196. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -5
  197. package/System.Runtime.InteropServices.Java.d.ts +4 -0
  198. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  199. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +70 -72
  200. package/System.Runtime.InteropServices.JavaScript.d.ts +14 -28
  201. package/System.Runtime.InteropServices.Marshalling/bindings.json +2422 -2422
  202. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +317 -319
  203. package/System.Runtime.InteropServices.Marshalling.d.ts +4 -0
  204. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +151 -151
  205. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +16 -18
  206. package/System.Runtime.InteropServices.ObjectiveC.d.ts +4 -0
  207. package/System.Runtime.InteropServices.Swift/bindings.json +4 -4
  208. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +5 -7
  209. package/System.Runtime.InteropServices.Swift.d.ts +6 -2
  210. package/System.Runtime.InteropServices.d.ts +6 -2
  211. package/System.Runtime.Intrinsics/bindings.json +64 -16
  212. package/System.Runtime.Intrinsics/internal/index.d.ts +515 -517
  213. package/System.Runtime.Intrinsics.Arm/bindings.json +31 -31
  214. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  215. package/System.Runtime.Intrinsics.Arm.d.ts +4 -0
  216. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  217. package/System.Runtime.Intrinsics.Wasm.d.ts +4 -0
  218. package/System.Runtime.Intrinsics.X86/bindings.json +38 -38
  219. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  220. package/System.Runtime.Intrinsics.X86.d.ts +4 -0
  221. package/System.Runtime.Intrinsics.d.ts +12 -8
  222. package/System.Runtime.Loader/bindings.json +48 -69
  223. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  224. package/System.Runtime.Loader.d.ts +4 -0
  225. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  226. package/System.Runtime.Remoting.d.ts +4 -0
  227. package/System.Runtime.Serialization/bindings.json +13 -13
  228. package/System.Runtime.Serialization/internal/index.d.ts +124 -126
  229. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +28 -30
  230. package/System.Runtime.Serialization.DataContracts.d.ts +4 -0
  231. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  232. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +8 -7
  233. package/System.Runtime.Serialization.Formatters.Binary.d.ts +4 -0
  234. package/System.Runtime.Serialization.Formatters.d.ts +4 -0
  235. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  236. package/System.Runtime.Serialization.Json.d.ts +4 -0
  237. package/System.Runtime.Serialization.d.ts +4 -0
  238. package/System.Runtime.Versioning/bindings.json +13 -13
  239. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  240. package/System.Runtime.Versioning.d.ts +4 -0
  241. package/System.Runtime.d.ts +4 -0
  242. package/System.Security/bindings.json +5 -5
  243. package/System.Security/internal/index.d.ts +64 -66
  244. package/System.Security.AccessControl/bindings.json +137 -33
  245. package/System.Security.AccessControl/internal/index.d.ts +62 -61
  246. package/System.Security.AccessControl.d.ts +13 -8
  247. package/System.Security.Authentication/internal/index.d.ts +7 -6
  248. package/System.Security.Authentication.ExtendedProtection/bindings.json +5 -5
  249. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  250. package/System.Security.Authentication.ExtendedProtection.d.ts +4 -0
  251. package/System.Security.Authentication.d.ts +4 -0
  252. package/System.Security.Claims/internal/index.d.ts +45 -44
  253. package/System.Security.Claims.d.ts +4 -0
  254. package/System.Security.Cryptography/bindings.json +509 -509
  255. package/System.Security.Cryptography/internal/index.d.ts +268 -269
  256. package/System.Security.Cryptography.X509Certificates/bindings.json +312 -374
  257. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +96 -103
  258. package/System.Security.Cryptography.X509Certificates.d.ts +4 -0
  259. package/System.Security.Cryptography.d.ts +4 -0
  260. package/System.Security.Permissions/internal/index.d.ts +5 -4
  261. package/System.Security.Permissions.d.ts +4 -0
  262. package/System.Security.Policy/bindings.json +5 -5
  263. package/System.Security.Policy/internal/index.d.ts +9 -8
  264. package/System.Security.Policy.d.ts +4 -0
  265. package/System.Security.Principal/bindings.json +8 -8
  266. package/System.Security.Principal/internal/index.d.ts +30 -29
  267. package/System.Security.Principal.d.ts +4 -0
  268. package/System.Security.d.ts +4 -0
  269. package/System.Text/bindings.json +1577 -1577
  270. package/System.Text/internal/index.d.ts +121 -123
  271. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  272. package/System.Text.Encodings.Web.d.ts +4 -0
  273. package/System.Text.Json/bindings.json +0 -290
  274. package/System.Text.Json/internal/index.d.ts +143 -161
  275. package/System.Text.Json.Nodes/bindings.json +27 -27
  276. package/System.Text.Json.Nodes/internal/index.d.ts +63 -65
  277. package/System.Text.Json.Nodes.d.ts +4 -0
  278. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  279. package/System.Text.Json.Schema.d.ts +4 -0
  280. package/System.Text.Json.Serialization/internal/index.d.ts +37 -39
  281. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +120 -119
  282. package/System.Text.Json.Serialization.Metadata.d.ts +6 -2
  283. package/System.Text.Json.Serialization.d.ts +10 -6
  284. package/System.Text.Json.d.ts +4 -0
  285. package/System.Text.RegularExpressions/bindings.json +414 -578
  286. package/System.Text.RegularExpressions/internal/index.d.ts +48 -62
  287. package/System.Text.RegularExpressions.d.ts +4 -0
  288. package/System.Text.Unicode/bindings.json +508 -508
  289. package/System.Text.Unicode/internal/index.d.ts +29 -31
  290. package/System.Text.Unicode.d.ts +4 -0
  291. package/System.Text.d.ts +4 -0
  292. package/System.Threading/bindings.json +61 -61
  293. package/System.Threading/internal/index.d.ts +156 -158
  294. package/System.Threading.Channels/internal/index.d.ts +31 -33
  295. package/System.Threading.Channels.d.ts +8 -4
  296. package/System.Threading.Tasks/bindings.json +142 -39
  297. package/System.Threading.Tasks/internal/index.d.ts +250 -247
  298. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +121 -122
  299. package/System.Threading.Tasks.Dataflow.d.ts +18 -14
  300. package/System.Threading.Tasks.Sources/bindings.json +9 -9
  301. package/System.Threading.Tasks.Sources/internal/index.d.ts +11 -10
  302. package/System.Threading.Tasks.Sources.d.ts +6 -2
  303. package/System.Threading.Tasks.d.ts +12 -8
  304. package/System.Threading.d.ts +4 -0
  305. package/System.Timers/internal/index.d.ts +8 -7
  306. package/System.Timers.d.ts +4 -0
  307. package/System.Transactions/internal/index.d.ts +31 -30
  308. package/System.Transactions.d.ts +4 -0
  309. package/System.Web/internal/index.d.ts +32 -31
  310. package/System.Web.d.ts +4 -0
  311. package/System.Windows.Input/internal/index.d.ts +5 -4
  312. package/System.Windows.Input.d.ts +4 -0
  313. package/System.Windows.Markup/internal/index.d.ts +3 -2
  314. package/System.Windows.Markup.d.ts +4 -0
  315. package/System.Xml/bindings.json +27 -27
  316. package/System.Xml/internal/index.d.ts +376 -378
  317. package/System.Xml.Linq/bindings.json +6 -6
  318. package/System.Xml.Linq/internal/index.d.ts +101 -100
  319. package/System.Xml.Linq.d.ts +4 -0
  320. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  321. package/System.Xml.Resolvers.d.ts +4 -0
  322. package/System.Xml.Schema/bindings.json +100 -100
  323. package/System.Xml.Schema/internal/index.d.ts +231 -230
  324. package/System.Xml.Schema.d.ts +4 -0
  325. package/System.Xml.Serialization/bindings.json +250 -57
  326. package/System.Xml.Serialization/internal/index.d.ts +274 -242
  327. package/System.Xml.Serialization.d.ts +6 -0
  328. package/System.Xml.XPath/bindings.json +1 -1
  329. package/System.Xml.XPath/internal/index.d.ts +37 -36
  330. package/System.Xml.XPath.d.ts +4 -0
  331. package/System.Xml.Xsl/bindings.json +1 -1
  332. package/System.Xml.Xsl/internal/index.d.ts +50 -49
  333. package/System.Xml.Xsl.Runtime/bindings.json +74 -71
  334. package/System.Xml.Xsl.Runtime/internal/index.d.ts +38 -40
  335. package/System.Xml.Xsl.Runtime.d.ts +4 -0
  336. package/System.Xml.Xsl.d.ts +4 -0
  337. package/System.Xml.d.ts +4 -0
  338. package/System.d.ts +126 -122
  339. package/__internal/extensions/index.d.ts +1335 -1338
  340. package/families.json +63 -7
  341. package/package.json +2 -2
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Security.Cryptography
3
3
  // Assembly: System.Private.CoreLib, System.Security.Cryptography
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { SafeNCryptKeyHandle, SafeNCryptProviderHandle, SafeNCryptSecretHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
@@ -119,16 +117,6 @@ export enum DSASignatureFormat {
119
117
  }
120
118
 
121
119
 
122
- export enum ECCurve_ECCurveType {
123
- Implicit = 0,
124
- PrimeShortWeierstrass = 1,
125
- PrimeTwistedEdwards = 2,
126
- PrimeMontgomery = 3,
127
- Characteristic2 = 4,
128
- Named = 5
129
- }
130
-
131
-
132
120
  export enum ECDiffieHellmanKeyDerivationFunction {
133
121
  Hash = 0,
134
122
  Hmac = 1,
@@ -233,15 +221,15 @@ export interface CngProperty$instance {
233
221
 
234
222
  Name: string;
235
223
  readonly Options: CngPropertyOptions;
236
- Equals(obj: unknown): boolean;
224
+ Equals(obj: unknown | null): boolean;
237
225
  Equals(other: CngProperty): boolean;
238
226
  GetHashCode(): int;
239
- GetValue(): byte[] | undefined;
227
+ GetValue(): byte[] | null;
240
228
  }
241
229
 
242
230
 
243
231
  export const CngProperty: {
244
- new(name: string, value: byte[], options: CngPropertyOptions): CngProperty;
232
+ new(name: string, value: byte[] | null, options: CngPropertyOptions): CngProperty;
245
233
  };
246
234
 
247
235
 
@@ -258,13 +246,13 @@ export type CngProperty = CngProperty$instance & __CngProperty$views;
258
246
  export interface DSAParameters$instance {
259
247
  readonly __tsonic_type_System_Security_Cryptography_DSAParameters: never;
260
248
 
261
- P: byte[] | undefined;
262
- Q: byte[] | undefined;
263
- G: byte[] | undefined;
264
- Y: byte[] | undefined;
265
- J: byte[] | undefined;
266
- X: byte[] | undefined;
267
- Seed: byte[] | undefined;
249
+ P: byte[] | null;
250
+ Q: byte[] | null;
251
+ G: byte[] | null;
252
+ Y: byte[] | null;
253
+ J: byte[] | null;
254
+ X: byte[] | null;
255
+ Seed: byte[] | null;
268
256
  Counter: int;
269
257
  }
270
258
 
@@ -279,16 +267,16 @@ export type DSAParameters = DSAParameters$instance;
279
267
  export interface ECCurve$instance {
280
268
  readonly __tsonic_type_System_Security_Cryptography_ECCurve: never;
281
269
 
282
- A: byte[] | undefined;
283
- B: byte[] | undefined;
270
+ A: byte[] | null;
271
+ B: byte[] | null;
284
272
  G: ECPoint;
285
- Order: byte[] | undefined;
286
- Cofactor: byte[] | undefined;
287
- Seed: byte[] | undefined;
273
+ Order: byte[] | null;
274
+ Cofactor: byte[] | null;
275
+ Seed: byte[] | null;
288
276
  CurveType: ECCurve_ECCurveType;
289
277
  Hash: Nullable_1<HashAlgorithmName>;
290
- Polynomial: byte[] | undefined;
291
- Prime: byte[] | undefined;
278
+ Polynomial: byte[] | null;
279
+ Prime: byte[] | null;
292
280
  readonly IsCharacteristic2: boolean;
293
281
  readonly IsExplicit: boolean;
294
282
  readonly IsNamed: boolean;
@@ -308,11 +296,44 @@ export const ECCurve: {
308
296
 
309
297
  export type ECCurve = ECCurve$instance;
310
298
 
299
+ export enum ECCurve_ECCurveType {
300
+ Implicit = 0,
301
+ PrimeShortWeierstrass = 1,
302
+ PrimeTwistedEdwards = 2,
303
+ PrimeMontgomery = 3,
304
+ Characteristic2 = 4,
305
+ Named = 5
306
+ }
307
+
308
+
309
+ export abstract class ECCurve_NamedCurves$instance {
310
+ static readonly brainpoolP160r1: ECCurve;
311
+ static readonly brainpoolP160t1: ECCurve;
312
+ static readonly brainpoolP192r1: ECCurve;
313
+ static readonly brainpoolP192t1: ECCurve;
314
+ static readonly brainpoolP224r1: ECCurve;
315
+ static readonly brainpoolP224t1: ECCurve;
316
+ static readonly brainpoolP256r1: ECCurve;
317
+ static readonly brainpoolP256t1: ECCurve;
318
+ static readonly brainpoolP320r1: ECCurve;
319
+ static readonly brainpoolP320t1: ECCurve;
320
+ static readonly brainpoolP384r1: ECCurve;
321
+ static readonly brainpoolP384t1: ECCurve;
322
+ static readonly brainpoolP512r1: ECCurve;
323
+ static readonly brainpoolP512t1: ECCurve;
324
+ static readonly nistP256: ECCurve;
325
+ static readonly nistP384: ECCurve;
326
+ static readonly nistP521: ECCurve;
327
+ }
328
+
329
+
330
+ export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
331
+
311
332
  export interface ECParameters$instance {
312
333
  readonly __tsonic_type_System_Security_Cryptography_ECParameters: never;
313
334
 
314
335
  Q: ECPoint;
315
- D: byte[] | undefined;
336
+ D: byte[] | null;
316
337
  Curve: ECCurve;
317
338
  Validate(): void;
318
339
  }
@@ -328,8 +349,8 @@ export type ECParameters = ECParameters$instance;
328
349
  export interface ECPoint$instance {
329
350
  readonly __tsonic_type_System_Security_Cryptography_ECPoint: never;
330
351
 
331
- X: byte[] | undefined;
332
- Y: byte[] | undefined;
352
+ X: byte[] | null;
353
+ Y: byte[] | null;
333
354
  }
334
355
 
335
356
 
@@ -345,8 +366,8 @@ export interface HashAlgorithmName$instance {
345
366
 
346
367
  readonly __tsonic_iface_System_IEquatable_1: never;
347
368
 
348
- readonly Name: string | undefined;
349
- Equals(obj: unknown): boolean;
369
+ readonly Name: string | null;
370
+ Equals(obj: unknown | null): boolean;
350
371
  Equals(other: HashAlgorithmName): boolean;
351
372
  GetHashCode(): int;
352
373
  ToString(): string;
@@ -354,7 +375,7 @@ export interface HashAlgorithmName$instance {
354
375
 
355
376
 
356
377
  export const HashAlgorithmName: {
357
- new(name: string): HashAlgorithmName;
378
+ new(name: string | null): HashAlgorithmName;
358
379
  readonly MD5: HashAlgorithmName;
359
380
  readonly SHA1: HashAlgorithmName;
360
381
  readonly SHA256: HashAlgorithmName;
@@ -398,14 +419,14 @@ export type PemFields = PemFields$instance;
398
419
  export interface RSAParameters$instance {
399
420
  readonly __tsonic_type_System_Security_Cryptography_RSAParameters: never;
400
421
 
401
- D: byte[] | undefined;
402
- DP: byte[] | undefined;
403
- DQ: byte[] | undefined;
404
- Exponent: byte[] | undefined;
405
- InverseQ: byte[] | undefined;
406
- Modulus: byte[] | undefined;
407
- P: byte[] | undefined;
408
- Q: byte[] | undefined;
422
+ D: byte[] | null;
423
+ DP: byte[] | null;
424
+ DQ: byte[] | null;
425
+ Exponent: byte[] | null;
426
+ InverseQ: byte[] | null;
427
+ Modulus: byte[] | null;
428
+ P: byte[] | null;
429
+ Q: byte[] | null;
409
430
  }
410
431
 
411
432
 
@@ -450,10 +471,10 @@ export interface AesCcm$instance extends System_Internal.IDisposable$instance {
450
471
 
451
472
  readonly __tsonic_iface_System_IDisposable: never;
452
473
 
453
- Decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
474
+ Decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | null): void;
454
475
  Decrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: ReadOnlySpan_1<System_Internal.Byte>, tag: ReadOnlySpan_1<System_Internal.Byte>, plaintext: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
455
476
  Dispose(): void;
456
- Encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
477
+ Encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | null): void;
457
478
  Encrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, plaintext: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: Span_1<System_Internal.Byte>, tag: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
458
479
  }
459
480
 
@@ -479,9 +500,9 @@ export interface AesCng$instance extends Aes$instance {
479
500
 
480
501
  readonly __tsonic_iface_System_IDisposable: never;
481
502
 
482
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
503
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
483
504
  CreateDecryptor(): ICryptoTransform;
484
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
505
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
485
506
  CreateEncryptor(): ICryptoTransform;
486
507
  GenerateIV(): void;
487
508
  GenerateKey(): void;
@@ -519,9 +540,9 @@ export interface AesCryptoServiceProvider$instance extends Aes$instance {
519
540
  Mode: CipherMode;
520
541
  Padding: PaddingMode;
521
542
  CreateDecryptor(): ICryptoTransform;
522
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
543
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
523
544
  CreateEncryptor(): ICryptoTransform;
524
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
545
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
525
546
  Dispose(disposing: boolean): void;
526
547
  Dispose(): void;
527
548
  GenerateIV(): void;
@@ -548,10 +569,10 @@ export interface AesGcm$instance extends System_Internal.IDisposable$instance {
548
569
  readonly __tsonic_iface_System_IDisposable: never;
549
570
 
550
571
  readonly TagSizeInBytes: Nullable_1<System_Internal.Int32>;
551
- Decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
572
+ Decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | null): void;
552
573
  Decrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: ReadOnlySpan_1<System_Internal.Byte>, tag: ReadOnlySpan_1<System_Internal.Byte>, plaintext: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
553
574
  Dispose(): void;
554
- Encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
575
+ Encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | null): void;
555
576
  Encrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, plaintext: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: Span_1<System_Internal.Byte>, tag: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
556
577
  }
557
578
 
@@ -589,9 +610,9 @@ export interface AesManaged$instance extends Aes$instance {
589
610
  Mode: CipherMode;
590
611
  Padding: PaddingMode;
591
612
  CreateDecryptor(): ICryptoTransform;
592
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
613
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
593
614
  CreateEncryptor(): ICryptoTransform;
594
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
615
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
595
616
  Dispose(disposing: boolean): void;
596
617
  Dispose(): void;
597
618
  GenerateIV(): void;
@@ -615,8 +636,8 @@ export type AesManaged = AesManaged$instance & __AesManaged$views;
615
636
  export interface AsnEncodedData$instance {
616
637
  readonly __tsonic_type_System_Security_Cryptography_AsnEncodedData: never;
617
638
 
618
- get Oid(): Oid | undefined;
619
- set Oid(value: Oid | undefined);
639
+ get Oid(): Oid | null;
640
+ set Oid(value: Oid | null);
620
641
  RawData: byte[];
621
642
  CopyFrom(asnEncodedData: AsnEncodedData): void;
622
643
  Format(multiLine: boolean): string;
@@ -627,9 +648,9 @@ export const AsnEncodedData: {
627
648
  new(rawData: byte[]): AsnEncodedData;
628
649
  new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
629
650
  new(asnEncodedData: AsnEncodedData): AsnEncodedData;
630
- new(oid: Oid, rawData: byte[]): AsnEncodedData;
651
+ new(oid: Oid | null, rawData: byte[]): AsnEncodedData;
631
652
  new(oid: string, rawData: byte[]): AsnEncodedData;
632
- new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
653
+ new(oid: Oid | null, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
633
654
  new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
634
655
  };
635
656
 
@@ -693,10 +714,10 @@ export interface AsymmetricAlgorithm$instance {
693
714
 
694
715
  readonly __tsonic_iface_System_IDisposable: never;
695
716
 
696
- readonly KeyExchangeAlgorithm: string | string | undefined;
717
+ readonly KeyExchangeAlgorithm: string | string | null;
697
718
  KeySize: int;
698
719
  readonly LegalKeySizes: KeySizes[];
699
- readonly SignatureAlgorithm: string | string | undefined;
720
+ readonly SignatureAlgorithm: string | string | null;
700
721
  Clear(): void;
701
722
  Dispose(): void;
702
723
  Dispose(disposing: boolean): void;
@@ -730,7 +751,7 @@ export interface AsymmetricAlgorithm$instance {
730
751
 
731
752
  export const AsymmetricAlgorithm: (abstract new() => AsymmetricAlgorithm) & {
732
753
  Create(): AsymmetricAlgorithm;
733
- Create(algName: string): AsymmetricAlgorithm | undefined;
754
+ Create(algName: string): AsymmetricAlgorithm | null;
734
755
  };
735
756
 
736
757
 
@@ -744,8 +765,8 @@ export type AsymmetricAlgorithm = AsymmetricAlgorithm$instance & __AsymmetricAlg
744
765
  export interface AsymmetricKeyExchangeDeformatter$instance {
745
766
  readonly __tsonic_type_System_Security_Cryptography_AsymmetricKeyExchangeDeformatter: never;
746
767
 
747
- get Parameters(): string | undefined;
748
- set Parameters(value: string | undefined);
768
+ get Parameters(): string | null;
769
+ set Parameters(value: string | null);
749
770
  DecryptKeyExchange(rgb: byte[]): byte[];
750
771
  SetKey(key: AsymmetricAlgorithm): void;
751
772
  }
@@ -760,9 +781,9 @@ export type AsymmetricKeyExchangeDeformatter = AsymmetricKeyExchangeDeformatter$
760
781
  export interface AsymmetricKeyExchangeFormatter$instance {
761
782
  readonly __tsonic_type_System_Security_Cryptography_AsymmetricKeyExchangeFormatter: never;
762
783
 
763
- readonly Parameters: string | string | undefined;
784
+ readonly Parameters: string | string | null;
764
785
  CreateKeyExchange(data: byte[]): byte[];
765
- CreateKeyExchange(data: byte[], symAlgType: Type): byte[];
786
+ CreateKeyExchange(data: byte[], symAlgType: Type | null): byte[];
766
787
  SetKey(key: AsymmetricAlgorithm): void;
767
788
  }
768
789
 
@@ -815,8 +836,8 @@ export interface AuthenticationTagMismatchException$instance extends Cryptograph
815
836
 
816
837
  export const AuthenticationTagMismatchException: {
817
838
  new(): AuthenticationTagMismatchException;
818
- new(message: string): AuthenticationTagMismatchException;
819
- new(message: string, inner: Exception): AuthenticationTagMismatchException;
839
+ new(message: string | null): AuthenticationTagMismatchException;
840
+ new(message: string | null, inner: Exception | null): AuthenticationTagMismatchException;
820
841
  };
821
842
 
822
843
 
@@ -832,10 +853,10 @@ export interface ChaCha20Poly1305$instance extends System_Internal.IDisposable$i
832
853
 
833
854
  readonly __tsonic_iface_System_IDisposable: never;
834
855
 
835
- Decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
856
+ Decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | null): void;
836
857
  Decrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: ReadOnlySpan_1<System_Internal.Byte>, tag: ReadOnlySpan_1<System_Internal.Byte>, plaintext: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
837
858
  Dispose(): void;
838
- Encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
859
+ Encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | null): void;
839
860
  Encrypt(nonce: ReadOnlySpan_1<System_Internal.Byte>, plaintext: ReadOnlySpan_1<System_Internal.Byte>, ciphertext: Span_1<System_Internal.Byte>, tag: Span_1<System_Internal.Byte>, associatedData?: ReadOnlySpan_1<System_Internal.Byte>): void;
840
861
  }
841
862
 
@@ -860,8 +881,8 @@ export interface CngAlgorithm$instance {
860
881
  readonly __tsonic_iface_System_IEquatable_1: never;
861
882
 
862
883
  readonly Algorithm: string;
863
- Equals(obj: unknown): boolean;
864
- Equals(other: CngAlgorithm): boolean;
884
+ Equals(obj: unknown | null): boolean;
885
+ Equals(other: CngAlgorithm | null): boolean;
865
886
  GetHashCode(): int;
866
887
  ToString(): string;
867
888
  }
@@ -905,8 +926,8 @@ export interface CngAlgorithmGroup$instance {
905
926
  readonly __tsonic_iface_System_IEquatable_1: never;
906
927
 
907
928
  readonly AlgorithmGroup: string;
908
- Equals(obj: unknown): boolean;
909
- Equals(other: CngAlgorithmGroup): boolean;
929
+ Equals(obj: unknown | null): boolean;
930
+ Equals(other: CngAlgorithmGroup | null): boolean;
910
931
  GetHashCode(): int;
911
932
  ToString(): string;
912
933
  }
@@ -941,19 +962,19 @@ export interface CngKey$instance extends System_Internal.IDisposable$instance {
941
962
  readonly __tsonic_iface_System_IDisposable: never;
942
963
 
943
964
  readonly Algorithm: CngAlgorithm;
944
- readonly AlgorithmGroup: CngAlgorithmGroup | undefined;
965
+ readonly AlgorithmGroup: CngAlgorithmGroup | null;
945
966
  readonly ExportPolicy: CngExportPolicies;
946
967
  readonly Handle: SafeNCryptKeyHandle;
947
968
  readonly IsEphemeral: boolean;
948
969
  readonly IsMachineKey: boolean;
949
- readonly KeyName: string | undefined;
970
+ readonly KeyName: string | null;
950
971
  readonly KeySize: int;
951
972
  readonly KeyUsage: CngKeyUsages;
952
973
  ParentWindowHandle: nint;
953
- readonly Provider: CngProvider | undefined;
974
+ readonly Provider: CngProvider | null;
954
975
  readonly ProviderHandle: SafeNCryptProviderHandle;
955
976
  readonly UIPolicy: CngUIPolicy;
956
- readonly UniqueName: string | undefined;
977
+ readonly UniqueName: string | null;
957
978
  Delete(): void;
958
979
  Dispose(): void;
959
980
  Export(format: CngKeyBlobFormat): byte[];
@@ -964,8 +985,8 @@ export interface CngKey$instance extends System_Internal.IDisposable$instance {
964
985
 
965
986
 
966
987
  export const CngKey: {
967
- Create(algorithm: CngAlgorithm, keyName: string, creationParameters: CngKeyCreationParameters): CngKey;
968
- Create(algorithm: CngAlgorithm, keyName: string): CngKey;
988
+ Create(algorithm: CngAlgorithm, keyName: string | null, creationParameters: CngKeyCreationParameters | null): CngKey;
989
+ Create(algorithm: CngAlgorithm, keyName: string | null): CngKey;
969
990
  Create(algorithm: CngAlgorithm): CngKey;
970
991
  Exists(keyName: string, provider: CngProvider, options: CngKeyOpenOptions): boolean;
971
992
  Exists(keyName: string, provider: CngProvider): boolean;
@@ -992,8 +1013,8 @@ export interface CngKeyBlobFormat$instance {
992
1013
  readonly __tsonic_iface_System_IEquatable_1: never;
993
1014
 
994
1015
  readonly Format: string;
995
- Equals(obj: unknown): boolean;
996
- Equals(other: CngKeyBlobFormat): boolean;
1016
+ Equals(obj: unknown | null): boolean;
1017
+ Equals(other: CngKeyBlobFormat | null): boolean;
997
1018
  GetHashCode(): int;
998
1019
  ToString(): string;
999
1020
  }
@@ -1039,8 +1060,8 @@ export interface CngKeyCreationParameters$instance {
1039
1060
  readonly Parameters: CngPropertyCollection;
1040
1061
  ParentWindowHandle: nint;
1041
1062
  Provider: CngProvider;
1042
- get UIPolicy(): CngUIPolicy | undefined;
1043
- set UIPolicy(value: CngUIPolicy | undefined);
1063
+ get UIPolicy(): CngUIPolicy | null;
1064
+ set UIPolicy(value: CngUIPolicy | null);
1044
1065
  }
1045
1066
 
1046
1067
 
@@ -1090,8 +1111,8 @@ export interface CngProvider$instance {
1090
1111
  readonly __tsonic_iface_System_IEquatable_1: never;
1091
1112
 
1092
1113
  readonly Provider: string;
1093
- Equals(obj: unknown): boolean;
1094
- Equals(other: CngProvider): boolean;
1114
+ Equals(obj: unknown | null): boolean;
1115
+ Equals(other: CngProvider | null): boolean;
1095
1116
  GetHashCode(): int;
1096
1117
  ToString(): string;
1097
1118
  }
@@ -1118,20 +1139,20 @@ export type CngProvider = CngProvider$instance & __CngProvider$views;
1118
1139
  export interface CngUIPolicy$instance {
1119
1140
  readonly __tsonic_type_System_Security_Cryptography_CngUIPolicy: never;
1120
1141
 
1121
- readonly CreationTitle: string | undefined;
1122
- readonly Description: string | undefined;
1123
- readonly FriendlyName: string | undefined;
1142
+ readonly CreationTitle: string | null;
1143
+ readonly Description: string | null;
1144
+ readonly FriendlyName: string | null;
1124
1145
  readonly ProtectionLevel: CngUIProtectionLevels;
1125
- readonly UseContext: string | undefined;
1146
+ readonly UseContext: string | null;
1126
1147
  }
1127
1148
 
1128
1149
 
1129
1150
  export const CngUIPolicy: {
1130
1151
  new(protectionLevel: CngUIProtectionLevels): CngUIPolicy;
1131
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string): CngUIPolicy;
1132
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string): CngUIPolicy;
1133
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string): CngUIPolicy;
1134
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string, creationTitle: string): CngUIPolicy;
1152
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | null): CngUIPolicy;
1153
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | null, description: string | null): CngUIPolicy;
1154
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | null, description: string | null, useContext: string | null): CngUIPolicy;
1155
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | null, description: string | null, useContext: string | null, creationTitle: string | null): CngUIPolicy;
1135
1156
  };
1136
1157
 
1137
1158
 
@@ -1161,7 +1182,7 @@ export interface CompositeMLDsa$instance {
1161
1182
  ExportPkcs8PrivateKeyPem(): string;
1162
1183
  ExportSubjectPublicKeyInfo(): byte[];
1163
1184
  ExportSubjectPublicKeyInfoPem(): string;
1164
- SignData(data: byte[], context?: byte[]): byte[];
1185
+ SignData(data: byte[], context?: byte[] | null): byte[];
1165
1186
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): int;
1166
1187
  SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
1167
1188
  TryExportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -1172,7 +1193,7 @@ export interface CompositeMLDsa$instance {
1172
1193
  TryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1173
1194
  TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1174
1195
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1175
- VerifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
1196
+ VerifyData(data: byte[], signature: byte[], context?: byte[] | null): boolean;
1176
1197
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1177
1198
  VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1178
1199
  }
@@ -1216,8 +1237,8 @@ export interface CompositeMLDsaAlgorithm$instance {
1216
1237
 
1217
1238
  readonly MaxSignatureSizeInBytes: int;
1218
1239
  readonly Name: string;
1219
- Equals(other: CompositeMLDsaAlgorithm): boolean;
1220
- Equals(obj: unknown): boolean;
1240
+ Equals(other: CompositeMLDsaAlgorithm | null): boolean;
1241
+ Equals(obj: unknown | null): boolean;
1221
1242
  GetHashCode(): int;
1222
1243
  ToString(): string;
1223
1244
  }
@@ -1292,10 +1313,11 @@ export const CryptoConfig: {
1292
1313
  readonly AllowOnlyFipsAlgorithms: boolean;
1293
1314
  AddAlgorithm(algorithm: Type, ...names: string[]): void;
1294
1315
  AddOID(oid: string, ...names: string[]): void;
1295
- CreateFromName(name: string, ...args: unknown[]): unknown | undefined;
1296
- CreateFromName(name: string): unknown | undefined;
1316
+ CreateFromName(name: string, ...args: (unknown | null)[]): unknown | null;
1317
+ CreateFromName(name: string, args: (unknown | null)[] | null): unknown | null;
1318
+ CreateFromName(name: string): unknown | null;
1297
1319
  EncodeOID(str: string): byte[];
1298
- MapNameToOID(name: string): string | undefined;
1320
+ MapNameToOID(name: string): string | null;
1299
1321
  };
1300
1322
 
1301
1323
 
@@ -1312,9 +1334,9 @@ export interface CryptographicException$instance extends SystemException, System
1312
1334
  export const CryptographicException: {
1313
1335
  new(): CryptographicException;
1314
1336
  new(hr: int): CryptographicException;
1315
- new(message: string): CryptographicException;
1316
- new(message: string, inner: Exception): CryptographicException;
1317
- new(format: string, insert: string): CryptographicException;
1337
+ new(message: string | null): CryptographicException;
1338
+ new(message: string | null, inner: Exception | null): CryptographicException;
1339
+ new(format: string, insert: string | null): CryptographicException;
1318
1340
  };
1319
1341
 
1320
1342
 
@@ -1335,9 +1357,9 @@ export interface CryptographicUnexpectedOperationException$instance extends Cryp
1335
1357
 
1336
1358
  export const CryptographicUnexpectedOperationException: {
1337
1359
  new(): CryptographicUnexpectedOperationException;
1338
- new(message: string): CryptographicUnexpectedOperationException;
1339
- new(message: string, inner: Exception): CryptographicUnexpectedOperationException;
1340
- new(format: string, insert: string): CryptographicUnexpectedOperationException;
1360
+ new(message: string | null): CryptographicUnexpectedOperationException;
1361
+ new(message: string | null, inner: Exception | null): CryptographicUnexpectedOperationException;
1362
+ new(format: string, insert: string | null): CryptographicUnexpectedOperationException;
1341
1363
  };
1342
1364
 
1343
1365
 
@@ -1348,7 +1370,7 @@ export interface __CryptographicUnexpectedOperationException$views {
1348
1370
  export type CryptographicUnexpectedOperationException = CryptographicUnexpectedOperationException$instance & __CryptographicUnexpectedOperationException$views;
1349
1371
 
1350
1372
 
1351
- export interface CryptoStream$instance extends Stream {
1373
+ export interface CryptoStream$instance extends Stream, System_Internal.IAsyncDisposable$instance {
1352
1374
  readonly __tsonic_type_System_Security_Cryptography_CryptoStream: never;
1353
1375
 
1354
1376
  readonly __tsonic_iface_System_IAsyncDisposable: never;
@@ -1360,8 +1382,8 @@ export interface CryptoStream$instance extends Stream {
1360
1382
  readonly HasFlushedFinalBlock: boolean;
1361
1383
  readonly Length: long;
1362
1384
  Position: long;
1363
- BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
1364
- BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
1385
+ BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
1386
+ BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: unknown | null): IAsyncResult;
1365
1387
  Clear(): void;
1366
1388
  CopyTo(destination: Stream, bufferSize: int): void;
1367
1389
  CopyTo(destination: Stream): void;
@@ -1439,12 +1461,12 @@ export interface CspParameters$instance {
1439
1461
  readonly __tsonic_type_System_Security_Cryptography_CspParameters: never;
1440
1462
 
1441
1463
  ProviderType: int;
1442
- ProviderName: string | undefined;
1443
- KeyContainerName: string | undefined;
1464
+ ProviderName: string | null;
1465
+ KeyContainerName: string | null;
1444
1466
  KeyNumber: int;
1445
1467
  Flags: CspProviderFlags;
1446
- get KeyPassword(): SecureString | undefined;
1447
- set KeyPassword(value: SecureString | undefined);
1468
+ get KeyPassword(): SecureString | null;
1469
+ set KeyPassword(value: SecureString | null);
1448
1470
  ParentWindowHandle: nint;
1449
1471
  }
1450
1472
 
@@ -1452,8 +1474,8 @@ export interface CspParameters$instance {
1452
1474
  export const CspParameters: {
1453
1475
  new(): CspParameters;
1454
1476
  new(dwTypeIn: int): CspParameters;
1455
- new(dwTypeIn: int, strProviderNameIn: string): CspParameters;
1456
- new(dwTypeIn: int, strProviderNameIn: string, strContainerNameIn: string): CspParameters;
1477
+ new(dwTypeIn: int, strProviderNameIn: string | null): CspParameters;
1478
+ new(dwTypeIn: int, strProviderNameIn: string | null, strContainerNameIn: string | null): CspParameters;
1457
1479
  };
1458
1480
 
1459
1481
 
@@ -1519,9 +1541,9 @@ export interface DESCryptoServiceProvider$instance extends DES$instance {
1519
1541
  Mode: CipherMode;
1520
1542
  Padding: PaddingMode;
1521
1543
  CreateDecryptor(): ICryptoTransform;
1522
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1544
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
1523
1545
  CreateEncryptor(): ICryptoTransform;
1524
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1546
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
1525
1547
  Dispose(disposing: boolean): void;
1526
1548
  Dispose(): void;
1527
1549
  GenerateIV(): void;
@@ -1603,7 +1625,7 @@ export interface DSA$instance extends AsymmetricAlgorithm$instance {
1603
1625
 
1604
1626
  export const DSA: (abstract new() => DSA) & {
1605
1627
  Create(parameters: DSAParameters): DSA;
1606
- Create(algName: string): DSA | undefined;
1628
+ Create(algName: string): DSA | null;
1607
1629
  };
1608
1630
 
1609
1631
 
@@ -1652,12 +1674,12 @@ export interface DSACryptoServiceProvider$instance extends DSA$instance, ICspAsy
1652
1674
  readonly __tsonic_iface_System_Security_Cryptography_ICspAsymmetricAlgorithm: never;
1653
1675
 
1654
1676
  readonly CspKeyContainerInfo: CspKeyContainerInfo;
1655
- readonly KeyExchangeAlgorithm: string | undefined;
1677
+ readonly KeyExchangeAlgorithm: string | null;
1656
1678
  KeySize: int;
1657
1679
  readonly LegalKeySizes: KeySizes[];
1658
1680
  PersistKeyInCsp: boolean;
1659
1681
  readonly PublicOnly: boolean;
1660
- readonly SignatureAlgorithm: string | string | undefined;
1682
+ readonly SignatureAlgorithm: string | string | null;
1661
1683
  CreateSignature(rgbHash: byte[]): byte[];
1662
1684
  CreateSignature(rgbHash: byte[], signatureFormat: DSASignatureFormat): byte[];
1663
1685
  Dispose(disposing: boolean): void;
@@ -1844,13 +1866,13 @@ export interface ECDiffieHellman$instance extends ECAlgorithm$instance {
1844
1866
 
1845
1867
  readonly __tsonic_iface_System_IDisposable: never;
1846
1868
 
1847
- readonly KeyExchangeAlgorithm: string | string | undefined;
1869
+ readonly KeyExchangeAlgorithm: string | string | null;
1848
1870
  readonly PublicKey: ECDiffieHellmanPublicKey;
1849
- readonly SignatureAlgorithm: string | undefined;
1871
+ readonly SignatureAlgorithm: string | null;
1850
1872
  DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1851
- DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1852
- DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
1853
- DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
1873
+ DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1874
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null): byte[];
1875
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1854
1876
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1855
1877
  DeriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1856
1878
  DeriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -1863,7 +1885,7 @@ export const ECDiffieHellman: (abstract new() => ECDiffieHellman) & {
1863
1885
  Create(): ECDiffieHellman;
1864
1886
  Create(curve: ECCurve): ECDiffieHellman;
1865
1887
  Create(parameters: ECParameters): ECDiffieHellman;
1866
- Create(algorithm: string): ECDiffieHellman | undefined;
1888
+ Create(algorithm: string): ECDiffieHellman | null;
1867
1889
  };
1868
1890
 
1869
1891
 
@@ -1880,19 +1902,19 @@ export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1880
1902
  readonly __tsonic_iface_System_IDisposable: never;
1881
1903
 
1882
1904
  HashAlgorithm: CngAlgorithm;
1883
- get HmacKey(): byte[] | undefined;
1884
- set HmacKey(value: byte[] | undefined);
1905
+ get HmacKey(): byte[] | null;
1906
+ set HmacKey(value: byte[] | null);
1885
1907
  readonly Key: CngKey;
1886
1908
  KeyDerivationFunction: ECDiffieHellmanKeyDerivationFunction;
1887
- get Label(): byte[] | undefined;
1888
- set Label(value: byte[] | undefined);
1909
+ get Label(): byte[] | null;
1910
+ set Label(value: byte[] | null);
1889
1911
  readonly PublicKey: ECDiffieHellmanPublicKey;
1890
- get SecretAppend(): byte[] | undefined;
1891
- set SecretAppend(value: byte[] | undefined);
1892
- get SecretPrepend(): byte[] | undefined;
1893
- set SecretPrepend(value: byte[] | undefined);
1894
- get Seed(): byte[] | undefined;
1895
- set Seed(value: byte[] | undefined);
1912
+ get SecretAppend(): byte[] | null;
1913
+ set SecretAppend(value: byte[] | null);
1914
+ get SecretPrepend(): byte[] | null;
1915
+ set SecretPrepend(value: byte[] | null);
1916
+ get Seed(): byte[] | null;
1917
+ set Seed(value: byte[] | null);
1896
1918
  readonly UseSecretAgreementAsHmacKey: boolean;
1897
1919
  DeriveKeyMaterial(otherPartyPublicKey: CngKey): byte[];
1898
1920
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -1954,10 +1976,10 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
1954
1976
  KeySize: int;
1955
1977
  readonly LegalKeySizes: KeySizes[];
1956
1978
  readonly PublicKey: ECDiffieHellmanPublicKey;
1957
- DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1979
+ DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1958
1980
  DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1959
- DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
1960
- DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
1981
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1982
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null): byte[];
1961
1983
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1962
1984
  DeriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1963
1985
  DeriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -2021,8 +2043,8 @@ export interface ECDsa$instance extends ECAlgorithm$instance {
2021
2043
 
2022
2044
  readonly __tsonic_iface_System_IDisposable: never;
2023
2045
 
2024
- readonly KeyExchangeAlgorithm: string | undefined;
2025
- readonly SignatureAlgorithm: string | string | undefined;
2046
+ readonly KeyExchangeAlgorithm: string | null;
2047
+ readonly SignatureAlgorithm: string | string | null;
2026
2048
  FromXmlString(xmlString: string): void;
2027
2049
  GetMaxSignatureSize(signatureFormat: DSASignatureFormat): int;
2028
2050
  HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
@@ -2076,7 +2098,7 @@ export const ECDsa: (abstract new() => ECDsa) & {
2076
2098
  Create(): ECDsa;
2077
2099
  Create(curve: ECCurve): ECDsa;
2078
2100
  Create(parameters: ECParameters): ECDsa;
2079
- Create(algorithm: string): ECDsa | undefined;
2101
+ Create(algorithm: string): ECDsa | null;
2080
2102
  };
2081
2103
 
2082
2104
 
@@ -2240,7 +2262,7 @@ export interface HashAlgorithm$instance {
2240
2262
 
2241
2263
  readonly CanReuseTransform: boolean;
2242
2264
  readonly CanTransformMultipleBlocks: boolean;
2243
- readonly Hash: byte[] | undefined;
2265
+ readonly Hash: byte[] | null;
2244
2266
  readonly HashSize: int;
2245
2267
  readonly InputBlockSize: int;
2246
2268
  readonly OutputBlockSize: int;
@@ -2255,7 +2277,7 @@ export interface HashAlgorithm$instance {
2255
2277
  HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2256
2278
  HashFinal(): byte[];
2257
2279
  Initialize(): void;
2258
- TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2280
+ TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | null, outputOffset: int): int;
2259
2281
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2260
2282
  TryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2261
2283
  TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -2264,7 +2286,7 @@ export interface HashAlgorithm$instance {
2264
2286
 
2265
2287
  export const HashAlgorithm: (abstract new() => HashAlgorithm) & {
2266
2288
  Create(): HashAlgorithm;
2267
- Create(hashName: string): HashAlgorithm | undefined;
2289
+ Create(hashName: string): HashAlgorithm | null;
2268
2290
  };
2269
2291
 
2270
2292
 
@@ -2748,16 +2770,16 @@ export interface Kmac128$instance extends System_Internal.IDisposable$instance {
2748
2770
 
2749
2771
 
2750
2772
  export const Kmac128: {
2751
- new(key: byte[], customizationString: byte[]): Kmac128;
2773
+ new(key: byte[], customizationString: byte[] | null): Kmac128;
2752
2774
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128;
2753
2775
  readonly IsSupported: boolean;
2754
- HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2755
- HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2776
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2777
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2756
2778
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2757
2779
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2758
2780
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2759
2781
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2760
- HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2782
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2761
2783
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2762
2784
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2763
2785
  };
@@ -2787,16 +2809,16 @@ export interface Kmac256$instance extends System_Internal.IDisposable$instance {
2787
2809
 
2788
2810
 
2789
2811
  export const Kmac256: {
2790
- new(key: byte[], customizationString: byte[]): Kmac256;
2812
+ new(key: byte[], customizationString: byte[] | null): Kmac256;
2791
2813
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256;
2792
2814
  readonly IsSupported: boolean;
2793
- HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2794
- HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2815
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2816
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2795
2817
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2796
2818
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2797
2819
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2798
2820
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2799
- HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2821
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2800
2822
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2801
2823
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2802
2824
  };
@@ -2826,16 +2848,16 @@ export interface KmacXof128$instance extends System_Internal.IDisposable$instanc
2826
2848
 
2827
2849
 
2828
2850
  export const KmacXof128: {
2829
- new(key: byte[], customizationString: byte[]): KmacXof128;
2851
+ new(key: byte[], customizationString: byte[] | null): KmacXof128;
2830
2852
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128;
2831
2853
  readonly IsSupported: boolean;
2832
- HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2833
- HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2854
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2855
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2834
2856
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2835
2857
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2836
2858
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2837
2859
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2838
- HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2860
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2839
2861
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2840
2862
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2841
2863
  };
@@ -2865,16 +2887,16 @@ export interface KmacXof256$instance extends System_Internal.IDisposable$instanc
2865
2887
 
2866
2888
 
2867
2889
  export const KmacXof256: {
2868
- new(key: byte[], customizationString: byte[]): KmacXof256;
2890
+ new(key: byte[], customizationString: byte[] | null): KmacXof256;
2869
2891
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256;
2870
2892
  readonly IsSupported: boolean;
2871
- HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2872
- HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2893
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2894
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2873
2895
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2874
2896
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2875
2897
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2876
2898
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2877
- HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2899
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2878
2900
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2879
2901
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2880
2902
  };
@@ -2988,14 +3010,14 @@ export interface MLDsa$instance {
2988
3010
  ExportSubjectPublicKeyInfo(): byte[];
2989
3011
  ExportSubjectPublicKeyInfoPem(): string;
2990
3012
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
2991
- SignData(data: byte[], context?: byte[]): byte[];
3013
+ SignData(data: byte[], context?: byte[] | null): byte[];
2992
3014
  SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2993
3015
  SignMu(externalMu: byte[]): byte[];
2994
3016
  SignMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2995
3017
  SignMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2996
3018
  SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2997
3019
  SignPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
2998
- SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
3020
+ SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | null): byte[];
2999
3021
  SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3000
3022
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3001
3023
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -3004,13 +3026,13 @@ export interface MLDsa$instance {
3004
3026
  TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3005
3027
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3006
3028
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3007
- VerifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
3029
+ VerifyData(data: byte[], signature: byte[], context?: byte[] | null): boolean;
3008
3030
  VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3009
3031
  VerifyMu(externalMu: byte[], signature: byte[]): boolean;
3010
3032
  VerifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3011
3033
  VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3012
3034
  VerifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3013
- VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
3035
+ VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | null): boolean;
3014
3036
  VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3015
3037
  }
3016
3038
 
@@ -3058,8 +3080,8 @@ export interface MLDsaAlgorithm$instance {
3058
3080
  readonly PrivateSeedSizeInBytes: int;
3059
3081
  readonly PublicKeySizeInBytes: int;
3060
3082
  readonly SignatureSizeInBytes: int;
3061
- Equals(other: MLDsaAlgorithm): boolean;
3062
- Equals(obj: unknown): boolean;
3083
+ Equals(other: MLDsaAlgorithm | null): boolean;
3084
+ Equals(obj: unknown | null): boolean;
3063
3085
  GetHashCode(): int;
3064
3086
  ToString(): string;
3065
3087
  }
@@ -3231,8 +3253,8 @@ export interface MLKemAlgorithm$instance {
3231
3253
  readonly Name: string;
3232
3254
  readonly PrivateSeedSizeInBytes: int;
3233
3255
  readonly SharedSecretSizeInBytes: int;
3234
- Equals(other: MLKemAlgorithm): boolean;
3235
- Equals(obj: unknown): boolean;
3256
+ Equals(other: MLKemAlgorithm | null): boolean;
3257
+ Equals(obj: unknown | null): boolean;
3236
3258
  GetHashCode(): int;
3237
3259
  ToString(): string;
3238
3260
  }
@@ -3314,17 +3336,17 @@ export type MLKemOpenSsl = MLKemOpenSsl$instance & __MLKemOpenSsl$views;
3314
3336
  export interface Oid$instance {
3315
3337
  readonly __tsonic_type_System_Security_Cryptography_Oid: never;
3316
3338
 
3317
- get FriendlyName(): string | undefined;
3318
- set FriendlyName(value: string | undefined);
3319
- get Value(): string | undefined;
3320
- set Value(value: string | undefined);
3339
+ get FriendlyName(): string | null;
3340
+ set FriendlyName(value: string | null);
3341
+ get Value(): string | null;
3342
+ set Value(value: string | null);
3321
3343
  }
3322
3344
 
3323
3345
 
3324
3346
  export const Oid: {
3325
3347
  new(): Oid;
3326
3348
  new(oid: string): Oid;
3327
- new(value: string, friendlyName: string): Oid;
3349
+ new(value: string | null, friendlyName: string | null): Oid;
3328
3350
  new(oid: Oid): Oid;
3329
3351
  FromFriendlyName(friendlyName: string, group: OidGroup): Oid;
3330
3352
  FromOidValue(oidValue: string, group: OidGroup): Oid;
@@ -3345,7 +3367,7 @@ export interface OidCollection$instance {
3345
3367
  Add(oid: Oid): int;
3346
3368
  CopyTo(array: Oid[], index: int): void;
3347
3369
  get_Item(index: int): Oid;
3348
- get_Item(oid: string): Oid | undefined;
3370
+ get_Item(oid: string): Oid | null;
3349
3371
  GetEnumerator(): OidEnumerator;
3350
3372
  }
3351
3373
 
@@ -3392,9 +3414,9 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
3392
3414
 
3393
3415
  HashName: string;
3394
3416
  IterationCount: int;
3395
- get Salt(): byte[] | undefined;
3396
- set Salt(value: byte[] | undefined);
3397
- CryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
3417
+ get Salt(): byte[] | null;
3418
+ set Salt(value: byte[] | null);
3419
+ CryptDeriveKey(algname: string | null, alghashname: string | null, keySize: int, rgbIV: byte[]): byte[];
3398
3420
  Dispose(disposing: boolean): void;
3399
3421
  Dispose(): void;
3400
3422
  GetBytes(cb: int): byte[];
@@ -3403,14 +3425,14 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
3403
3425
 
3404
3426
 
3405
3427
  export const PasswordDeriveBytes: {
3406
- new(strPassword: string, rgbSalt: byte[]): PasswordDeriveBytes;
3407
- new(password: byte[], salt: byte[]): PasswordDeriveBytes;
3408
- new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int): PasswordDeriveBytes;
3409
- new(password: byte[], salt: byte[], hashName: string, iterations: int): PasswordDeriveBytes;
3410
- new(strPassword: string, rgbSalt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
3411
- new(password: byte[], salt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
3412
- new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes;
3413
- new(password: byte[], salt: byte[], hashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes;
3428
+ new(strPassword: string, rgbSalt: byte[] | null): PasswordDeriveBytes;
3429
+ new(password: byte[], salt: byte[] | null): PasswordDeriveBytes;
3430
+ new(strPassword: string, rgbSalt: byte[] | null, strHashName: string, iterations: int): PasswordDeriveBytes;
3431
+ new(password: byte[], salt: byte[] | null, hashName: string, iterations: int): PasswordDeriveBytes;
3432
+ new(strPassword: string, rgbSalt: byte[] | null, cspParams: CspParameters | null): PasswordDeriveBytes;
3433
+ new(password: byte[], salt: byte[] | null, cspParams: CspParameters | null): PasswordDeriveBytes;
3434
+ new(strPassword: string, rgbSalt: byte[] | null, strHashName: string, iterations: int, cspParams: CspParameters | null): PasswordDeriveBytes;
3435
+ new(password: byte[], salt: byte[] | null, hashName: string, iterations: int, cspParams: CspParameters | null): PasswordDeriveBytes;
3414
3436
  };
3415
3437
 
3416
3438
 
@@ -3469,17 +3491,17 @@ export interface RandomNumberGenerator$instance {
3469
3491
 
3470
3492
  export const RandomNumberGenerator: (abstract new() => RandomNumberGenerator) & {
3471
3493
  Create(): RandomNumberGenerator;
3472
- Create(rngName: string): RandomNumberGenerator | undefined;
3494
+ Create(rngName: string): RandomNumberGenerator | null;
3473
3495
  Fill(data: Span_1<System_Internal.Byte>): void;
3474
3496
  GetBytes(count: int): byte[];
3475
3497
  GetHexString(stringLength: int, lowercase?: boolean): string;
3476
3498
  GetHexString(destination: Span_1<System_Internal.Char>, lowercase?: boolean): void;
3477
3499
  GetInt32(fromInclusive: int, toExclusive: int): int;
3478
3500
  GetInt32(toExclusive: int): int;
3479
- GetItems<T>(choices: ReadOnlySpan_1<T>, destination: Span_1<T>): void;
3480
- GetItems<T>(choices: ReadOnlySpan_1<T>, length: int): T[];
3501
+ GetItems<T extends unknown>(choices: ReadOnlySpan_1<T>, destination: Span_1<T>): void;
3502
+ GetItems<T extends unknown>(choices: ReadOnlySpan_1<T>, length: int): T[];
3481
3503
  GetString(choices: ReadOnlySpan_1<System_Internal.Char>, length: int): string;
3482
- Shuffle<T>(values: Span_1<T>): void;
3504
+ Shuffle<T extends unknown>(values: Span_1<T>): void;
3483
3505
  };
3484
3506
 
3485
3507
 
@@ -3528,9 +3550,9 @@ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
3528
3550
  Padding: PaddingMode;
3529
3551
  UseSalt: boolean;
3530
3552
  CreateDecryptor(): ICryptoTransform;
3531
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3553
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3532
3554
  CreateEncryptor(): ICryptoTransform;
3533
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3555
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3534
3556
  Dispose(disposing: boolean): void;
3535
3557
  Dispose(): void;
3536
3558
  GenerateIV(): void;
@@ -3625,9 +3647,9 @@ export interface RijndaelManaged$instance extends Rijndael$instance {
3625
3647
  Mode: CipherMode;
3626
3648
  Padding: PaddingMode;
3627
3649
  CreateDecryptor(): ICryptoTransform;
3628
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3650
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3629
3651
  CreateEncryptor(): ICryptoTransform;
3630
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3652
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3631
3653
  Dispose(disposing: boolean): void;
3632
3654
  Dispose(): void;
3633
3655
  GenerateIV(): void;
@@ -3666,7 +3688,7 @@ export const RNGCryptoServiceProvider: {
3666
3688
  new(): RNGCryptoServiceProvider;
3667
3689
  new(str: string): RNGCryptoServiceProvider;
3668
3690
  new(rgb: byte[]): RNGCryptoServiceProvider;
3669
- new(cspParams: CspParameters): RNGCryptoServiceProvider;
3691
+ new(cspParams: CspParameters | null): RNGCryptoServiceProvider;
3670
3692
  };
3671
3693
 
3672
3694
 
@@ -3682,8 +3704,8 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
3682
3704
 
3683
3705
  readonly __tsonic_iface_System_IDisposable: never;
3684
3706
 
3685
- readonly KeyExchangeAlgorithm: string | undefined;
3686
- readonly SignatureAlgorithm: string | string | undefined;
3707
+ readonly KeyExchangeAlgorithm: string | null;
3708
+ readonly SignatureAlgorithm: string | string | null;
3687
3709
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3688
3710
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
3689
3711
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
@@ -3744,7 +3766,7 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
3744
3766
 
3745
3767
  export const RSA: (abstract new() => RSA) & {
3746
3768
  Create(parameters: RSAParameters): RSA;
3747
- Create(algName: string): RSA | undefined;
3769
+ Create(algName: string): RSA | null;
3748
3770
  };
3749
3771
 
3750
3772
 
@@ -3787,12 +3809,12 @@ export interface RSACryptoServiceProvider$instance extends RSA$instance, ICspAsy
3787
3809
  readonly __tsonic_iface_System_Security_Cryptography_ICspAsymmetricAlgorithm: never;
3788
3810
 
3789
3811
  readonly CspKeyContainerInfo: CspKeyContainerInfo;
3790
- readonly KeyExchangeAlgorithm: string | undefined;
3812
+ readonly KeyExchangeAlgorithm: string | null;
3791
3813
  KeySize: int;
3792
3814
  readonly LegalKeySizes: KeySizes[];
3793
3815
  PersistKeyInCsp: boolean;
3794
3816
  readonly PublicOnly: boolean;
3795
- readonly SignatureAlgorithm: string | string | undefined;
3817
+ readonly SignatureAlgorithm: string | string | null;
3796
3818
  Decrypt(rgb: byte[], fOAEP: boolean): byte[];
3797
3819
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3798
3820
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
@@ -3862,8 +3884,8 @@ export interface RSAEncryptionPadding$instance {
3862
3884
 
3863
3885
  readonly Mode: RSAEncryptionPaddingMode;
3864
3886
  readonly OaepHashAlgorithm: HashAlgorithmName;
3865
- Equals(obj: unknown): boolean;
3866
- Equals(other: RSAEncryptionPadding): boolean;
3887
+ Equals(obj: unknown | null): boolean;
3888
+ Equals(other: RSAEncryptionPadding | null): boolean;
3867
3889
  GetHashCode(): int;
3868
3890
  ToString(): string;
3869
3891
  }
@@ -3895,8 +3917,8 @@ export type RSAEncryptionPadding = RSAEncryptionPadding$instance & __RSAEncrypti
3895
3917
  export interface RSAOAEPKeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3896
3918
  readonly __tsonic_type_System_Security_Cryptography_RSAOAEPKeyExchangeDeformatter: never;
3897
3919
 
3898
- get Parameters(): string | undefined;
3899
- set Parameters(value: string | undefined);
3920
+ get Parameters(): string | null;
3921
+ set Parameters(value: string | null);
3900
3922
  DecryptKeyExchange(rgbData: byte[]): byte[];
3901
3923
  SetKey(key: AsymmetricAlgorithm): void;
3902
3924
  }
@@ -3913,12 +3935,12 @@ export type RSAOAEPKeyExchangeDeformatter = RSAOAEPKeyExchangeDeformatter$instan
3913
3935
  export interface RSAOAEPKeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3914
3936
  readonly __tsonic_type_System_Security_Cryptography_RSAOAEPKeyExchangeFormatter: never;
3915
3937
 
3916
- get Parameter(): byte[] | undefined;
3917
- set Parameter(value: byte[] | undefined);
3918
- readonly Parameters: string | undefined;
3919
- get Rng(): RandomNumberGenerator | undefined;
3920
- set Rng(value: RandomNumberGenerator | undefined);
3921
- CreateKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
3938
+ get Parameter(): byte[] | null;
3939
+ set Parameter(value: byte[] | null);
3940
+ readonly Parameters: string | null;
3941
+ get Rng(): RandomNumberGenerator | null;
3942
+ set Rng(value: RandomNumberGenerator | null);
3943
+ CreateKeyExchange(rgbData: byte[], symAlgType: Type | null): byte[];
3922
3944
  CreateKeyExchange(rgbData: byte[]): byte[];
3923
3945
  SetKey(key: AsymmetricAlgorithm): void;
3924
3946
  }
@@ -3994,10 +4016,10 @@ export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
3994
4016
  export interface RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3995
4017
  readonly __tsonic_type_System_Security_Cryptography_RSAPKCS1KeyExchangeDeformatter: never;
3996
4018
 
3997
- get Parameters(): string | undefined;
3998
- set Parameters(value: string | undefined);
3999
- get RNG(): RandomNumberGenerator | undefined;
4000
- set RNG(value: RandomNumberGenerator | undefined);
4019
+ get Parameters(): string | null;
4020
+ set Parameters(value: string | null);
4021
+ get RNG(): RandomNumberGenerator | null;
4022
+ set RNG(value: RandomNumberGenerator | null);
4001
4023
  DecryptKeyExchange(rgbIn: byte[]): byte[];
4002
4024
  SetKey(key: AsymmetricAlgorithm): void;
4003
4025
  }
@@ -4014,10 +4036,10 @@ export type RSAPKCS1KeyExchangeDeformatter = RSAPKCS1KeyExchangeDeformatter$inst
4014
4036
  export interface RSAPKCS1KeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
4015
4037
  readonly __tsonic_type_System_Security_Cryptography_RSAPKCS1KeyExchangeFormatter: never;
4016
4038
 
4017
- readonly Parameters: string | string | undefined;
4018
- get Rng(): RandomNumberGenerator | undefined;
4019
- set Rng(value: RandomNumberGenerator | undefined);
4020
- CreateKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
4039
+ readonly Parameters: string | string | null;
4040
+ get Rng(): RandomNumberGenerator | null;
4041
+ set Rng(value: RandomNumberGenerator | null);
4042
+ CreateKeyExchange(rgbData: byte[], symAlgType: Type | null): byte[];
4021
4043
  CreateKeyExchange(rgbData: byte[]): byte[];
4022
4044
  SetKey(key: AsymmetricAlgorithm): void;
4023
4045
  }
@@ -4073,8 +4095,8 @@ export interface RSASignaturePadding$instance {
4073
4095
  readonly __tsonic_iface_System_IEquatable_1: never;
4074
4096
 
4075
4097
  readonly Mode: RSASignaturePaddingMode;
4076
- Equals(obj: unknown): boolean;
4077
- Equals(other: RSASignaturePadding): boolean;
4098
+ Equals(obj: unknown | null): boolean;
4099
+ Equals(other: RSASignaturePadding | null): boolean;
4078
4100
  GetHashCode(): int;
4079
4101
  ToString(): string;
4080
4102
  }
@@ -4657,16 +4679,16 @@ export type Shake256 = Shake256$instance & __Shake256$views;
4657
4679
  export interface SignatureDescription$instance {
4658
4680
  readonly __tsonic_type_System_Security_Cryptography_SignatureDescription: never;
4659
4681
 
4660
- get DeformatterAlgorithm(): string | undefined;
4661
- set DeformatterAlgorithm(value: string | undefined);
4662
- get DigestAlgorithm(): string | undefined;
4663
- set DigestAlgorithm(value: string | undefined);
4664
- get FormatterAlgorithm(): string | undefined;
4665
- set FormatterAlgorithm(value: string | undefined);
4666
- get KeyAlgorithm(): string | undefined;
4667
- set KeyAlgorithm(value: string | undefined);
4682
+ get DeformatterAlgorithm(): string | null;
4683
+ set DeformatterAlgorithm(value: string | null);
4684
+ get DigestAlgorithm(): string | null;
4685
+ set DigestAlgorithm(value: string | null);
4686
+ get FormatterAlgorithm(): string | null;
4687
+ set FormatterAlgorithm(value: string | null);
4688
+ get KeyAlgorithm(): string | null;
4689
+ set KeyAlgorithm(value: string | null);
4668
4690
  CreateDeformatter(key: AsymmetricAlgorithm): AsymmetricSignatureDeformatter;
4669
- CreateDigest(): HashAlgorithm | undefined;
4691
+ CreateDigest(): HashAlgorithm | null;
4670
4692
  CreateFormatter(key: AsymmetricAlgorithm): AsymmetricSignatureFormatter;
4671
4693
  }
4672
4694
 
@@ -4704,10 +4726,10 @@ export interface SlhDsa$instance {
4704
4726
  ExportSubjectPublicKeyInfo(): byte[];
4705
4727
  ExportSubjectPublicKeyInfoPem(): string;
4706
4728
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
4707
- SignData(data: byte[], context?: byte[]): byte[];
4729
+ SignData(data: byte[], context?: byte[] | null): byte[];
4708
4730
  SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4709
4731
  SignPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
4710
- SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
4732
+ SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | null): byte[];
4711
4733
  SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4712
4734
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4713
4735
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -4716,10 +4738,10 @@ export interface SlhDsa$instance {
4716
4738
  TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4717
4739
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4718
4740
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4719
- VerifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
4741
+ VerifyData(data: byte[], signature: byte[], context?: byte[] | null): boolean;
4720
4742
  VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4721
4743
  VerifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4722
- VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
4744
+ VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | null): boolean;
4723
4745
  VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4724
4746
  }
4725
4747
 
@@ -4763,8 +4785,8 @@ export interface SlhDsaAlgorithm$instance {
4763
4785
  readonly PrivateKeySizeInBytes: int;
4764
4786
  readonly PublicKeySizeInBytes: int;
4765
4787
  readonly SignatureSizeInBytes: int;
4766
- Equals(other: SlhDsaAlgorithm): boolean;
4767
- Equals(obj: unknown): boolean;
4788
+ Equals(other: SlhDsaAlgorithm | null): boolean;
4789
+ Equals(obj: unknown | null): boolean;
4768
4790
  GetHashCode(): int;
4769
4791
  ToString(): string;
4770
4792
  }
@@ -4903,9 +4925,9 @@ export interface SymmetricAlgorithm$instance {
4903
4925
  Padding: PaddingMode;
4904
4926
  Clear(): void;
4905
4927
  CreateDecryptor(): ICryptoTransform;
4906
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4928
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
4907
4929
  CreateEncryptor(): ICryptoTransform;
4908
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4930
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
4909
4931
  DecryptCbc(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
4910
4932
  DecryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
4911
4933
  DecryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
@@ -4951,7 +4973,7 @@ export interface SymmetricAlgorithm$instance {
4951
4973
 
4952
4974
  export const SymmetricAlgorithm: (abstract new() => SymmetricAlgorithm) & {
4953
4975
  Create(): SymmetricAlgorithm;
4954
- Create(algName: string): SymmetricAlgorithm | undefined;
4976
+ Create(algName: string): SymmetricAlgorithm | null;
4955
4977
  };
4956
4978
 
4957
4979
 
@@ -5020,9 +5042,9 @@ export interface TripleDESCng$instance extends TripleDES$instance {
5020
5042
 
5021
5043
  readonly __tsonic_iface_System_IDisposable: never;
5022
5044
 
5023
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5045
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5024
5046
  CreateDecryptor(): ICryptoTransform;
5025
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5047
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5026
5048
  CreateEncryptor(): ICryptoTransform;
5027
5049
  GenerateIV(): void;
5028
5050
  GenerateKey(): void;
@@ -5059,9 +5081,9 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$insta
5059
5081
  Mode: CipherMode;
5060
5082
  Padding: PaddingMode;
5061
5083
  CreateDecryptor(): ICryptoTransform;
5062
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5084
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5063
5085
  CreateEncryptor(): ICryptoTransform;
5064
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5086
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5065
5087
  Dispose(disposing: boolean): void;
5066
5088
  Dispose(): void;
5067
5089
  GenerateIV(): void;
@@ -5108,35 +5130,12 @@ export abstract class CryptographicOperations$instance {
5108
5130
 
5109
5131
  export type CryptographicOperations = CryptographicOperations$instance;
5110
5132
 
5111
- export abstract class ECCurve_NamedCurves$instance {
5112
- static readonly brainpoolP160r1: ECCurve;
5113
- static readonly brainpoolP160t1: ECCurve;
5114
- static readonly brainpoolP192r1: ECCurve;
5115
- static readonly brainpoolP192t1: ECCurve;
5116
- static readonly brainpoolP224r1: ECCurve;
5117
- static readonly brainpoolP224t1: ECCurve;
5118
- static readonly brainpoolP256r1: ECCurve;
5119
- static readonly brainpoolP256t1: ECCurve;
5120
- static readonly brainpoolP320r1: ECCurve;
5121
- static readonly brainpoolP320t1: ECCurve;
5122
- static readonly brainpoolP384r1: ECCurve;
5123
- static readonly brainpoolP384t1: ECCurve;
5124
- static readonly brainpoolP512r1: ECCurve;
5125
- static readonly brainpoolP512t1: ECCurve;
5126
- static readonly nistP256: ECCurve;
5127
- static readonly nistP384: ECCurve;
5128
- static readonly nistP521: ECCurve;
5129
- }
5130
-
5131
-
5132
- export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
5133
-
5134
5133
  export abstract class HKDF$instance {
5135
- static DeriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
5134
+ static DeriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[] | null, info?: byte[] | null): byte[];
5136
5135
  static DeriveKey(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, info: ReadOnlySpan_1<System_Internal.Byte>): void;
5137
- static Expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[]): byte[];
5136
+ static Expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[] | null): byte[];
5138
5137
  static Expand(hashAlgorithmName: HashAlgorithmName, prk: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Byte>, info: ReadOnlySpan_1<System_Internal.Byte>): void;
5139
- static Extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[]): byte[];
5138
+ static Extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[] | null): byte[];
5140
5139
  static Extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, prk: Span_1<System_Internal.Byte>): int;
5141
5140
  }
5142
5141