@tsonic/dotnet 10.0.40 → 10.0.41

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 (187) hide show
  1. package/Internal/internal/index.d.ts +4 -3
  2. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
  3. package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
  4. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
  5. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
  6. package/Microsoft.Win32/internal/index.d.ts +19 -18
  7. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
  8. package/README.md +76 -104
  9. package/System/bindings.json +1520 -2039
  10. package/System/internal/index.d.ts +1549 -1602
  11. package/System.Buffers/bindings.json +12 -3
  12. package/System.Buffers/internal/index.d.ts +12 -14
  13. package/System.Buffers.Binary/internal/index.d.ts +2 -4
  14. package/System.Buffers.Text/internal/index.d.ts +2 -4
  15. package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
  16. package/System.Collections/internal/index.d.ts +129 -131
  17. package/System.Collections.Concurrent/bindings.json +218 -218
  18. package/System.Collections.Concurrent/internal/index.d.ts +34 -36
  19. package/System.Collections.Frozen/bindings.json +413 -611
  20. package/System.Collections.Frozen/internal/index.d.ts +81 -97
  21. package/System.Collections.Frozen.d.ts +14 -2
  22. package/System.Collections.Generic/bindings.json +9420 -14155
  23. package/System.Collections.Generic/internal/index.d.ts +547 -758
  24. package/System.Collections.Generic.d.ts +1 -1
  25. package/System.Collections.Immutable/bindings.json +6000 -9080
  26. package/System.Collections.Immutable/internal/index.d.ts +265 -354
  27. package/System.Collections.Immutable.d.ts +49 -12
  28. package/System.Collections.ObjectModel/bindings.json +132 -654
  29. package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
  30. package/System.Collections.Specialized/bindings.json +0 -123
  31. package/System.Collections.Specialized/internal/index.d.ts +88 -101
  32. package/System.ComponentModel/bindings.json +163 -102
  33. package/System.ComponentModel/internal/index.d.ts +618 -608
  34. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
  35. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
  36. package/System.ComponentModel.Design/bindings.json +22 -292
  37. package/System.ComponentModel.Design/internal/index.d.ts +101 -109
  38. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
  39. package/System.ComponentModel.d.ts +1 -0
  40. package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
  41. package/System.Data/bindings.json +4 -1
  42. package/System.Data/internal/index.d.ts +351 -350
  43. package/System.Data.Common/internal/index.d.ts +151 -152
  44. package/System.Data.SqlTypes/internal/index.d.ts +68 -67
  45. package/System.Diagnostics/bindings.json +7044 -7249
  46. package/System.Diagnostics/internal/index.d.ts +446 -461
  47. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
  48. package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
  49. package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
  50. package/System.Diagnostics.Metrics.d.ts +1 -1
  51. package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
  52. package/System.Diagnostics.Tracing/bindings.json +81 -21
  53. package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
  54. package/System.Diagnostics.Tracing.d.ts +2 -1
  55. package/System.Drawing/internal/index.d.ts +76 -75
  56. package/System.Dynamic/internal/index.d.ts +55 -57
  57. package/System.Formats.Asn1/bindings.json +48 -69
  58. package/System.Formats.Asn1/internal/index.d.ts +21 -28
  59. package/System.Formats.Tar/internal/index.d.ts +8 -7
  60. package/System.Globalization/internal/index.d.ts +40 -42
  61. package/System.IO/internal/index.d.ts +187 -189
  62. package/System.IO.Compression/internal/index.d.ts +29 -31
  63. package/System.IO.Enumeration/bindings.json +250 -250
  64. package/System.IO.Enumeration/internal/index.d.ts +15 -17
  65. package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
  66. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
  67. package/System.IO.Pipelines/internal/index.d.ts +15 -17
  68. package/System.IO.Pipes/internal/index.d.ts +8 -7
  69. package/System.Linq/internal/index.d.ts +223 -225
  70. package/System.Linq.Expressions/internal/index.d.ts +205 -207
  71. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
  72. package/System.Net/bindings.json +104 -104
  73. package/System.Net/internal/index.d.ts +279 -281
  74. package/System.Net.Cache/internal/index.d.ts +3 -2
  75. package/System.Net.Http/internal/index.d.ts +128 -130
  76. package/System.Net.Http.Headers/bindings.json +0 -204
  77. package/System.Net.Http.Headers/internal/index.d.ts +111 -127
  78. package/System.Net.Http.Json/internal/index.d.ts +67 -69
  79. package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
  80. package/System.Net.Mail/internal/index.d.ts +76 -78
  81. package/System.Net.Mime/internal/index.d.ts +11 -10
  82. package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
  83. package/System.Net.Quic/internal/index.d.ts +10 -9
  84. package/System.Net.Security/internal/index.d.ts +87 -89
  85. package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
  86. package/System.Net.Sockets/internal/index.d.ts +91 -93
  87. package/System.Net.WebSockets/internal/index.d.ts +47 -46
  88. package/System.Numerics/bindings.json +544 -116
  89. package/System.Numerics/internal/index.d.ts +110 -112
  90. package/System.Reflection/internal/index.d.ts +270 -272
  91. package/System.Reflection.Emit/internal/index.d.ts +114 -116
  92. package/System.Reflection.Metadata/bindings.json +166 -3169
  93. package/System.Reflection.Metadata/internal/index.d.ts +154 -361
  94. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
  95. package/System.Reflection.PortableExecutable/bindings.json +58 -0
  96. package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
  97. package/System.Reflection.PortableExecutable.d.ts +1 -0
  98. package/System.Resources/internal/index.d.ts +33 -35
  99. package/System.Runtime/internal/index.d.ts +12 -11
  100. package/System.Runtime.CompilerServices/bindings.json +519 -717
  101. package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
  102. package/System.Runtime.CompilerServices.d.ts +14 -4
  103. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
  104. package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
  105. package/System.Runtime.InteropServices/bindings.json +101 -101
  106. package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
  107. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
  108. package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
  109. package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
  110. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
  111. package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
  112. package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
  113. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
  114. package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
  115. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
  116. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
  117. package/System.Runtime.InteropServices.Swift.d.ts +1 -1
  118. package/System.Runtime.Intrinsics/bindings.json +64 -16
  119. package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
  120. package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
  121. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
  122. package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
  123. package/System.Runtime.Loader/bindings.json +48 -69
  124. package/System.Runtime.Loader/internal/index.d.ts +30 -34
  125. package/System.Runtime.Remoting/internal/index.d.ts +5 -4
  126. package/System.Runtime.Serialization/internal/index.d.ts +175 -177
  127. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
  128. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
  129. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
  130. package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
  131. package/System.Runtime.Versioning/internal/index.d.ts +20 -19
  132. package/System.Security/internal/index.d.ts +64 -66
  133. package/System.Security.AccessControl/bindings.json +104 -0
  134. package/System.Security.AccessControl/internal/index.d.ts +59 -58
  135. package/System.Security.AccessControl.d.ts +6 -5
  136. package/System.Security.Authentication/internal/index.d.ts +7 -6
  137. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
  138. package/System.Security.Claims/internal/index.d.ts +45 -44
  139. package/System.Security.Cryptography/bindings.json +469 -469
  140. package/System.Security.Cryptography/internal/index.d.ts +269 -271
  141. package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
  142. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
  143. package/System.Security.Permissions/internal/index.d.ts +5 -4
  144. package/System.Security.Policy/internal/index.d.ts +11 -10
  145. package/System.Security.Principal/internal/index.d.ts +28 -27
  146. package/System.Text/bindings.json +1562 -1562
  147. package/System.Text/internal/index.d.ts +119 -121
  148. package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
  149. package/System.Text.Json/bindings.json +0 -290
  150. package/System.Text.Json/internal/index.d.ts +135 -153
  151. package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
  152. package/System.Text.Json.Schema/internal/index.d.ts +9 -8
  153. package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
  154. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
  155. package/System.Text.Json.Serialization.d.ts +1 -1
  156. package/System.Text.RegularExpressions/bindings.json +198 -402
  157. package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
  158. package/System.Text.Unicode/bindings.json +508 -508
  159. package/System.Text.Unicode/internal/index.d.ts +29 -31
  160. package/System.Threading/bindings.json +42 -42
  161. package/System.Threading/internal/index.d.ts +157 -159
  162. package/System.Threading.Channels/internal/index.d.ts +10 -12
  163. package/System.Threading.Tasks/bindings.json +4 -1
  164. package/System.Threading.Tasks/internal/index.d.ts +115 -114
  165. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
  166. package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
  167. package/System.Timers/internal/index.d.ts +8 -7
  168. package/System.Transactions/internal/index.d.ts +31 -30
  169. package/System.Web/internal/index.d.ts +32 -31
  170. package/System.Windows.Input/internal/index.d.ts +5 -4
  171. package/System.Windows.Markup/internal/index.d.ts +3 -2
  172. package/System.Xml/internal/index.d.ts +383 -385
  173. package/System.Xml.Linq/internal/index.d.ts +103 -102
  174. package/System.Xml.Resolvers/internal/index.d.ts +10 -9
  175. package/System.Xml.Schema/bindings.json +76 -76
  176. package/System.Xml.Schema/internal/index.d.ts +233 -232
  177. package/System.Xml.Serialization/bindings.json +193 -0
  178. package/System.Xml.Serialization/internal/index.d.ts +277 -245
  179. package/System.Xml.Serialization.d.ts +2 -0
  180. package/System.Xml.XPath/internal/index.d.ts +46 -45
  181. package/System.Xml.Xsl/internal/index.d.ts +53 -52
  182. package/System.Xml.Xsl.Runtime/bindings.json +4 -1
  183. package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
  184. package/System.d.ts +2 -2
  185. package/__internal/extensions/index.d.ts +517 -515
  186. package/families.json +63 -7
  187. 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 { JsValue, 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: JsValue | 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: JsValue | 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
 
@@ -644,7 +665,7 @@ export interface AsnEncodedDataCollection$instance {
644
665
 
645
666
  readonly Count: int;
646
667
  readonly IsSynchronized: boolean;
647
- readonly SyncRoot: unknown;
668
+ readonly SyncRoot: JsValue;
648
669
  Add(asnEncodedData: AsnEncodedData): int;
649
670
  CopyTo(array: AsnEncodedData[], index: int): void;
650
671
  GetEnumerator(): AsnEncodedDataEnumerator;
@@ -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: JsValue | 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: JsValue | 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: JsValue | 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: JsValue | 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: JsValue | null): boolean;
1221
1242
  GetHashCode(): int;
1222
1243
  ToString(): string;
1223
1244
  }
@@ -1292,10 +1313,10 @@ 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: (JsValue | null)[] | null): JsValue | null;
1317
+ CreateFromName(name: string): JsValue | null;
1297
1318
  EncodeOID(str: string): byte[];
1298
- MapNameToOID(name: string): string | undefined;
1319
+ MapNameToOID(name: string): string | null;
1299
1320
  };
1300
1321
 
1301
1322
 
@@ -1312,9 +1333,9 @@ export interface CryptographicException$instance extends SystemException, System
1312
1333
  export const CryptographicException: {
1313
1334
  new(): CryptographicException;
1314
1335
  new(hr: int): CryptographicException;
1315
- new(message: string): CryptographicException;
1316
- new(message: string, inner: Exception): CryptographicException;
1317
- new(format: string, insert: string): CryptographicException;
1336
+ new(message: string | null): CryptographicException;
1337
+ new(message: string | null, inner: Exception | null): CryptographicException;
1338
+ new(format: string, insert: string | null): CryptographicException;
1318
1339
  };
1319
1340
 
1320
1341
 
@@ -1335,9 +1356,9 @@ export interface CryptographicUnexpectedOperationException$instance extends Cryp
1335
1356
 
1336
1357
  export const CryptographicUnexpectedOperationException: {
1337
1358
  new(): CryptographicUnexpectedOperationException;
1338
- new(message: string): CryptographicUnexpectedOperationException;
1339
- new(message: string, inner: Exception): CryptographicUnexpectedOperationException;
1340
- new(format: string, insert: string): CryptographicUnexpectedOperationException;
1359
+ new(message: string | null): CryptographicUnexpectedOperationException;
1360
+ new(message: string | null, inner: Exception | null): CryptographicUnexpectedOperationException;
1361
+ new(format: string, insert: string | null): CryptographicUnexpectedOperationException;
1341
1362
  };
1342
1363
 
1343
1364
 
@@ -1360,8 +1381,8 @@ export interface CryptoStream$instance extends Stream {
1360
1381
  readonly HasFlushedFinalBlock: boolean;
1361
1382
  readonly Length: long;
1362
1383
  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;
1384
+ BeginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
1385
+ BeginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | null, state: JsValue | null): IAsyncResult;
1365
1386
  Clear(): void;
1366
1387
  CopyTo(destination: Stream, bufferSize: int): void;
1367
1388
  CopyTo(destination: Stream): void;
@@ -1439,12 +1460,12 @@ export interface CspParameters$instance {
1439
1460
  readonly __tsonic_type_System_Security_Cryptography_CspParameters: never;
1440
1461
 
1441
1462
  ProviderType: int;
1442
- ProviderName: string | undefined;
1443
- KeyContainerName: string | undefined;
1463
+ ProviderName: string | null;
1464
+ KeyContainerName: string | null;
1444
1465
  KeyNumber: int;
1445
1466
  Flags: CspProviderFlags;
1446
- get KeyPassword(): SecureString | undefined;
1447
- set KeyPassword(value: SecureString | undefined);
1467
+ get KeyPassword(): SecureString | null;
1468
+ set KeyPassword(value: SecureString | null);
1448
1469
  ParentWindowHandle: nint;
1449
1470
  }
1450
1471
 
@@ -1452,8 +1473,8 @@ export interface CspParameters$instance {
1452
1473
  export const CspParameters: {
1453
1474
  new(): CspParameters;
1454
1475
  new(dwTypeIn: int): CspParameters;
1455
- new(dwTypeIn: int, strProviderNameIn: string): CspParameters;
1456
- new(dwTypeIn: int, strProviderNameIn: string, strContainerNameIn: string): CspParameters;
1476
+ new(dwTypeIn: int, strProviderNameIn: string | null): CspParameters;
1477
+ new(dwTypeIn: int, strProviderNameIn: string | null, strContainerNameIn: string | null): CspParameters;
1457
1478
  };
1458
1479
 
1459
1480
 
@@ -1519,9 +1540,9 @@ export interface DESCryptoServiceProvider$instance extends DES$instance {
1519
1540
  Mode: CipherMode;
1520
1541
  Padding: PaddingMode;
1521
1542
  CreateDecryptor(): ICryptoTransform;
1522
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1543
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
1523
1544
  CreateEncryptor(): ICryptoTransform;
1524
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1545
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
1525
1546
  Dispose(disposing: boolean): void;
1526
1547
  Dispose(): void;
1527
1548
  GenerateIV(): void;
@@ -1603,7 +1624,7 @@ export interface DSA$instance extends AsymmetricAlgorithm$instance {
1603
1624
 
1604
1625
  export const DSA: (abstract new() => DSA) & {
1605
1626
  Create(parameters: DSAParameters): DSA;
1606
- Create(algName: string): DSA | undefined;
1627
+ Create(algName: string): DSA | null;
1607
1628
  };
1608
1629
 
1609
1630
 
@@ -1652,12 +1673,12 @@ export interface DSACryptoServiceProvider$instance extends DSA$instance, ICspAsy
1652
1673
  readonly __tsonic_iface_System_Security_Cryptography_ICspAsymmetricAlgorithm: never;
1653
1674
 
1654
1675
  readonly CspKeyContainerInfo: CspKeyContainerInfo;
1655
- readonly KeyExchangeAlgorithm: string | undefined;
1676
+ readonly KeyExchangeAlgorithm: string | null;
1656
1677
  KeySize: int;
1657
1678
  readonly LegalKeySizes: KeySizes[];
1658
1679
  PersistKeyInCsp: boolean;
1659
1680
  readonly PublicOnly: boolean;
1660
- readonly SignatureAlgorithm: string | string | undefined;
1681
+ readonly SignatureAlgorithm: string | string | null;
1661
1682
  CreateSignature(rgbHash: byte[]): byte[];
1662
1683
  CreateSignature(rgbHash: byte[], signatureFormat: DSASignatureFormat): byte[];
1663
1684
  Dispose(disposing: boolean): void;
@@ -1844,13 +1865,13 @@ export interface ECDiffieHellman$instance extends ECAlgorithm$instance {
1844
1865
 
1845
1866
  readonly __tsonic_iface_System_IDisposable: never;
1846
1867
 
1847
- readonly KeyExchangeAlgorithm: string | string | undefined;
1868
+ readonly KeyExchangeAlgorithm: string | string | null;
1848
1869
  readonly PublicKey: ECDiffieHellmanPublicKey;
1849
- readonly SignatureAlgorithm: string | undefined;
1870
+ readonly SignatureAlgorithm: string | null;
1850
1871
  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[];
1872
+ DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1873
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null): byte[];
1874
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1854
1875
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1855
1876
  DeriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1856
1877
  DeriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -1863,7 +1884,7 @@ export const ECDiffieHellman: (abstract new() => ECDiffieHellman) & {
1863
1884
  Create(): ECDiffieHellman;
1864
1885
  Create(curve: ECCurve): ECDiffieHellman;
1865
1886
  Create(parameters: ECParameters): ECDiffieHellman;
1866
- Create(algorithm: string): ECDiffieHellman | undefined;
1887
+ Create(algorithm: string): ECDiffieHellman | null;
1867
1888
  };
1868
1889
 
1869
1890
 
@@ -1880,19 +1901,19 @@ export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1880
1901
  readonly __tsonic_iface_System_IDisposable: never;
1881
1902
 
1882
1903
  HashAlgorithm: CngAlgorithm;
1883
- get HmacKey(): byte[] | undefined;
1884
- set HmacKey(value: byte[] | undefined);
1904
+ get HmacKey(): byte[] | null;
1905
+ set HmacKey(value: byte[] | null);
1885
1906
  readonly Key: CngKey;
1886
1907
  KeyDerivationFunction: ECDiffieHellmanKeyDerivationFunction;
1887
- get Label(): byte[] | undefined;
1888
- set Label(value: byte[] | undefined);
1908
+ get Label(): byte[] | null;
1909
+ set Label(value: byte[] | null);
1889
1910
  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);
1911
+ get SecretAppend(): byte[] | null;
1912
+ set SecretAppend(value: byte[] | null);
1913
+ get SecretPrepend(): byte[] | null;
1914
+ set SecretPrepend(value: byte[] | null);
1915
+ get Seed(): byte[] | null;
1916
+ set Seed(value: byte[] | null);
1896
1917
  readonly UseSecretAgreementAsHmacKey: boolean;
1897
1918
  DeriveKeyMaterial(otherPartyPublicKey: CngKey): byte[];
1898
1919
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -1954,10 +1975,10 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
1954
1975
  KeySize: int;
1955
1976
  readonly LegalKeySizes: KeySizes[];
1956
1977
  readonly PublicKey: ECDiffieHellmanPublicKey;
1957
- DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1978
+ DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1958
1979
  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[];
1980
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null, secretPrepend: byte[] | null, secretAppend: byte[] | null): byte[];
1981
+ DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | null): byte[];
1961
1982
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1962
1983
  DeriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1963
1984
  DeriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -2021,8 +2042,8 @@ export interface ECDsa$instance extends ECAlgorithm$instance {
2021
2042
 
2022
2043
  readonly __tsonic_iface_System_IDisposable: never;
2023
2044
 
2024
- readonly KeyExchangeAlgorithm: string | undefined;
2025
- readonly SignatureAlgorithm: string | string | undefined;
2045
+ readonly KeyExchangeAlgorithm: string | null;
2046
+ readonly SignatureAlgorithm: string | string | null;
2026
2047
  FromXmlString(xmlString: string): void;
2027
2048
  GetMaxSignatureSize(signatureFormat: DSASignatureFormat): int;
2028
2049
  HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
@@ -2076,7 +2097,7 @@ export const ECDsa: (abstract new() => ECDsa) & {
2076
2097
  Create(): ECDsa;
2077
2098
  Create(curve: ECCurve): ECDsa;
2078
2099
  Create(parameters: ECParameters): ECDsa;
2079
- Create(algorithm: string): ECDsa | undefined;
2100
+ Create(algorithm: string): ECDsa | null;
2080
2101
  };
2081
2102
 
2082
2103
 
@@ -2240,7 +2261,7 @@ export interface HashAlgorithm$instance {
2240
2261
 
2241
2262
  readonly CanReuseTransform: boolean;
2242
2263
  readonly CanTransformMultipleBlocks: boolean;
2243
- readonly Hash: byte[] | undefined;
2264
+ readonly Hash: byte[] | null;
2244
2265
  readonly HashSize: int;
2245
2266
  readonly InputBlockSize: int;
2246
2267
  readonly OutputBlockSize: int;
@@ -2255,7 +2276,7 @@ export interface HashAlgorithm$instance {
2255
2276
  HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2256
2277
  HashFinal(): byte[];
2257
2278
  Initialize(): void;
2258
- TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2279
+ TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | null, outputOffset: int): int;
2259
2280
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2260
2281
  TryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2261
2282
  TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -2264,7 +2285,7 @@ export interface HashAlgorithm$instance {
2264
2285
 
2265
2286
  export const HashAlgorithm: (abstract new() => HashAlgorithm) & {
2266
2287
  Create(): HashAlgorithm;
2267
- Create(hashName: string): HashAlgorithm | undefined;
2288
+ Create(hashName: string): HashAlgorithm | null;
2268
2289
  };
2269
2290
 
2270
2291
 
@@ -2748,16 +2769,16 @@ export interface Kmac128$instance extends System_Internal.IDisposable$instance {
2748
2769
 
2749
2770
 
2750
2771
  export const Kmac128: {
2751
- new(key: byte[], customizationString: byte[]): Kmac128;
2772
+ new(key: byte[], customizationString: byte[] | null): Kmac128;
2752
2773
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128;
2753
2774
  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[];
2775
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2776
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2756
2777
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2757
2778
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2758
2779
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2759
2780
  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[]>;
2781
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2761
2782
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2762
2783
  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
2784
  };
@@ -2787,16 +2808,16 @@ export interface Kmac256$instance extends System_Internal.IDisposable$instance {
2787
2808
 
2788
2809
 
2789
2810
  export const Kmac256: {
2790
- new(key: byte[], customizationString: byte[]): Kmac256;
2811
+ new(key: byte[], customizationString: byte[] | null): Kmac256;
2791
2812
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256;
2792
2813
  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[];
2814
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2815
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2795
2816
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2796
2817
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2797
2818
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2798
2819
  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[]>;
2820
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2800
2821
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2801
2822
  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
2823
  };
@@ -2826,16 +2847,16 @@ export interface KmacXof128$instance extends System_Internal.IDisposable$instanc
2826
2847
 
2827
2848
 
2828
2849
  export const KmacXof128: {
2829
- new(key: byte[], customizationString: byte[]): KmacXof128;
2850
+ new(key: byte[], customizationString: byte[] | null): KmacXof128;
2830
2851
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128;
2831
2852
  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[];
2853
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2854
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2834
2855
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2835
2856
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2836
2857
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2837
2858
  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[]>;
2859
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2839
2860
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2840
2861
  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
2862
  };
@@ -2865,16 +2886,16 @@ export interface KmacXof256$instance extends System_Internal.IDisposable$instanc
2865
2886
 
2866
2887
 
2867
2888
  export const KmacXof256: {
2868
- new(key: byte[], customizationString: byte[]): KmacXof256;
2889
+ new(key: byte[], customizationString: byte[] | null): KmacXof256;
2869
2890
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256;
2870
2891
  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[];
2892
+ HashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | null): byte[];
2893
+ HashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null): byte[];
2873
2894
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2874
2895
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2875
2896
  HashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2876
2897
  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[]>;
2898
+ HashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | null, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2878
2899
  HashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2879
2900
  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
2901
  };
@@ -2988,14 +3009,14 @@ export interface MLDsa$instance {
2988
3009
  ExportSubjectPublicKeyInfo(): byte[];
2989
3010
  ExportSubjectPublicKeyInfoPem(): string;
2990
3011
  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[];
3012
+ SignData(data: byte[], context?: byte[] | null): byte[];
2992
3013
  SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2993
3014
  SignMu(externalMu: byte[]): byte[];
2994
3015
  SignMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2995
3016
  SignMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2996
3017
  SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2997
3018
  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[];
3019
+ SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | null): byte[];
2999
3020
  SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3000
3021
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3001
3022
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -3004,13 +3025,13 @@ export interface MLDsa$instance {
3004
3025
  TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3005
3026
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3006
3027
  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;
3028
+ VerifyData(data: byte[], signature: byte[], context?: byte[] | null): boolean;
3008
3029
  VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3009
3030
  VerifyMu(externalMu: byte[], signature: byte[]): boolean;
3010
3031
  VerifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3011
3032
  VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3012
3033
  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;
3034
+ VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | null): boolean;
3014
3035
  VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3015
3036
  }
3016
3037
 
@@ -3058,8 +3079,8 @@ export interface MLDsaAlgorithm$instance {
3058
3079
  readonly PrivateSeedSizeInBytes: int;
3059
3080
  readonly PublicKeySizeInBytes: int;
3060
3081
  readonly SignatureSizeInBytes: int;
3061
- Equals(other: MLDsaAlgorithm): boolean;
3062
- Equals(obj: unknown): boolean;
3082
+ Equals(other: MLDsaAlgorithm | null): boolean;
3083
+ Equals(obj: JsValue | null): boolean;
3063
3084
  GetHashCode(): int;
3064
3085
  ToString(): string;
3065
3086
  }
@@ -3231,8 +3252,8 @@ export interface MLKemAlgorithm$instance {
3231
3252
  readonly Name: string;
3232
3253
  readonly PrivateSeedSizeInBytes: int;
3233
3254
  readonly SharedSecretSizeInBytes: int;
3234
- Equals(other: MLKemAlgorithm): boolean;
3235
- Equals(obj: unknown): boolean;
3255
+ Equals(other: MLKemAlgorithm | null): boolean;
3256
+ Equals(obj: JsValue | null): boolean;
3236
3257
  GetHashCode(): int;
3237
3258
  ToString(): string;
3238
3259
  }
@@ -3314,17 +3335,17 @@ export type MLKemOpenSsl = MLKemOpenSsl$instance & __MLKemOpenSsl$views;
3314
3335
  export interface Oid$instance {
3315
3336
  readonly __tsonic_type_System_Security_Cryptography_Oid: never;
3316
3337
 
3317
- get FriendlyName(): string | undefined;
3318
- set FriendlyName(value: string | undefined);
3319
- get Value(): string | undefined;
3320
- set Value(value: string | undefined);
3338
+ get FriendlyName(): string | null;
3339
+ set FriendlyName(value: string | null);
3340
+ get Value(): string | null;
3341
+ set Value(value: string | null);
3321
3342
  }
3322
3343
 
3323
3344
 
3324
3345
  export const Oid: {
3325
3346
  new(): Oid;
3326
3347
  new(oid: string): Oid;
3327
- new(value: string, friendlyName: string): Oid;
3348
+ new(value: string | null, friendlyName: string | null): Oid;
3328
3349
  new(oid: Oid): Oid;
3329
3350
  FromFriendlyName(friendlyName: string, group: OidGroup): Oid;
3330
3351
  FromOidValue(oidValue: string, group: OidGroup): Oid;
@@ -3341,11 +3362,11 @@ export interface OidCollection$instance {
3341
3362
 
3342
3363
  readonly Count: int;
3343
3364
  readonly IsSynchronized: boolean;
3344
- readonly SyncRoot: unknown;
3365
+ readonly SyncRoot: JsValue;
3345
3366
  Add(oid: Oid): int;
3346
3367
  CopyTo(array: Oid[], index: int): void;
3347
3368
  get_Item(index: int): Oid;
3348
- get_Item(oid: string): Oid | undefined;
3369
+ get_Item(oid: string): Oid | null;
3349
3370
  GetEnumerator(): OidEnumerator;
3350
3371
  }
3351
3372
 
@@ -3392,9 +3413,9 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
3392
3413
 
3393
3414
  HashName: string;
3394
3415
  IterationCount: int;
3395
- get Salt(): byte[] | undefined;
3396
- set Salt(value: byte[] | undefined);
3397
- CryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
3416
+ get Salt(): byte[] | null;
3417
+ set Salt(value: byte[] | null);
3418
+ CryptDeriveKey(algname: string | null, alghashname: string | null, keySize: int, rgbIV: byte[]): byte[];
3398
3419
  Dispose(disposing: boolean): void;
3399
3420
  Dispose(): void;
3400
3421
  GetBytes(cb: int): byte[];
@@ -3403,14 +3424,14 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
3403
3424
 
3404
3425
 
3405
3426
  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;
3427
+ new(strPassword: string, rgbSalt: byte[] | null): PasswordDeriveBytes;
3428
+ new(password: byte[], salt: byte[] | null): PasswordDeriveBytes;
3429
+ new(strPassword: string, rgbSalt: byte[] | null, strHashName: string, iterations: int): PasswordDeriveBytes;
3430
+ new(password: byte[], salt: byte[] | null, hashName: string, iterations: int): PasswordDeriveBytes;
3431
+ new(strPassword: string, rgbSalt: byte[] | null, cspParams: CspParameters | null): PasswordDeriveBytes;
3432
+ new(password: byte[], salt: byte[] | null, cspParams: CspParameters | null): PasswordDeriveBytes;
3433
+ new(strPassword: string, rgbSalt: byte[] | null, strHashName: string, iterations: int, cspParams: CspParameters | null): PasswordDeriveBytes;
3434
+ new(password: byte[], salt: byte[] | null, hashName: string, iterations: int, cspParams: CspParameters | null): PasswordDeriveBytes;
3414
3435
  };
3415
3436
 
3416
3437
 
@@ -3469,7 +3490,7 @@ export interface RandomNumberGenerator$instance {
3469
3490
 
3470
3491
  export const RandomNumberGenerator: (abstract new() => RandomNumberGenerator) & {
3471
3492
  Create(): RandomNumberGenerator;
3472
- Create(rngName: string): RandomNumberGenerator | undefined;
3493
+ Create(rngName: string): RandomNumberGenerator | null;
3473
3494
  Fill(data: Span_1<System_Internal.Byte>): void;
3474
3495
  GetBytes(count: int): byte[];
3475
3496
  GetHexString(stringLength: int, lowercase?: boolean): string;
@@ -3528,9 +3549,9 @@ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
3528
3549
  Padding: PaddingMode;
3529
3550
  UseSalt: boolean;
3530
3551
  CreateDecryptor(): ICryptoTransform;
3531
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3552
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3532
3553
  CreateEncryptor(): ICryptoTransform;
3533
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3554
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3534
3555
  Dispose(disposing: boolean): void;
3535
3556
  Dispose(): void;
3536
3557
  GenerateIV(): void;
@@ -3625,9 +3646,9 @@ export interface RijndaelManaged$instance extends Rijndael$instance {
3625
3646
  Mode: CipherMode;
3626
3647
  Padding: PaddingMode;
3627
3648
  CreateDecryptor(): ICryptoTransform;
3628
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3649
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3629
3650
  CreateEncryptor(): ICryptoTransform;
3630
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3651
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
3631
3652
  Dispose(disposing: boolean): void;
3632
3653
  Dispose(): void;
3633
3654
  GenerateIV(): void;
@@ -3666,7 +3687,7 @@ export const RNGCryptoServiceProvider: {
3666
3687
  new(): RNGCryptoServiceProvider;
3667
3688
  new(str: string): RNGCryptoServiceProvider;
3668
3689
  new(rgb: byte[]): RNGCryptoServiceProvider;
3669
- new(cspParams: CspParameters): RNGCryptoServiceProvider;
3690
+ new(cspParams: CspParameters | null): RNGCryptoServiceProvider;
3670
3691
  };
3671
3692
 
3672
3693
 
@@ -3682,8 +3703,8 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
3682
3703
 
3683
3704
  readonly __tsonic_iface_System_IDisposable: never;
3684
3705
 
3685
- readonly KeyExchangeAlgorithm: string | undefined;
3686
- readonly SignatureAlgorithm: string | string | undefined;
3706
+ readonly KeyExchangeAlgorithm: string | null;
3707
+ readonly SignatureAlgorithm: string | string | null;
3687
3708
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3688
3709
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
3689
3710
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
@@ -3744,7 +3765,7 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
3744
3765
 
3745
3766
  export const RSA: (abstract new() => RSA) & {
3746
3767
  Create(parameters: RSAParameters): RSA;
3747
- Create(algName: string): RSA | undefined;
3768
+ Create(algName: string): RSA | null;
3748
3769
  };
3749
3770
 
3750
3771
 
@@ -3787,12 +3808,12 @@ export interface RSACryptoServiceProvider$instance extends RSA$instance, ICspAsy
3787
3808
  readonly __tsonic_iface_System_Security_Cryptography_ICspAsymmetricAlgorithm: never;
3788
3809
 
3789
3810
  readonly CspKeyContainerInfo: CspKeyContainerInfo;
3790
- readonly KeyExchangeAlgorithm: string | undefined;
3811
+ readonly KeyExchangeAlgorithm: string | null;
3791
3812
  KeySize: int;
3792
3813
  readonly LegalKeySizes: KeySizes[];
3793
3814
  PersistKeyInCsp: boolean;
3794
3815
  readonly PublicOnly: boolean;
3795
- readonly SignatureAlgorithm: string | string | undefined;
3816
+ readonly SignatureAlgorithm: string | string | null;
3796
3817
  Decrypt(rgb: byte[], fOAEP: boolean): byte[];
3797
3818
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3798
3819
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
@@ -3812,9 +3833,9 @@ export interface RSACryptoServiceProvider$instance extends RSA$instance, ICspAsy
3812
3833
  ImportParameters(parameters: RSAParameters): void;
3813
3834
  SignData(data: Stream, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
3814
3835
  SignData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
3815
- SignData(buffer: byte[], offset: int, count: int, halg: unknown): byte[];
3816
- SignData(buffer: byte[], halg: unknown): byte[];
3817
- SignData(inputStream: Stream, halg: unknown): byte[];
3836
+ SignData(buffer: byte[], offset: int, count: int, halg: JsValue): byte[];
3837
+ SignData(buffer: byte[], halg: JsValue): byte[];
3838
+ SignData(inputStream: Stream, halg: JsValue): byte[];
3818
3839
  SignData(data: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
3819
3840
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): byte[];
3820
3841
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): int;
@@ -3827,7 +3848,7 @@ export interface RSACryptoServiceProvider$instance extends RSA$instance, ICspAsy
3827
3848
  TryEncrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding, bytesWritten: int): boolean;
3828
3849
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
3829
3850
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
3830
- VerifyData(buffer: byte[], halg: unknown, signature: byte[]): boolean;
3851
+ VerifyData(buffer: byte[], halg: JsValue, signature: byte[]): boolean;
3831
3852
  VerifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
3832
3853
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
3833
3854
  VerifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
@@ -3862,8 +3883,8 @@ export interface RSAEncryptionPadding$instance {
3862
3883
 
3863
3884
  readonly Mode: RSAEncryptionPaddingMode;
3864
3885
  readonly OaepHashAlgorithm: HashAlgorithmName;
3865
- Equals(obj: unknown): boolean;
3866
- Equals(other: RSAEncryptionPadding): boolean;
3886
+ Equals(obj: JsValue | null): boolean;
3887
+ Equals(other: RSAEncryptionPadding | null): boolean;
3867
3888
  GetHashCode(): int;
3868
3889
  ToString(): string;
3869
3890
  }
@@ -3895,8 +3916,8 @@ export type RSAEncryptionPadding = RSAEncryptionPadding$instance & __RSAEncrypti
3895
3916
  export interface RSAOAEPKeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3896
3917
  readonly __tsonic_type_System_Security_Cryptography_RSAOAEPKeyExchangeDeformatter: never;
3897
3918
 
3898
- get Parameters(): string | undefined;
3899
- set Parameters(value: string | undefined);
3919
+ get Parameters(): string | null;
3920
+ set Parameters(value: string | null);
3900
3921
  DecryptKeyExchange(rgbData: byte[]): byte[];
3901
3922
  SetKey(key: AsymmetricAlgorithm): void;
3902
3923
  }
@@ -3913,12 +3934,12 @@ export type RSAOAEPKeyExchangeDeformatter = RSAOAEPKeyExchangeDeformatter$instan
3913
3934
  export interface RSAOAEPKeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3914
3935
  readonly __tsonic_type_System_Security_Cryptography_RSAOAEPKeyExchangeFormatter: never;
3915
3936
 
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[];
3937
+ get Parameter(): byte[] | null;
3938
+ set Parameter(value: byte[] | null);
3939
+ readonly Parameters: string | null;
3940
+ get Rng(): RandomNumberGenerator | null;
3941
+ set Rng(value: RandomNumberGenerator | null);
3942
+ CreateKeyExchange(rgbData: byte[], symAlgType: Type | null): byte[];
3922
3943
  CreateKeyExchange(rgbData: byte[]): byte[];
3923
3944
  SetKey(key: AsymmetricAlgorithm): void;
3924
3945
  }
@@ -3994,10 +4015,10 @@ export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
3994
4015
  export interface RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3995
4016
  readonly __tsonic_type_System_Security_Cryptography_RSAPKCS1KeyExchangeDeformatter: never;
3996
4017
 
3997
- get Parameters(): string | undefined;
3998
- set Parameters(value: string | undefined);
3999
- get RNG(): RandomNumberGenerator | undefined;
4000
- set RNG(value: RandomNumberGenerator | undefined);
4018
+ get Parameters(): string | null;
4019
+ set Parameters(value: string | null);
4020
+ get RNG(): RandomNumberGenerator | null;
4021
+ set RNG(value: RandomNumberGenerator | null);
4001
4022
  DecryptKeyExchange(rgbIn: byte[]): byte[];
4002
4023
  SetKey(key: AsymmetricAlgorithm): void;
4003
4024
  }
@@ -4014,10 +4035,10 @@ export type RSAPKCS1KeyExchangeDeformatter = RSAPKCS1KeyExchangeDeformatter$inst
4014
4035
  export interface RSAPKCS1KeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
4015
4036
  readonly __tsonic_type_System_Security_Cryptography_RSAPKCS1KeyExchangeFormatter: never;
4016
4037
 
4017
- readonly Parameters: string | string | undefined;
4018
- get Rng(): RandomNumberGenerator | undefined;
4019
- set Rng(value: RandomNumberGenerator | undefined);
4020
- CreateKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
4038
+ readonly Parameters: string | string | null;
4039
+ get Rng(): RandomNumberGenerator | null;
4040
+ set Rng(value: RandomNumberGenerator | null);
4041
+ CreateKeyExchange(rgbData: byte[], symAlgType: Type | null): byte[];
4021
4042
  CreateKeyExchange(rgbData: byte[]): byte[];
4022
4043
  SetKey(key: AsymmetricAlgorithm): void;
4023
4044
  }
@@ -4073,8 +4094,8 @@ export interface RSASignaturePadding$instance {
4073
4094
  readonly __tsonic_iface_System_IEquatable_1: never;
4074
4095
 
4075
4096
  readonly Mode: RSASignaturePaddingMode;
4076
- Equals(obj: unknown): boolean;
4077
- Equals(other: RSASignaturePadding): boolean;
4097
+ Equals(obj: JsValue | null): boolean;
4098
+ Equals(other: RSASignaturePadding | null): boolean;
4078
4099
  GetHashCode(): int;
4079
4100
  ToString(): string;
4080
4101
  }
@@ -4657,16 +4678,16 @@ export type Shake256 = Shake256$instance & __Shake256$views;
4657
4678
  export interface SignatureDescription$instance {
4658
4679
  readonly __tsonic_type_System_Security_Cryptography_SignatureDescription: never;
4659
4680
 
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);
4681
+ get DeformatterAlgorithm(): string | null;
4682
+ set DeformatterAlgorithm(value: string | null);
4683
+ get DigestAlgorithm(): string | null;
4684
+ set DigestAlgorithm(value: string | null);
4685
+ get FormatterAlgorithm(): string | null;
4686
+ set FormatterAlgorithm(value: string | null);
4687
+ get KeyAlgorithm(): string | null;
4688
+ set KeyAlgorithm(value: string | null);
4668
4689
  CreateDeformatter(key: AsymmetricAlgorithm): AsymmetricSignatureDeformatter;
4669
- CreateDigest(): HashAlgorithm | undefined;
4690
+ CreateDigest(): HashAlgorithm | null;
4670
4691
  CreateFormatter(key: AsymmetricAlgorithm): AsymmetricSignatureFormatter;
4671
4692
  }
4672
4693
 
@@ -4704,10 +4725,10 @@ export interface SlhDsa$instance {
4704
4725
  ExportSubjectPublicKeyInfo(): byte[];
4705
4726
  ExportSubjectPublicKeyInfoPem(): string;
4706
4727
  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[];
4728
+ SignData(data: byte[], context?: byte[] | null): byte[];
4708
4729
  SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4709
4730
  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[];
4731
+ SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | null): byte[];
4711
4732
  SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4712
4733
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4713
4734
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -4716,10 +4737,10 @@ export interface SlhDsa$instance {
4716
4737
  TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4717
4738
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4718
4739
  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;
4740
+ VerifyData(data: byte[], signature: byte[], context?: byte[] | null): boolean;
4720
4741
  VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4721
4742
  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;
4743
+ VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | null): boolean;
4723
4744
  VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4724
4745
  }
4725
4746
 
@@ -4763,8 +4784,8 @@ export interface SlhDsaAlgorithm$instance {
4763
4784
  readonly PrivateKeySizeInBytes: int;
4764
4785
  readonly PublicKeySizeInBytes: int;
4765
4786
  readonly SignatureSizeInBytes: int;
4766
- Equals(other: SlhDsaAlgorithm): boolean;
4767
- Equals(obj: unknown): boolean;
4787
+ Equals(other: SlhDsaAlgorithm | null): boolean;
4788
+ Equals(obj: JsValue | null): boolean;
4768
4789
  GetHashCode(): int;
4769
4790
  ToString(): string;
4770
4791
  }
@@ -4903,9 +4924,9 @@ export interface SymmetricAlgorithm$instance {
4903
4924
  Padding: PaddingMode;
4904
4925
  Clear(): void;
4905
4926
  CreateDecryptor(): ICryptoTransform;
4906
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4927
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
4907
4928
  CreateEncryptor(): ICryptoTransform;
4908
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4929
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
4909
4930
  DecryptCbc(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
4910
4931
  DecryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
4911
4932
  DecryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
@@ -4951,7 +4972,7 @@ export interface SymmetricAlgorithm$instance {
4951
4972
 
4952
4973
  export const SymmetricAlgorithm: (abstract new() => SymmetricAlgorithm) & {
4953
4974
  Create(): SymmetricAlgorithm;
4954
- Create(algName: string): SymmetricAlgorithm | undefined;
4975
+ Create(algName: string): SymmetricAlgorithm | null;
4955
4976
  };
4956
4977
 
4957
4978
 
@@ -5020,9 +5041,9 @@ export interface TripleDESCng$instance extends TripleDES$instance {
5020
5041
 
5021
5042
  readonly __tsonic_iface_System_IDisposable: never;
5022
5043
 
5023
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5044
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5024
5045
  CreateDecryptor(): ICryptoTransform;
5025
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5046
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5026
5047
  CreateEncryptor(): ICryptoTransform;
5027
5048
  GenerateIV(): void;
5028
5049
  GenerateKey(): void;
@@ -5059,9 +5080,9 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$insta
5059
5080
  Mode: CipherMode;
5060
5081
  Padding: PaddingMode;
5061
5082
  CreateDecryptor(): ICryptoTransform;
5062
- CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5083
+ CreateDecryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5063
5084
  CreateEncryptor(): ICryptoTransform;
5064
- CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5085
+ CreateEncryptor(rgbKey: byte[], rgbIV: byte[] | null): ICryptoTransform;
5065
5086
  Dispose(disposing: boolean): void;
5066
5087
  Dispose(): void;
5067
5088
  GenerateIV(): void;
@@ -5108,35 +5129,12 @@ export abstract class CryptographicOperations$instance {
5108
5129
 
5109
5130
  export type CryptographicOperations = CryptographicOperations$instance;
5110
5131
 
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
5132
  export abstract class HKDF$instance {
5135
- static DeriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
5133
+ static DeriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[] | null, info?: byte[] | null): byte[];
5136
5134
  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[];
5135
+ static Expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[] | null): byte[];
5138
5136
  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[];
5137
+ static Extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[] | null): byte[];
5140
5138
  static Extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, prk: Span_1<System_Internal.Byte>): int;
5141
5139
  }
5142
5140