@tsonic/dotnet 0.8.0 → 0.8.2

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 (137) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
  2. package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
  5. package/Microsoft.Win32/internal/index.d.ts +12 -12
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
  7. package/System/bindings.json +114 -114
  8. package/System/internal/index.d.ts +1277 -1289
  9. package/System/internal/metadata.json +73 -73
  10. package/System.Buffers/internal/index.d.ts +13 -13
  11. package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
  12. package/System.Collections/internal/index.d.ts +66 -68
  13. package/System.Collections.Concurrent/internal/index.d.ts +24 -24
  14. package/System.Collections.Frozen/bindings.json +20 -20
  15. package/System.Collections.Frozen/internal/index.d.ts +10 -10
  16. package/System.Collections.Frozen/internal/metadata.json +10 -10
  17. package/System.Collections.Generic/bindings.json +44 -20
  18. package/System.Collections.Generic/internal/index.d.ts +141 -133
  19. package/System.Collections.Generic/internal/metadata.json +26 -10
  20. package/System.Collections.Immutable/internal/index.d.ts +121 -121
  21. package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
  22. package/System.Collections.Specialized/internal/index.d.ts +85 -87
  23. package/System.ComponentModel/internal/index.d.ts +595 -597
  24. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
  25. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
  26. package/System.ComponentModel.Design/internal/index.d.ts +90 -90
  27. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
  28. package/System.Data/internal/index.d.ts +225 -225
  29. package/System.Data.Common/internal/index.d.ts +62 -62
  30. package/System.Data.SqlTypes/internal/index.d.ts +73 -73
  31. package/System.Diagnostics/internal/index.d.ts +343 -343
  32. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
  33. package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
  34. package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
  35. package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
  36. package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
  37. package/System.Drawing/internal/index.d.ts +99 -99
  38. package/System.Dynamic/internal/index.d.ts +33 -33
  39. package/System.Formats.Asn1/internal/index.d.ts +12 -12
  40. package/System.Formats.Tar/internal/index.d.ts +17 -17
  41. package/System.Globalization/internal/index.d.ts +51 -51
  42. package/System.IO/internal/index.d.ts +172 -172
  43. package/System.IO.Compression/internal/index.d.ts +56 -56
  44. package/System.IO.Enumeration/internal/index.d.ts +6 -6
  45. package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
  46. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
  47. package/System.IO.Pipelines/internal/index.d.ts +13 -13
  48. package/System.IO.Pipes/internal/index.d.ts +32 -32
  49. package/System.Linq/internal/index.d.ts +187 -187
  50. package/System.Linq.Expressions/internal/index.d.ts +203 -203
  51. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
  52. package/System.Net/internal/index.d.ts +218 -220
  53. package/System.Net.Cache/internal/index.d.ts +10 -10
  54. package/System.Net.Http/internal/index.d.ts +89 -89
  55. package/System.Net.Http.Headers/internal/index.d.ts +86 -86
  56. package/System.Net.Http.Json/internal/index.d.ts +59 -59
  57. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  58. package/System.Net.Mail/internal/index.d.ts +92 -92
  59. package/System.Net.Mime/internal/index.d.ts +6 -6
  60. package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
  61. package/System.Net.Quic/internal/index.d.ts +13 -13
  62. package/System.Net.Security/internal/index.d.ts +70 -70
  63. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
  64. package/System.Net.Sockets/internal/index.d.ts +94 -94
  65. package/System.Net.WebSockets/internal/index.d.ts +46 -46
  66. package/System.Numerics/bindings.json +384 -0
  67. package/System.Numerics/internal/index.d.ts +128 -130
  68. package/System.Numerics/internal/metadata.json +256 -0
  69. package/System.Reflection/internal/index.d.ts +271 -271
  70. package/System.Reflection.Emit/internal/index.d.ts +123 -123
  71. package/System.Reflection.Metadata/bindings.json +48 -0
  72. package/System.Reflection.Metadata/internal/index.d.ts +179 -179
  73. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  74. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
  75. package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
  76. package/System.Resources/internal/index.d.ts +38 -38
  77. package/System.Runtime/internal/index.d.ts +9 -9
  78. package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
  79. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
  80. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
  81. package/System.Runtime.InteropServices/bindings.json +22 -22
  82. package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
  83. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  84. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
  85. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
  86. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
  87. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
  88. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
  89. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
  90. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  91. package/System.Runtime.Loader/internal/index.d.ts +9 -9
  92. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  93. package/System.Runtime.Serialization/internal/index.d.ts +113 -115
  94. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
  95. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  96. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
  97. package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
  98. package/System.Runtime.Versioning/internal/index.d.ts +22 -22
  99. package/System.Security/internal/index.d.ts +63 -63
  100. package/System.Security.AccessControl/internal/index.d.ts +84 -84
  101. package/System.Security.Authentication/internal/index.d.ts +6 -6
  102. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
  103. package/System.Security.Claims/internal/index.d.ts +38 -40
  104. package/System.Security.Cryptography/internal/index.d.ts +378 -378
  105. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
  106. package/System.Security.Permissions/internal/index.d.ts +1 -1
  107. package/System.Security.Policy/internal/index.d.ts +6 -6
  108. package/System.Security.Principal/internal/index.d.ts +29 -31
  109. package/System.Text/internal/index.d.ts +94 -94
  110. package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
  111. package/System.Text.Json/internal/index.d.ts +103 -103
  112. package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
  113. package/System.Text.Json.Schema/internal/index.d.ts +7 -7
  114. package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
  115. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
  116. package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
  117. package/System.Text.Unicode/internal/index.d.ts +6 -6
  118. package/System.Threading/internal/index.d.ts +160 -160
  119. package/System.Threading.Channels/internal/index.d.ts +12 -12
  120. package/System.Threading.Tasks/internal/index.d.ts +125 -135
  121. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
  122. package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
  123. package/System.Timers/internal/index.d.ts +8 -8
  124. package/System.Transactions/internal/index.d.ts +51 -51
  125. package/System.Web/internal/index.d.ts +32 -32
  126. package/System.Windows.Input/internal/index.d.ts +2 -2
  127. package/System.Windows.Markup/internal/index.d.ts +2 -2
  128. package/System.Xml/internal/index.d.ts +281 -281
  129. package/System.Xml.Linq/internal/index.d.ts +76 -76
  130. package/System.Xml.Resolvers/internal/index.d.ts +8 -8
  131. package/System.Xml.Schema/internal/index.d.ts +173 -173
  132. package/System.Xml.Serialization/internal/index.d.ts +200 -200
  133. package/System.Xml.XPath/internal/index.d.ts +28 -28
  134. package/System.Xml.Xsl/internal/index.d.ts +53 -53
  135. package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
  136. package/__internal/extensions/index.d.ts +415 -414
  137. package/package.json +1 -1
@@ -233,7 +233,7 @@ export interface CngProperty$instance {
233
233
 
234
234
 
235
235
  export const CngProperty: {
236
- new(name: string, value: byte[], options: CngPropertyOptions): CngProperty$instance;
236
+ new(name: string, value: byte[] | undefined, options: CngPropertyOptions): CngProperty;
237
237
  };
238
238
 
239
239
 
@@ -248,35 +248,35 @@ export type CngProperty = CngProperty$instance & __CngProperty$views;
248
248
 
249
249
 
250
250
  export interface DSAParameters$instance {
251
- P: byte[];
252
- Q: byte[];
253
- G: byte[];
254
- Y: byte[];
255
- J: byte[];
256
- X: byte[];
257
- seed: byte[];
251
+ P: byte[] | undefined;
252
+ Q: byte[] | undefined;
253
+ G: byte[] | undefined;
254
+ Y: byte[] | undefined;
255
+ J: byte[] | undefined;
256
+ X: byte[] | undefined;
257
+ seed: byte[] | undefined;
258
258
  counter: int;
259
259
  }
260
260
 
261
261
 
262
262
  export const DSAParameters: {
263
- new(): DSAParameters$instance;
263
+ new(): DSAParameters;
264
264
  };
265
265
 
266
266
 
267
267
  export type DSAParameters = DSAParameters$instance;
268
268
 
269
269
  export interface ECCurve$instance {
270
- A: byte[];
271
- B: byte[];
270
+ A: byte[] | undefined;
271
+ B: byte[] | undefined;
272
272
  G: ECPoint;
273
- order: byte[];
274
- cofactor: byte[];
275
- seed: byte[];
273
+ order: byte[] | undefined;
274
+ cofactor: byte[] | undefined;
275
+ seed: byte[] | undefined;
276
276
  curveType: ECCurve_ECCurveType;
277
277
  hash: Nullable_1<HashAlgorithmName>;
278
- polynomial: byte[];
279
- prime: byte[];
278
+ polynomial: byte[] | undefined;
279
+ prime: byte[] | undefined;
280
280
  readonly isCharacteristic2: boolean;
281
281
  readonly isExplicit: boolean;
282
282
  readonly isNamed: boolean;
@@ -287,10 +287,10 @@ export interface ECCurve$instance {
287
287
 
288
288
 
289
289
  export const ECCurve: {
290
- new(): ECCurve$instance;
291
- createFromFriendlyName(oidFriendlyName: string): ECCurve;
292
- createFromOid(curveOid: Oid): ECCurve;
293
- createFromValue(oidValue: string): ECCurve;
290
+ new(): ECCurve;
291
+ createFromFriendlyName(oidFriendlyName: string | undefined): ECCurve;
292
+ createFromOid(curveOid: Oid | undefined): ECCurve;
293
+ createFromValue(oidValue: string | undefined): ECCurve;
294
294
  };
295
295
 
296
296
 
@@ -298,27 +298,27 @@ export type ECCurve = ECCurve$instance;
298
298
 
299
299
  export interface ECParameters$instance {
300
300
  Q: ECPoint;
301
- D: byte[];
301
+ D: byte[] | undefined;
302
302
  curve: ECCurve;
303
303
  validate(): void;
304
304
  }
305
305
 
306
306
 
307
307
  export const ECParameters: {
308
- new(): ECParameters$instance;
308
+ new(): ECParameters;
309
309
  };
310
310
 
311
311
 
312
312
  export type ECParameters = ECParameters$instance;
313
313
 
314
314
  export interface ECPoint$instance {
315
- X: byte[];
316
- Y: byte[];
315
+ X: byte[] | undefined;
316
+ Y: byte[] | undefined;
317
317
  }
318
318
 
319
319
 
320
320
  export const ECPoint: {
321
- new(): ECPoint$instance;
321
+ new(): ECPoint;
322
322
  };
323
323
 
324
324
 
@@ -326,15 +326,15 @@ export type ECPoint = ECPoint$instance;
326
326
 
327
327
  export interface HashAlgorithmName$instance {
328
328
  readonly name: string;
329
- equals(obj: unknown): boolean;
329
+ equals(obj: unknown | undefined): boolean;
330
330
  equals(other: HashAlgorithmName): boolean;
331
331
  getHashCode(): int;
332
- toString(): string;
332
+ toString(): string | undefined;
333
333
  }
334
334
 
335
335
 
336
336
  export const HashAlgorithmName: {
337
- new(name: string): HashAlgorithmName$instance;
337
+ new(name: string | undefined): HashAlgorithmName;
338
338
  readonly MD5: HashAlgorithmName;
339
339
  readonly SHA1: HashAlgorithmName;
340
340
  readonly SHA256: HashAlgorithmName;
@@ -343,8 +343,8 @@ export const HashAlgorithmName: {
343
343
  readonly SHA3_256: HashAlgorithmName;
344
344
  readonly SHA3_384: HashAlgorithmName;
345
345
  readonly SHA3_512: HashAlgorithmName;
346
- fromOid(oidValue: string): HashAlgorithmName;
347
- tryFromOid(oidValue: string, value: HashAlgorithmName): boolean;
346
+ fromOid(oidValue: string | undefined): HashAlgorithmName;
347
+ tryFromOid(oidValue: string | undefined, value: HashAlgorithmName): boolean;
348
348
  };
349
349
 
350
350
 
@@ -367,26 +367,26 @@ export interface PemFields$instance {
367
367
 
368
368
 
369
369
  export const PemFields: {
370
- new(): PemFields$instance;
370
+ new(): PemFields;
371
371
  };
372
372
 
373
373
 
374
374
  export type PemFields = PemFields$instance;
375
375
 
376
376
  export interface RSAParameters$instance {
377
- D: byte[];
378
- DP: byte[];
379
- DQ: byte[];
380
- exponent: byte[];
381
- inverseQ: byte[];
382
- modulus: byte[];
383
- P: byte[];
384
- Q: byte[];
377
+ D: byte[] | undefined;
378
+ DP: byte[] | undefined;
379
+ DQ: byte[] | undefined;
380
+ exponent: byte[] | undefined;
381
+ inverseQ: byte[] | undefined;
382
+ modulus: byte[] | undefined;
383
+ P: byte[] | undefined;
384
+ Q: byte[] | undefined;
385
385
  }
386
386
 
387
387
 
388
388
  export const RSAParameters: {
389
- new(): RSAParameters$instance;
389
+ new(): RSAParameters;
390
390
  };
391
391
 
392
392
 
@@ -417,17 +417,17 @@ export type Aes = Aes$instance & __Aes$views;
417
417
 
418
418
 
419
419
  export interface AesCcm$instance {
420
- decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
420
+ decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | undefined): void;
421
421
  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;
422
422
  dispose(): void;
423
- encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
423
+ encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | undefined): void;
424
424
  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;
425
425
  }
426
426
 
427
427
 
428
428
  export const AesCcm: {
429
- new(key: ReadOnlySpan_1<System_Internal.Byte>): AesCcm$instance;
430
- new(key: byte[]): AesCcm$instance;
429
+ new(key: ReadOnlySpan_1<System_Internal.Byte>): AesCcm;
430
+ new(key: byte[]): AesCcm;
431
431
  readonly nonceByteSizes: KeySizes;
432
432
  readonly tagByteSizes: KeySizes;
433
433
  readonly isSupported: boolean;
@@ -444,9 +444,9 @@ export type AesCcm = AesCcm$instance & __AesCcm$views;
444
444
 
445
445
 
446
446
  export interface AesCng$instance extends Aes$instance {
447
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
447
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
448
448
  createDecryptor(): ICryptoTransform;
449
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
449
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
450
450
  createEncryptor(): ICryptoTransform;
451
451
  dispose(): void;
452
452
  generateIV(): void;
@@ -455,11 +455,11 @@ export interface AesCng$instance extends Aes$instance {
455
455
 
456
456
 
457
457
  export const AesCng: {
458
- new(): AesCng$instance;
459
- new(keyName: string): AesCng$instance;
460
- new(keyName: string, provider: CngProvider): AesCng$instance;
461
- new(keyName: string, provider: CngProvider, openOptions: CngKeyOpenOptions): AesCng$instance;
462
- new(key: CngKey): AesCng$instance;
458
+ new(): AesCng;
459
+ new(keyName: string): AesCng;
460
+ new(keyName: string, provider: CngProvider): AesCng;
461
+ new(keyName: string, provider: CngProvider, openOptions: CngKeyOpenOptions): AesCng;
462
+ new(key: CngKey): AesCng;
463
463
  };
464
464
 
465
465
 
@@ -481,9 +481,9 @@ export interface AesCryptoServiceProvider$instance extends Aes$instance {
481
481
  mode: CipherMode;
482
482
  padding: PaddingMode;
483
483
  createDecryptor(): ICryptoTransform;
484
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
484
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
485
485
  createEncryptor(): ICryptoTransform;
486
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
486
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
487
487
  dispose(): void;
488
488
  generateIV(): void;
489
489
  generateKey(): void;
@@ -491,7 +491,7 @@ export interface AesCryptoServiceProvider$instance extends Aes$instance {
491
491
 
492
492
 
493
493
  export const AesCryptoServiceProvider: {
494
- new(): AesCryptoServiceProvider$instance;
494
+ new(): AesCryptoServiceProvider;
495
495
  };
496
496
 
497
497
 
@@ -504,19 +504,19 @@ export type AesCryptoServiceProvider = AesCryptoServiceProvider$instance & __Aes
504
504
 
505
505
  export interface AesGcm$instance {
506
506
  readonly tagSizeInBytes: Nullable_1<System_Internal.Int32>;
507
- decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
507
+ decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | undefined): void;
508
508
  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;
509
509
  dispose(): void;
510
- encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
510
+ encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | undefined): void;
511
511
  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;
512
512
  }
513
513
 
514
514
 
515
515
  export const AesGcm: {
516
- new(key: ReadOnlySpan_1<System_Internal.Byte>, tagSizeInBytes: int): AesGcm$instance;
517
- new(key: byte[], tagSizeInBytes: int): AesGcm$instance;
518
- new(key: ReadOnlySpan_1<System_Internal.Byte>): AesGcm$instance;
519
- new(key: byte[]): AesGcm$instance;
516
+ new(key: ReadOnlySpan_1<System_Internal.Byte>, tagSizeInBytes: int): AesGcm;
517
+ new(key: byte[], tagSizeInBytes: int): AesGcm;
518
+ new(key: ReadOnlySpan_1<System_Internal.Byte>): AesGcm;
519
+ new(key: byte[]): AesGcm;
520
520
  readonly nonceByteSizes: KeySizes;
521
521
  readonly tagByteSizes: KeySizes;
522
522
  readonly isSupported: boolean;
@@ -543,9 +543,9 @@ export interface AesManaged$instance extends Aes$instance {
543
543
  mode: CipherMode;
544
544
  padding: PaddingMode;
545
545
  createDecryptor(): ICryptoTransform;
546
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
546
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
547
547
  createEncryptor(): ICryptoTransform;
548
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
548
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
549
549
  dispose(): void;
550
550
  generateIV(): void;
551
551
  generateKey(): void;
@@ -553,7 +553,7 @@ export interface AesManaged$instance extends Aes$instance {
553
553
 
554
554
 
555
555
  export const AesManaged: {
556
- new(): AesManaged$instance;
556
+ new(): AesManaged;
557
557
  };
558
558
 
559
559
 
@@ -573,13 +573,13 @@ export interface AsnEncodedData$instance {
573
573
 
574
574
 
575
575
  export const AsnEncodedData: {
576
- new(rawData: byte[]): AsnEncodedData$instance;
577
- new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData$instance;
578
- new(asnEncodedData: AsnEncodedData): AsnEncodedData$instance;
579
- new(oid: Oid, rawData: byte[]): AsnEncodedData$instance;
580
- new(oid: string, rawData: byte[]): AsnEncodedData$instance;
581
- new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData$instance;
582
- new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData$instance;
576
+ new(rawData: byte[]): AsnEncodedData;
577
+ new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
578
+ new(asnEncodedData: AsnEncodedData): AsnEncodedData;
579
+ new(oid: Oid | undefined, rawData: byte[]): AsnEncodedData;
580
+ new(oid: string, rawData: byte[]): AsnEncodedData;
581
+ new(oid: Oid | undefined, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
582
+ new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
583
583
  };
584
584
 
585
585
 
@@ -598,8 +598,8 @@ export interface AsnEncodedDataCollection$instance {
598
598
 
599
599
 
600
600
  export const AsnEncodedDataCollection: {
601
- new(): AsnEncodedDataCollection$instance;
602
- new(asnEncodedData: AsnEncodedData): AsnEncodedDataCollection$instance;
601
+ new(): AsnEncodedDataCollection;
602
+ new(asnEncodedData: AsnEncodedData): AsnEncodedDataCollection;
603
603
  };
604
604
 
605
605
 
@@ -612,14 +612,14 @@ export type AsnEncodedDataCollection = AsnEncodedDataCollection$instance & __Asn
612
612
 
613
613
 
614
614
  export interface AsnEncodedDataEnumerator$instance {
615
- readonly current: AsnEncodedData | unknown;
615
+ readonly current: AsnEncodedData;
616
616
  moveNext(): boolean;
617
617
  reset(): void;
618
618
  }
619
619
 
620
620
 
621
621
  export const AsnEncodedDataEnumerator: {
622
- new(): AsnEncodedDataEnumerator$instance;
622
+ new(): AsnEncodedDataEnumerator;
623
623
  };
624
624
 
625
625
 
@@ -631,7 +631,7 @@ export type AsnEncodedDataEnumerator = AsnEncodedDataEnumerator$instance & __Asn
631
631
 
632
632
 
633
633
  export interface AsymmetricAlgorithm$instance {
634
- readonly keyExchangeAlgorithm: string;
634
+ readonly keyExchangeAlgorithm: string | string | undefined;
635
635
  keySize: int;
636
636
  readonly legalKeySizes: KeySizes[];
637
637
  readonly signatureAlgorithm: string;
@@ -667,7 +667,7 @@ export interface AsymmetricAlgorithm$instance {
667
667
 
668
668
  export const AsymmetricAlgorithm: {
669
669
  create(): AsymmetricAlgorithm;
670
- create(algName: string): AsymmetricAlgorithm;
670
+ create(algName: string): AsymmetricAlgorithm | undefined;
671
671
  };
672
672
 
673
673
 
@@ -682,8 +682,8 @@ export type AsymmetricAlgorithm = AsymmetricAlgorithm$instance & __AsymmetricAlg
682
682
 
683
683
  export interface AsymmetricKeyExchangeDeformatter$instance {
684
684
  parameters: string;
685
- decryptKeyExchange(rgb: byte[]): byte[];
686
- setKey(key: AsymmetricAlgorithm): void;
685
+ decryptKeyExchange(rgb: byte[] | undefined): byte[] | undefined;
686
+ setKey(key: AsymmetricAlgorithm | undefined): void;
687
687
  }
688
688
 
689
689
 
@@ -696,7 +696,7 @@ export type AsymmetricKeyExchangeDeformatter = AsymmetricKeyExchangeDeformatter$
696
696
  export interface AsymmetricKeyExchangeFormatter$instance {
697
697
  readonly parameters: string;
698
698
  createKeyExchange(data: byte[]): byte[];
699
- createKeyExchange(data: byte[], symAlgType: Type): byte[];
699
+ createKeyExchange(data: byte[], symAlgType: Type | undefined): byte[];
700
700
  setKey(key: AsymmetricAlgorithm): void;
701
701
  }
702
702
 
@@ -741,9 +741,9 @@ export interface AuthenticationTagMismatchException$instance extends Cryptograph
741
741
 
742
742
 
743
743
  export const AuthenticationTagMismatchException: {
744
- new(): AuthenticationTagMismatchException$instance;
745
- new(message: string): AuthenticationTagMismatchException$instance;
746
- new(message: string, inner: Exception): AuthenticationTagMismatchException$instance;
744
+ new(): AuthenticationTagMismatchException;
745
+ new(message: string | undefined): AuthenticationTagMismatchException;
746
+ new(message: string | undefined, inner: Exception | undefined): AuthenticationTagMismatchException;
747
747
  };
748
748
 
749
749
 
@@ -755,17 +755,17 @@ export type AuthenticationTagMismatchException = AuthenticationTagMismatchExcept
755
755
 
756
756
 
757
757
  export interface ChaCha20Poly1305$instance {
758
- decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): void;
758
+ decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[] | undefined): void;
759
759
  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;
760
760
  dispose(): void;
761
- encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): void;
761
+ encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[] | undefined): void;
762
762
  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;
763
763
  }
764
764
 
765
765
 
766
766
  export const ChaCha20Poly1305: {
767
- new(key: ReadOnlySpan_1<System_Internal.Byte>): ChaCha20Poly1305$instance;
768
- new(key: byte[]): ChaCha20Poly1305$instance;
767
+ new(key: ReadOnlySpan_1<System_Internal.Byte>): ChaCha20Poly1305;
768
+ new(key: byte[]): ChaCha20Poly1305;
769
769
  readonly isSupported: boolean;
770
770
  };
771
771
 
@@ -789,7 +789,7 @@ export interface CngAlgorithm$instance {
789
789
 
790
790
 
791
791
  export const CngAlgorithm: {
792
- new(algorithm: string): CngAlgorithm$instance;
792
+ new(algorithm: string): CngAlgorithm;
793
793
  readonly rsa: CngAlgorithm;
794
794
  readonly ecDiffieHellman: CngAlgorithm;
795
795
  readonly ecDiffieHellmanP256: CngAlgorithm;
@@ -830,7 +830,7 @@ export interface CngAlgorithmGroup$instance {
830
830
 
831
831
 
832
832
  export const CngAlgorithmGroup: {
833
- new(algorithmGroup: string): CngAlgorithmGroup$instance;
833
+ new(algorithmGroup: string): CngAlgorithmGroup;
834
834
  readonly diffieHellman: CngAlgorithmGroup;
835
835
  readonly dsa: CngAlgorithmGroup;
836
836
  readonly ecDiffieHellman: CngAlgorithmGroup;
@@ -866,7 +866,7 @@ export interface CngKey$instance {
866
866
  readonly provider: CngProvider;
867
867
  readonly providerHandle: SafeNCryptProviderHandle;
868
868
  readonly uiPolicy: CngUIPolicy;
869
- readonly uniqueName: string;
869
+ readonly uniqueName: string | undefined;
870
870
  delete_(): void;
871
871
  dispose(): void;
872
872
  export_(format: CngKeyBlobFormat): byte[];
@@ -877,9 +877,9 @@ export interface CngKey$instance {
877
877
 
878
878
 
879
879
  export const CngKey: {
880
- new(): CngKey$instance;
881
- create(algorithm: CngAlgorithm, keyName: string, creationParameters: CngKeyCreationParameters): CngKey;
882
- create(algorithm: CngAlgorithm, keyName: string): CngKey;
880
+ new(): CngKey;
881
+ create(algorithm: CngAlgorithm, keyName: string | undefined, creationParameters: CngKeyCreationParameters | undefined): CngKey;
882
+ create(algorithm: CngAlgorithm, keyName: string | undefined): CngKey;
883
883
  create(algorithm: CngAlgorithm): CngKey;
884
884
  exists(keyName: string, provider: CngProvider, options: CngKeyOpenOptions): boolean;
885
885
  exists(keyName: string, provider: CngProvider): boolean;
@@ -912,7 +912,7 @@ export interface CngKeyBlobFormat$instance {
912
912
 
913
913
 
914
914
  export const CngKeyBlobFormat: {
915
- new(format: string): CngKeyBlobFormat$instance;
915
+ new(format: string): CngKeyBlobFormat;
916
916
  readonly eccPrivateBlob: CngKeyBlobFormat;
917
917
  readonly eccPublicBlob: CngKeyBlobFormat;
918
918
  readonly eccFullPrivateBlob: CngKeyBlobFormat;
@@ -952,7 +952,7 @@ export interface CngKeyCreationParameters$instance {
952
952
 
953
953
 
954
954
  export const CngKeyCreationParameters: {
955
- new(): CngKeyCreationParameters$instance;
955
+ new(): CngKeyCreationParameters;
956
956
  };
957
957
 
958
958
 
@@ -960,25 +960,25 @@ export type CngKeyCreationParameters = CngKeyCreationParameters$instance;
960
960
 
961
961
  export interface CngPropertyCollection$instance extends Collection_1<CngProperty> {
962
962
  add(item: CngProperty): void;
963
- add(value: unknown): int;
963
+ add(value: unknown | undefined): int;
964
964
  clear(): void;
965
965
  contains(item: CngProperty): boolean;
966
- contains(value: unknown): boolean;
966
+ contains(value: unknown | undefined): boolean;
967
967
  copyTo(array: CngProperty[], index: int): void;
968
968
  copyTo(array: ClrArray, index: int): void;
969
969
  getEnumerator(): IEnumerator_1<CngProperty>;
970
970
  getEnumerator(): IEnumerator;
971
971
  indexOf(item: CngProperty): int;
972
972
  insert(index: int, item: CngProperty): void;
973
- insert(index: int, value: unknown): void;
973
+ insert(index: int, value: unknown | undefined): void;
974
974
  remove(item: CngProperty): boolean;
975
- remove(value: unknown): void;
975
+ remove(value: unknown | undefined): void;
976
976
  removeAt(index: int): void;
977
977
  }
978
978
 
979
979
 
980
980
  export const CngPropertyCollection: {
981
- new(): CngPropertyCollection$instance;
981
+ new(): CngPropertyCollection;
982
982
  };
983
983
 
984
984
 
@@ -1005,7 +1005,7 @@ export interface CngProvider$instance {
1005
1005
 
1006
1006
 
1007
1007
  export const CngProvider: {
1008
- new(provider: string): CngProvider$instance;
1008
+ new(provider: string): CngProvider;
1009
1009
  readonly microsoftPlatformCryptoProvider: CngProvider;
1010
1010
  readonly microsoftSmartCardKeyStorageProvider: CngProvider;
1011
1011
  readonly microsoftSoftwareKeyStorageProvider: CngProvider;
@@ -1023,20 +1023,20 @@ export type CngProvider = CngProvider$instance & __CngProvider$views;
1023
1023
 
1024
1024
 
1025
1025
  export interface CngUIPolicy$instance {
1026
- readonly creationTitle: string;
1026
+ readonly creationTitle: string | undefined;
1027
1027
  readonly description: string;
1028
1028
  readonly friendlyName: string;
1029
1029
  readonly protectionLevel: CngUIProtectionLevels;
1030
- readonly useContext: string;
1030
+ readonly useContext: string | undefined;
1031
1031
  }
1032
1032
 
1033
1033
 
1034
1034
  export const CngUIPolicy: {
1035
- new(protectionLevel: CngUIProtectionLevels): CngUIPolicy$instance;
1036
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string): CngUIPolicy$instance;
1037
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string): CngUIPolicy$instance;
1038
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string): CngUIPolicy$instance;
1039
- new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string, creationTitle: string): CngUIPolicy$instance;
1035
+ new(protectionLevel: CngUIProtectionLevels): CngUIPolicy;
1036
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined): CngUIPolicy;
1037
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined, description: string | undefined): CngUIPolicy;
1038
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined, description: string | undefined, useContext: string | undefined): CngUIPolicy;
1039
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string | undefined, description: string | undefined, useContext: string | undefined, creationTitle: string | undefined): CngUIPolicy;
1040
1040
  };
1041
1041
 
1042
1042
 
@@ -1059,7 +1059,7 @@ export interface CompositeMLDsa$instance {
1059
1059
  exportPkcs8PrivateKeyPem(): string;
1060
1060
  exportSubjectPublicKeyInfo(): byte[];
1061
1061
  exportSubjectPublicKeyInfoPem(): string;
1062
- signData(data: byte[], context?: byte[]): byte[];
1062
+ signData(data: byte[], context?: byte[] | undefined): byte[];
1063
1063
  signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): int;
1064
1064
  tryExportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1065
1065
  tryExportCompositeMLDsaPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -1068,7 +1068,7 @@ export interface CompositeMLDsa$instance {
1068
1068
  tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1069
1069
  tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1070
1070
  tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1071
- verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
1071
+ verifyData(data: byte[], signature: byte[], context?: byte[] | undefined): boolean;
1072
1072
  verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1073
1073
  }
1074
1074
 
@@ -1117,7 +1117,7 @@ export interface CompositeMLDsaAlgorithm$instance {
1117
1117
 
1118
1118
 
1119
1119
  export const CompositeMLDsaAlgorithm: {
1120
- new(): CompositeMLDsaAlgorithm$instance;
1120
+ new(): CompositeMLDsaAlgorithm;
1121
1121
  readonly mlDsa44WithRSA2048Pss: CompositeMLDsaAlgorithm;
1122
1122
  readonly mlDsa44WithRSA2048Pkcs15: CompositeMLDsaAlgorithm;
1123
1123
  readonly mlDsa44WithEd25519: CompositeMLDsaAlgorithm;
@@ -1156,7 +1156,7 @@ export interface CompositeMLDsaCng$instance extends CompositeMLDsa$instance {
1156
1156
 
1157
1157
 
1158
1158
  export const CompositeMLDsaCng: {
1159
- new(key: CngKey): CompositeMLDsaCng$instance;
1159
+ new(key: CngKey): CompositeMLDsaCng;
1160
1160
  };
1161
1161
 
1162
1162
 
@@ -1172,14 +1172,14 @@ export interface CryptoConfig$instance {
1172
1172
 
1173
1173
 
1174
1174
  export const CryptoConfig: {
1175
- new(): CryptoConfig$instance;
1175
+ new(): CryptoConfig;
1176
1176
  readonly allowOnlyFipsAlgorithms: boolean;
1177
1177
  addAlgorithm(algorithm: Type, ...names: string[]): void;
1178
1178
  addOID(oid: string, ...names: string[]): void;
1179
1179
  createFromName(name: string, ...args: unknown[]): unknown;
1180
- createFromName(name: string): unknown;
1180
+ createFromName(name: string): unknown | undefined;
1181
1181
  encodeOID(str: string): byte[];
1182
- mapNameToOID(name: string): string;
1182
+ mapNameToOID(name: string): string | undefined;
1183
1183
  };
1184
1184
 
1185
1185
 
@@ -1191,11 +1191,11 @@ export interface CryptographicException$instance extends SystemException {
1191
1191
 
1192
1192
 
1193
1193
  export const CryptographicException: {
1194
- new(): CryptographicException$instance;
1195
- new(hr: int): CryptographicException$instance;
1196
- new(message: string): CryptographicException$instance;
1197
- new(message: string, inner: Exception): CryptographicException$instance;
1198
- new(format: string, insert: string): CryptographicException$instance;
1194
+ new(): CryptographicException;
1195
+ new(hr: int): CryptographicException;
1196
+ new(message: string): CryptographicException;
1197
+ new(message: string, inner: Exception): CryptographicException;
1198
+ new(format: string, insert: string | undefined): CryptographicException;
1199
1199
  };
1200
1200
 
1201
1201
 
@@ -1212,10 +1212,10 @@ export interface CryptographicUnexpectedOperationException$instance extends Cryp
1212
1212
 
1213
1213
 
1214
1214
  export const CryptographicUnexpectedOperationException: {
1215
- new(): CryptographicUnexpectedOperationException$instance;
1216
- new(message: string): CryptographicUnexpectedOperationException$instance;
1217
- new(message: string, inner: Exception): CryptographicUnexpectedOperationException$instance;
1218
- new(format: string, insert: string): CryptographicUnexpectedOperationException$instance;
1215
+ new(): CryptographicUnexpectedOperationException;
1216
+ new(message: string): CryptographicUnexpectedOperationException;
1217
+ new(message: string, inner: Exception): CryptographicUnexpectedOperationException;
1218
+ new(format: string, insert: string | undefined): CryptographicUnexpectedOperationException;
1219
1219
  };
1220
1220
 
1221
1221
 
@@ -1233,8 +1233,8 @@ export interface CryptoStream$instance extends Stream {
1233
1233
  readonly hasFlushedFinalBlock: boolean;
1234
1234
  readonly length: long;
1235
1235
  position: long;
1236
- beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
1237
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback, state: unknown): IAsyncResult;
1236
+ beginRead(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
1237
+ beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
1238
1238
  clear(): void;
1239
1239
  copyTo(destination: Stream, bufferSize: int): void;
1240
1240
  copyTo(destination: Stream): void;
@@ -1273,8 +1273,8 @@ export interface CryptoStream$instance extends Stream {
1273
1273
 
1274
1274
 
1275
1275
  export const CryptoStream: {
1276
- new(stream: Stream, transform: ICryptoTransform, mode: CryptoStreamMode): CryptoStream$instance;
1277
- new(stream: Stream, transform: ICryptoTransform, mode: CryptoStreamMode, leaveOpen: boolean): CryptoStream$instance;
1276
+ new(stream: Stream, transform: ICryptoTransform, mode: CryptoStreamMode): CryptoStream;
1277
+ new(stream: Stream, transform: ICryptoTransform, mode: CryptoStreamMode, leaveOpen: boolean): CryptoStream;
1278
1278
  };
1279
1279
 
1280
1280
 
@@ -1303,7 +1303,7 @@ export interface CspKeyContainerInfo$instance {
1303
1303
 
1304
1304
 
1305
1305
  export const CspKeyContainerInfo: {
1306
- new(parameters: CspParameters): CspKeyContainerInfo$instance;
1306
+ new(parameters: CspParameters): CspKeyContainerInfo;
1307
1307
  };
1308
1308
 
1309
1309
 
@@ -1311,20 +1311,20 @@ export type CspKeyContainerInfo = CspKeyContainerInfo$instance;
1311
1311
 
1312
1312
  export interface CspParameters$instance {
1313
1313
  providerType: int;
1314
- providerName: string;
1315
- keyContainerName: string;
1314
+ providerName: string | undefined;
1315
+ keyContainerName: string | undefined;
1316
1316
  keyNumber: int;
1317
1317
  flags: CspProviderFlags;
1318
- keyPassword: SecureString;
1318
+ keyPassword: SecureString | undefined;
1319
1319
  parentWindowHandle: nint;
1320
1320
  }
1321
1321
 
1322
1322
 
1323
1323
  export const CspParameters: {
1324
- new(): CspParameters$instance;
1325
- new(dwTypeIn: int): CspParameters$instance;
1326
- new(dwTypeIn: int, strProviderNameIn: string): CspParameters$instance;
1327
- new(dwTypeIn: int, strProviderNameIn: string, strContainerNameIn: string): CspParameters$instance;
1324
+ new(): CspParameters;
1325
+ new(dwTypeIn: int): CspParameters;
1326
+ new(dwTypeIn: int, strProviderNameIn: string | undefined): CspParameters;
1327
+ new(dwTypeIn: int, strProviderNameIn: string | undefined, strContainerNameIn: string | undefined): CspParameters;
1328
1328
  };
1329
1329
 
1330
1330
 
@@ -1380,9 +1380,9 @@ export interface DESCryptoServiceProvider$instance extends DES$instance {
1380
1380
  mode: CipherMode;
1381
1381
  padding: PaddingMode;
1382
1382
  createDecryptor(): ICryptoTransform;
1383
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1383
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
1384
1384
  createEncryptor(): ICryptoTransform;
1385
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1385
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
1386
1386
  dispose(): void;
1387
1387
  generateIV(): void;
1388
1388
  generateKey(): void;
@@ -1390,7 +1390,7 @@ export interface DESCryptoServiceProvider$instance extends DES$instance {
1390
1390
 
1391
1391
 
1392
1392
  export const DESCryptoServiceProvider: {
1393
- new(): DESCryptoServiceProvider$instance;
1393
+ new(): DESCryptoServiceProvider;
1394
1394
  };
1395
1395
 
1396
1396
 
@@ -1456,7 +1456,7 @@ export interface DSA$instance extends AsymmetricAlgorithm$instance {
1456
1456
 
1457
1457
  export const DSA: {
1458
1458
  create(parameters: DSAParameters): DSA;
1459
- create(algName: string): DSA;
1459
+ create(algName: string): DSA | undefined;
1460
1460
  };
1461
1461
 
1462
1462
 
@@ -1482,9 +1482,9 @@ export interface DSACng$instance extends DSA$instance {
1482
1482
 
1483
1483
 
1484
1484
  export const DSACng: {
1485
- new(): DSACng$instance;
1486
- new(keySize: int): DSACng$instance;
1487
- new(key: CngKey): DSACng$instance;
1485
+ new(): DSACng;
1486
+ new(keySize: int): DSACng;
1487
+ new(key: CngKey): DSACng;
1488
1488
  };
1489
1489
 
1490
1490
 
@@ -1497,7 +1497,7 @@ export type DSACng = DSACng$instance & __DSACng$views;
1497
1497
 
1498
1498
  export interface DSACryptoServiceProvider$instance extends DSA$instance {
1499
1499
  readonly cspKeyContainerInfo: CspKeyContainerInfo;
1500
- readonly keyExchangeAlgorithm: string;
1500
+ readonly keyExchangeAlgorithm: string | undefined;
1501
1501
  keySize: int;
1502
1502
  readonly legalKeySizes: KeySizes[];
1503
1503
  persistKeyInCsp: boolean;
@@ -1548,10 +1548,10 @@ export interface DSACryptoServiceProvider$instance extends DSA$instance {
1548
1548
 
1549
1549
 
1550
1550
  export const DSACryptoServiceProvider: {
1551
- new(): DSACryptoServiceProvider$instance;
1552
- new(dwKeySize: int): DSACryptoServiceProvider$instance;
1553
- new(dwKeySize: int, parameters: CspParameters): DSACryptoServiceProvider$instance;
1554
- new(parameters: CspParameters): DSACryptoServiceProvider$instance;
1551
+ new(): DSACryptoServiceProvider;
1552
+ new(dwKeySize: int): DSACryptoServiceProvider;
1553
+ new(dwKeySize: int, parameters: CspParameters): DSACryptoServiceProvider;
1554
+ new(parameters: CspParameters): DSACryptoServiceProvider;
1555
1555
  useMachineKeyStore: boolean;
1556
1556
  };
1557
1557
 
@@ -1590,11 +1590,11 @@ export interface DSAOpenSsl$instance extends DSA$instance {
1590
1590
 
1591
1591
 
1592
1592
  export const DSAOpenSsl: {
1593
- new(): DSAOpenSsl$instance;
1594
- new(keySize: int): DSAOpenSsl$instance;
1595
- new(parameters: DSAParameters): DSAOpenSsl$instance;
1596
- new(pkeyHandle: SafeEvpPKeyHandle): DSAOpenSsl$instance;
1597
- new(handle: nint): DSAOpenSsl$instance;
1593
+ new(): DSAOpenSsl;
1594
+ new(keySize: int): DSAOpenSsl;
1595
+ new(parameters: DSAParameters): DSAOpenSsl;
1596
+ new(pkeyHandle: SafeEvpPKeyHandle): DSAOpenSsl;
1597
+ new(handle: nint): DSAOpenSsl;
1598
1598
  };
1599
1599
 
1600
1600
 
@@ -1614,8 +1614,8 @@ export interface DSASignatureDeformatter$instance extends AsymmetricSignatureDef
1614
1614
 
1615
1615
 
1616
1616
  export const DSASignatureDeformatter: {
1617
- new(): DSASignatureDeformatter$instance;
1618
- new(key: AsymmetricAlgorithm): DSASignatureDeformatter$instance;
1617
+ new(): DSASignatureDeformatter;
1618
+ new(key: AsymmetricAlgorithm): DSASignatureDeformatter;
1619
1619
  };
1620
1620
 
1621
1621
 
@@ -1630,8 +1630,8 @@ export interface DSASignatureFormatter$instance extends AsymmetricSignatureForma
1630
1630
 
1631
1631
 
1632
1632
  export const DSASignatureFormatter: {
1633
- new(): DSASignatureFormatter$instance;
1634
- new(key: AsymmetricAlgorithm): DSASignatureFormatter$instance;
1633
+ new(): DSASignatureFormatter;
1634
+ new(key: AsymmetricAlgorithm): DSASignatureFormatter;
1635
1635
  };
1636
1636
 
1637
1637
 
@@ -1682,12 +1682,12 @@ export type ECAlgorithm = ECAlgorithm$instance & __ECAlgorithm$views;
1682
1682
 
1683
1683
 
1684
1684
  export interface ECDiffieHellman$instance extends ECAlgorithm$instance {
1685
- readonly keyExchangeAlgorithm: string;
1685
+ readonly keyExchangeAlgorithm: string | string | undefined;
1686
1686
  readonly publicKey: ECDiffieHellmanPublicKey;
1687
1687
  readonly signatureAlgorithm: string;
1688
1688
  deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1689
- deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1690
- deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
1689
+ deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | undefined, secretAppend: byte[] | undefined): byte[];
1690
+ deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | undefined): byte[];
1691
1691
  deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
1692
1692
  deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1693
1693
  deriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
@@ -1702,7 +1702,7 @@ export const ECDiffieHellman: {
1702
1702
  create(): ECDiffieHellman;
1703
1703
  create(curve: ECCurve): ECDiffieHellman;
1704
1704
  create(parameters: ECParameters): ECDiffieHellman;
1705
- create(algorithm: string): ECDiffieHellman;
1705
+ create(algorithm: string): ECDiffieHellman | undefined;
1706
1706
  };
1707
1707
 
1708
1708
 
@@ -1715,18 +1715,18 @@ export type ECDiffieHellman = ECDiffieHellman$instance & __ECDiffieHellman$views
1715
1715
 
1716
1716
  export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1717
1717
  hashAlgorithm: CngAlgorithm;
1718
- hmacKey: byte[];
1718
+ hmacKey: byte[] | undefined;
1719
1719
  readonly key: CngKey;
1720
1720
  keyDerivationFunction: ECDiffieHellmanKeyDerivationFunction;
1721
- label: byte[];
1721
+ label: byte[] | undefined;
1722
1722
  readonly publicKey: ECDiffieHellmanPublicKey;
1723
- secretAppend: byte[];
1724
- secretPrepend: byte[];
1725
- seed: byte[];
1723
+ secretAppend: byte[] | undefined;
1724
+ secretPrepend: byte[] | undefined;
1725
+ seed: byte[] | undefined;
1726
1726
  readonly useSecretAgreementAsHmacKey: boolean;
1727
1727
  deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1728
- deriveSecretAgreementHandle(otherPartyPublicKey: CngKey): SafeNCryptSecretHandle;
1729
- deriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey): SafeNCryptSecretHandle;
1728
+ deriveSecretAgreementHandle(otherPartyPublicKey: CngKey | undefined): SafeNCryptSecretHandle | undefined;
1729
+ deriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey | undefined): SafeNCryptSecretHandle | undefined;
1730
1730
  dispose(): void;
1731
1731
  fromXmlString(xmlString: string): void;
1732
1732
  toXmlString(includePrivateParameters: boolean): string;
@@ -1734,10 +1734,10 @@ export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1734
1734
 
1735
1735
 
1736
1736
  export const ECDiffieHellmanCng: {
1737
- new(): ECDiffieHellmanCng$instance;
1738
- new(keySize: int): ECDiffieHellmanCng$instance;
1739
- new(key: CngKey): ECDiffieHellmanCng$instance;
1740
- new(curve: ECCurve): ECDiffieHellmanCng$instance;
1737
+ new(): ECDiffieHellmanCng;
1738
+ new(keySize: int): ECDiffieHellmanCng;
1739
+ new(key: CngKey | undefined): ECDiffieHellmanCng;
1740
+ new(curve: ECCurve): ECDiffieHellmanCng;
1741
1741
  };
1742
1742
 
1743
1743
 
@@ -1757,7 +1757,7 @@ export interface ECDiffieHellmanCngPublicKey$instance extends ECDiffieHellmanPub
1757
1757
 
1758
1758
 
1759
1759
  export const ECDiffieHellmanCngPublicKey: {
1760
- new(): ECDiffieHellmanCngPublicKey$instance;
1760
+ new(): ECDiffieHellmanCngPublicKey;
1761
1761
  fromByteArray(publicKeyBlob: byte[], format: CngKeyBlobFormat): ECDiffieHellmanPublicKey;
1762
1762
  fromXmlString(xml: string): ECDiffieHellmanCngPublicKey;
1763
1763
  };
@@ -1774,10 +1774,10 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
1774
1774
  keySize: int;
1775
1775
  readonly legalKeySizes: KeySizes[];
1776
1776
  readonly publicKey: ECDiffieHellmanPublicKey;
1777
- deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1777
+ deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | undefined, secretAppend: byte[] | undefined): byte[];
1778
1778
  deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1779
1779
  deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
1780
- deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
1780
+ deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | undefined): byte[];
1781
1781
  deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1782
1782
  deriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1783
1783
  deriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -1794,11 +1794,11 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
1794
1794
 
1795
1795
 
1796
1796
  export const ECDiffieHellmanOpenSsl: {
1797
- new(curve: ECCurve): ECDiffieHellmanOpenSsl$instance;
1798
- new(): ECDiffieHellmanOpenSsl$instance;
1799
- new(keySize: int): ECDiffieHellmanOpenSsl$instance;
1800
- new(pkeyHandle: SafeEvpPKeyHandle): ECDiffieHellmanOpenSsl$instance;
1801
- new(handle: nint): ECDiffieHellmanOpenSsl$instance;
1797
+ new(curve: ECCurve): ECDiffieHellmanOpenSsl;
1798
+ new(): ECDiffieHellmanOpenSsl;
1799
+ new(keySize: int): ECDiffieHellmanOpenSsl;
1800
+ new(pkeyHandle: SafeEvpPKeyHandle): ECDiffieHellmanOpenSsl;
1801
+ new(handle: nint): ECDiffieHellmanOpenSsl;
1802
1802
  };
1803
1803
 
1804
1804
 
@@ -1834,7 +1834,7 @@ export type ECDiffieHellmanPublicKey = ECDiffieHellmanPublicKey$instance & __ECD
1834
1834
 
1835
1835
 
1836
1836
  export interface ECDsa$instance extends ECAlgorithm$instance {
1837
- readonly keyExchangeAlgorithm: string;
1837
+ readonly keyExchangeAlgorithm: string | undefined;
1838
1838
  readonly signatureAlgorithm: string;
1839
1839
  dispose(): void;
1840
1840
  fromXmlString(xmlString: string): void;
@@ -1879,7 +1879,7 @@ export const ECDsa: {
1879
1879
  create(): ECDsa;
1880
1880
  create(curve: ECCurve): ECDsa;
1881
1881
  create(parameters: ECParameters): ECDsa;
1882
- create(algorithm: string): ECDsa;
1882
+ create(algorithm: string): ECDsa | undefined;
1883
1883
  };
1884
1884
 
1885
1885
 
@@ -1930,10 +1930,10 @@ export interface ECDsaCng$instance extends ECDsa$instance {
1930
1930
 
1931
1931
 
1932
1932
  export const ECDsaCng: {
1933
- new(): ECDsaCng$instance;
1934
- new(keySize: int): ECDsaCng$instance;
1935
- new(key: CngKey): ECDsaCng$instance;
1936
- new(curve: ECCurve): ECDsaCng$instance;
1933
+ new(): ECDsaCng;
1934
+ new(keySize: int): ECDsaCng;
1935
+ new(key: CngKey): ECDsaCng;
1936
+ new(curve: ECCurve): ECDsaCng;
1937
1937
  };
1938
1938
 
1939
1939
 
@@ -1974,11 +1974,11 @@ export interface ECDsaOpenSsl$instance extends ECDsa$instance {
1974
1974
 
1975
1975
 
1976
1976
  export const ECDsaOpenSsl: {
1977
- new(curve: ECCurve): ECDsaOpenSsl$instance;
1978
- new(): ECDsaOpenSsl$instance;
1979
- new(keySize: int): ECDsaOpenSsl$instance;
1980
- new(pkeyHandle: SafeEvpPKeyHandle): ECDsaOpenSsl$instance;
1981
- new(handle: nint): ECDsaOpenSsl$instance;
1977
+ new(curve: ECCurve): ECDsaOpenSsl;
1978
+ new(): ECDsaOpenSsl;
1979
+ new(keySize: int): ECDsaOpenSsl;
1980
+ new(pkeyHandle: SafeEvpPKeyHandle): ECDsaOpenSsl;
1981
+ new(handle: nint): ECDsaOpenSsl;
1982
1982
  };
1983
1983
 
1984
1984
 
@@ -2002,8 +2002,8 @@ export interface FromBase64Transform$instance {
2002
2002
 
2003
2003
 
2004
2004
  export const FromBase64Transform: {
2005
- new(): FromBase64Transform$instance;
2006
- new(whitespaces: FromBase64TransformMode): FromBase64Transform$instance;
2005
+ new(): FromBase64Transform;
2006
+ new(whitespaces: FromBase64TransformMode): FromBase64Transform;
2007
2007
  };
2008
2008
 
2009
2009
 
@@ -2018,7 +2018,7 @@ export type FromBase64Transform = FromBase64Transform$instance & __FromBase64Tra
2018
2018
  export interface HashAlgorithm$instance {
2019
2019
  readonly canReuseTransform: boolean;
2020
2020
  readonly canTransformMultipleBlocks: boolean;
2021
- readonly hash: byte[];
2021
+ readonly hash: byte[] | undefined;
2022
2022
  readonly hashSize: int;
2023
2023
  readonly inputBlockSize: int;
2024
2024
  readonly outputBlockSize: int;
@@ -2029,7 +2029,7 @@ export interface HashAlgorithm$instance {
2029
2029
  computeHashAsync(inputStream: Stream, cancellationToken?: CancellationToken): Task_1<byte[]>;
2030
2030
  dispose(): void;
2031
2031
  initialize(): void;
2032
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2032
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
2033
2033
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2034
2034
  tryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2035
2035
  }
@@ -2037,7 +2037,7 @@ export interface HashAlgorithm$instance {
2037
2037
 
2038
2038
  export const HashAlgorithm: {
2039
2039
  create(): HashAlgorithm;
2040
- create(hashName: string): HashAlgorithm;
2040
+ create(hashName: string): HashAlgorithm | undefined;
2041
2041
  };
2042
2042
 
2043
2043
 
@@ -2081,8 +2081,8 @@ export interface HMACMD5$instance extends HMAC$instance {
2081
2081
 
2082
2082
 
2083
2083
  export const HMACMD5: {
2084
- new(): HMACMD5$instance;
2085
- new(key: byte[]): HMACMD5$instance;
2084
+ new(): HMACMD5;
2085
+ new(key: byte[]): HMACMD5;
2086
2086
  readonly hashSizeInBits: int;
2087
2087
  readonly hashSizeInBytes: int;
2088
2088
  hashData(key: byte[], source: byte[]): byte[];
@@ -2116,9 +2116,9 @@ export interface HMACSHA1$instance extends HMAC$instance {
2116
2116
 
2117
2117
 
2118
2118
  export const HMACSHA1: {
2119
- new(): HMACSHA1$instance;
2120
- new(key: byte[]): HMACSHA1$instance;
2121
- new(key: byte[], useManagedSha1: boolean): HMACSHA1$instance;
2119
+ new(): HMACSHA1;
2120
+ new(key: byte[]): HMACSHA1;
2121
+ new(key: byte[], useManagedSha1: boolean): HMACSHA1;
2122
2122
  readonly hashSizeInBits: int;
2123
2123
  readonly hashSizeInBytes: int;
2124
2124
  hashData(key: byte[], source: byte[]): byte[];
@@ -2152,8 +2152,8 @@ export interface HMACSHA256$instance extends HMAC$instance {
2152
2152
 
2153
2153
 
2154
2154
  export const HMACSHA256: {
2155
- new(): HMACSHA256$instance;
2156
- new(key: byte[]): HMACSHA256$instance;
2155
+ new(): HMACSHA256;
2156
+ new(key: byte[]): HMACSHA256;
2157
2157
  readonly hashSizeInBits: int;
2158
2158
  readonly hashSizeInBytes: int;
2159
2159
  hashData(key: byte[], source: byte[]): byte[];
@@ -2187,8 +2187,8 @@ export interface HMACSHA3_256$instance extends HMAC$instance {
2187
2187
 
2188
2188
 
2189
2189
  export const HMACSHA3_256: {
2190
- new(): HMACSHA3_256$instance;
2191
- new(key: byte[]): HMACSHA3_256$instance;
2190
+ new(): HMACSHA3_256;
2191
+ new(key: byte[]): HMACSHA3_256;
2192
2192
  readonly hashSizeInBits: int;
2193
2193
  readonly hashSizeInBytes: int;
2194
2194
  readonly isSupported: boolean;
@@ -2223,8 +2223,8 @@ export interface HMACSHA3_384$instance extends HMAC$instance {
2223
2223
 
2224
2224
 
2225
2225
  export const HMACSHA3_384: {
2226
- new(): HMACSHA3_384$instance;
2227
- new(key: byte[]): HMACSHA3_384$instance;
2226
+ new(): HMACSHA3_384;
2227
+ new(key: byte[]): HMACSHA3_384;
2228
2228
  readonly hashSizeInBits: int;
2229
2229
  readonly hashSizeInBytes: int;
2230
2230
  readonly isSupported: boolean;
@@ -2259,8 +2259,8 @@ export interface HMACSHA3_512$instance extends HMAC$instance {
2259
2259
 
2260
2260
 
2261
2261
  export const HMACSHA3_512: {
2262
- new(): HMACSHA3_512$instance;
2263
- new(key: byte[]): HMACSHA3_512$instance;
2262
+ new(): HMACSHA3_512;
2263
+ new(key: byte[]): HMACSHA3_512;
2264
2264
  readonly hashSizeInBits: int;
2265
2265
  readonly hashSizeInBytes: int;
2266
2266
  readonly isSupported: boolean;
@@ -2296,8 +2296,8 @@ export interface HMACSHA384$instance extends HMAC$instance {
2296
2296
 
2297
2297
 
2298
2298
  export const HMACSHA384: {
2299
- new(): HMACSHA384$instance;
2300
- new(key: byte[]): HMACSHA384$instance;
2299
+ new(): HMACSHA384;
2300
+ new(key: byte[]): HMACSHA384;
2301
2301
  readonly hashSizeInBits: int;
2302
2302
  readonly hashSizeInBytes: int;
2303
2303
  hashData(key: byte[], source: byte[]): byte[];
@@ -2332,8 +2332,8 @@ export interface HMACSHA512$instance extends HMAC$instance {
2332
2332
 
2333
2333
 
2334
2334
  export const HMACSHA512: {
2335
- new(): HMACSHA512$instance;
2336
- new(key: byte[]): HMACSHA512$instance;
2335
+ new(): HMACSHA512;
2336
+ new(key: byte[]): HMACSHA512;
2337
2337
  readonly hashSizeInBits: int;
2338
2338
  readonly hashSizeInBytes: int;
2339
2339
  hashData(key: byte[], source: byte[]): byte[];
@@ -2375,7 +2375,7 @@ export interface IncrementalHash$instance {
2375
2375
 
2376
2376
 
2377
2377
  export const IncrementalHash: {
2378
- new(): IncrementalHash$instance;
2378
+ new(): IncrementalHash;
2379
2379
  createHash(hashAlgorithm: HashAlgorithmName): IncrementalHash;
2380
2380
  createHMAC(hashAlgorithm: HashAlgorithmName, key: byte[]): IncrementalHash;
2381
2381
  createHMAC(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>): IncrementalHash;
@@ -2394,7 +2394,7 @@ export type IncrementalHash = IncrementalHash$instance & __IncrementalHash$views
2394
2394
  export interface KeyedHashAlgorithm$instance extends HashAlgorithm$instance {
2395
2395
  key: byte[];
2396
2396
  dispose(): void;
2397
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2397
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
2398
2398
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2399
2399
  }
2400
2400
 
@@ -2419,7 +2419,7 @@ export interface KeySizes$instance {
2419
2419
 
2420
2420
 
2421
2421
  export const KeySizes: {
2422
- new(minSize: int, maxSize: int, skipSize: int): KeySizes$instance;
2422
+ new(minSize: int, maxSize: int, skipSize: int): KeySizes;
2423
2423
  };
2424
2424
 
2425
2425
 
@@ -2438,16 +2438,16 @@ export interface Kmac128$instance {
2438
2438
 
2439
2439
 
2440
2440
  export const Kmac128: {
2441
- new(key: byte[], customizationString: byte[]): Kmac128$instance;
2442
- new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128$instance;
2441
+ new(key: byte[], customizationString: byte[] | undefined): Kmac128;
2442
+ new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128;
2443
2443
  readonly isSupported: boolean;
2444
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2445
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2444
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2445
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2446
2446
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2447
2447
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2448
2448
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2449
2449
  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;
2450
- hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2450
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2451
2451
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2452
2452
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2453
2453
  };
@@ -2475,16 +2475,16 @@ export interface Kmac256$instance {
2475
2475
 
2476
2476
 
2477
2477
  export const Kmac256: {
2478
- new(key: byte[], customizationString: byte[]): Kmac256$instance;
2479
- new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256$instance;
2478
+ new(key: byte[], customizationString: byte[] | undefined): Kmac256;
2479
+ new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256;
2480
2480
  readonly isSupported: boolean;
2481
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2482
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2481
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2482
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2483
2483
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2484
2484
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2485
2485
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2486
2486
  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;
2487
- hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2487
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2488
2488
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2489
2489
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2490
2490
  };
@@ -2512,16 +2512,16 @@ export interface KmacXof128$instance {
2512
2512
 
2513
2513
 
2514
2514
  export const KmacXof128: {
2515
- new(key: byte[], customizationString: byte[]): KmacXof128$instance;
2516
- new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128$instance;
2515
+ new(key: byte[], customizationString: byte[] | undefined): KmacXof128;
2516
+ new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128;
2517
2517
  readonly isSupported: boolean;
2518
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2519
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2518
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2519
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2520
2520
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2521
2521
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2522
2522
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2523
2523
  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;
2524
- hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2524
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2525
2525
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2526
2526
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2527
2527
  };
@@ -2549,16 +2549,16 @@ export interface KmacXof256$instance {
2549
2549
 
2550
2550
 
2551
2551
  export const KmacXof256: {
2552
- new(key: byte[], customizationString: byte[]): KmacXof256$instance;
2553
- new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256$instance;
2552
+ new(key: byte[], customizationString: byte[] | undefined): KmacXof256;
2553
+ new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256;
2554
2554
  readonly isSupported: boolean;
2555
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2556
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2555
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2556
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2557
2557
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2558
2558
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2559
2559
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2560
2560
  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;
2561
- hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2561
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2562
2562
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2563
2563
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, destination: Memory_1<System_Internal.Byte>, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask;
2564
2564
  };
@@ -2586,7 +2586,7 @@ export type MaskGenerationMethod = MaskGenerationMethod$instance;
2586
2586
 
2587
2587
  export interface MD5$instance extends HashAlgorithm$instance {
2588
2588
  dispose(): void;
2589
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2589
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
2590
2590
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2591
2591
  }
2592
2592
 
@@ -2622,7 +2622,7 @@ export interface MD5CryptoServiceProvider$instance extends MD5$instance {
2622
2622
 
2623
2623
 
2624
2624
  export const MD5CryptoServiceProvider: {
2625
- new(): MD5CryptoServiceProvider$instance;
2625
+ new(): MD5CryptoServiceProvider;
2626
2626
  };
2627
2627
 
2628
2628
 
@@ -2654,23 +2654,23 @@ export interface MLDsa$instance {
2654
2654
  exportSubjectPublicKeyInfo(): byte[];
2655
2655
  exportSubjectPublicKeyInfoPem(): string;
2656
2656
  signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
2657
- signData(data: byte[], context?: byte[]): byte[];
2657
+ signData(data: byte[], context?: byte[] | undefined): byte[];
2658
2658
  signMu(externalMu: byte[]): byte[];
2659
2659
  signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2660
2660
  signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2661
2661
  signPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
2662
- signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
2662
+ signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): byte[];
2663
2663
  tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2664
2664
  tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2665
2665
  tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2666
2666
  tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2667
2667
  tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2668
2668
  verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2669
- verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
2669
+ verifyData(data: byte[], signature: byte[], context?: byte[] | undefined): boolean;
2670
2670
  verifyMu(externalMu: byte[], signature: byte[]): boolean;
2671
2671
  verifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2672
2672
  verifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2673
- verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
2673
+ verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): boolean;
2674
2674
  }
2675
2675
 
2676
2676
 
@@ -2723,7 +2723,7 @@ export interface MLDsaAlgorithm$instance {
2723
2723
 
2724
2724
 
2725
2725
  export const MLDsaAlgorithm: {
2726
- new(): MLDsaAlgorithm$instance;
2726
+ new(): MLDsaAlgorithm;
2727
2727
  readonly mlDsa44: MLDsaAlgorithm;
2728
2728
  readonly mlDsa65: MLDsaAlgorithm;
2729
2729
  readonly mlDsa87: MLDsaAlgorithm;
@@ -2747,7 +2747,7 @@ export interface MLDsaCng$instance extends MLDsa$instance {
2747
2747
 
2748
2748
 
2749
2749
  export const MLDsaCng: {
2750
- new(key: CngKey): MLDsaCng$instance;
2750
+ new(key: CngKey): MLDsaCng;
2751
2751
  };
2752
2752
 
2753
2753
 
@@ -2765,7 +2765,7 @@ export interface MLDsaOpenSsl$instance extends MLDsa$instance {
2765
2765
 
2766
2766
 
2767
2767
  export const MLDsaOpenSsl: {
2768
- new(pkeyHandle: SafeEvpPKeyHandle): MLDsaOpenSsl$instance;
2768
+ new(pkeyHandle: SafeEvpPKeyHandle): MLDsaOpenSsl;
2769
2769
  };
2770
2770
 
2771
2771
 
@@ -2856,7 +2856,7 @@ export interface MLKemAlgorithm$instance {
2856
2856
 
2857
2857
 
2858
2858
  export const MLKemAlgorithm: {
2859
- new(): MLKemAlgorithm$instance;
2859
+ new(): MLKemAlgorithm;
2860
2860
  readonly mlKem512: MLKemAlgorithm;
2861
2861
  readonly mlKem768: MLKemAlgorithm;
2862
2862
  readonly mlKem1024: MLKemAlgorithm;
@@ -2880,7 +2880,7 @@ export interface MLKemCng$instance extends MLKem$instance {
2880
2880
 
2881
2881
 
2882
2882
  export const MLKemCng: {
2883
- new(key: CngKey): MLKemCng$instance;
2883
+ new(key: CngKey): MLKemCng;
2884
2884
  };
2885
2885
 
2886
2886
 
@@ -2898,7 +2898,7 @@ export interface MLKemOpenSsl$instance extends MLKem$instance {
2898
2898
 
2899
2899
 
2900
2900
  export const MLKemOpenSsl: {
2901
- new(pkeyHandle: SafeEvpPKeyHandle): MLKemOpenSsl$instance;
2901
+ new(pkeyHandle: SafeEvpPKeyHandle): MLKemOpenSsl;
2902
2902
  };
2903
2903
 
2904
2904
 
@@ -2916,12 +2916,12 @@ export interface Oid$instance {
2916
2916
 
2917
2917
 
2918
2918
  export const Oid: {
2919
- new(): Oid$instance;
2920
- new(oid: string): Oid$instance;
2921
- new(value: string, friendlyName: string): Oid$instance;
2922
- new(oid: Oid): Oid$instance;
2923
- fromFriendlyName(friendlyName: string, group: OidGroup): Oid;
2924
- fromOidValue(oidValue: string, group: OidGroup): Oid;
2919
+ new(): Oid;
2920
+ new(oid: string | undefined): Oid;
2921
+ new(value: string | undefined, friendlyName: string | undefined): Oid;
2922
+ new(oid: Oid | undefined): Oid;
2923
+ fromFriendlyName(friendlyName: string | undefined, group: OidGroup): Oid | undefined;
2924
+ fromOidValue(oidValue: string | undefined, group: OidGroup): Oid | undefined;
2925
2925
  };
2926
2926
 
2927
2927
 
@@ -2940,7 +2940,7 @@ export interface OidCollection$instance {
2940
2940
 
2941
2941
 
2942
2942
  export const OidCollection: {
2943
- new(): OidCollection$instance;
2943
+ new(): OidCollection;
2944
2944
  };
2945
2945
 
2946
2946
 
@@ -2953,14 +2953,14 @@ export type OidCollection = OidCollection$instance & __OidCollection$views;
2953
2953
 
2954
2954
 
2955
2955
  export interface OidEnumerator$instance {
2956
- readonly current: Oid | unknown;
2956
+ readonly current: Oid;
2957
2957
  moveNext(): boolean;
2958
2958
  reset(): void;
2959
2959
  }
2960
2960
 
2961
2961
 
2962
2962
  export const OidEnumerator: {
2963
- new(): OidEnumerator$instance;
2963
+ new(): OidEnumerator;
2964
2964
  };
2965
2965
 
2966
2966
 
@@ -2975,7 +2975,7 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
2975
2975
  hashName: string;
2976
2976
  iterationCount: int;
2977
2977
  salt: byte[];
2978
- cryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
2978
+ cryptDeriveKey(algname: string | undefined, alghashname: string | undefined, keySize: int, rgbIV: byte[]): byte[];
2979
2979
  dispose(): void;
2980
2980
  getBytes(cb: int): byte[];
2981
2981
  reset(): void;
@@ -2983,14 +2983,14 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
2983
2983
 
2984
2984
 
2985
2985
  export const PasswordDeriveBytes: {
2986
- new(strPassword: string, rgbSalt: byte[]): PasswordDeriveBytes$instance;
2987
- new(password: byte[], salt: byte[]): PasswordDeriveBytes$instance;
2988
- new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int): PasswordDeriveBytes$instance;
2989
- new(password: byte[], salt: byte[], hashName: string, iterations: int): PasswordDeriveBytes$instance;
2990
- new(strPassword: string, rgbSalt: byte[], cspParams: CspParameters): PasswordDeriveBytes$instance;
2991
- new(password: byte[], salt: byte[], cspParams: CspParameters): PasswordDeriveBytes$instance;
2992
- new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes$instance;
2993
- new(password: byte[], salt: byte[], hashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes$instance;
2986
+ new(strPassword: string, rgbSalt: byte[] | undefined): PasswordDeriveBytes;
2987
+ new(password: byte[], salt: byte[] | undefined): PasswordDeriveBytes;
2988
+ new(strPassword: string, rgbSalt: byte[] | undefined, strHashName: string, iterations: int): PasswordDeriveBytes;
2989
+ new(password: byte[], salt: byte[] | undefined, hashName: string, iterations: int): PasswordDeriveBytes;
2990
+ new(strPassword: string, rgbSalt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
2991
+ new(password: byte[], salt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
2992
+ new(strPassword: string, rgbSalt: byte[] | undefined, strHashName: string, iterations: int, cspParams: CspParameters | undefined): PasswordDeriveBytes;
2993
+ new(password: byte[], salt: byte[] | undefined, hashName: string, iterations: int, cspParams: CspParameters | undefined): PasswordDeriveBytes;
2994
2994
  };
2995
2995
 
2996
2996
 
@@ -3009,7 +3009,7 @@ export interface PbeParameters$instance {
3009
3009
 
3010
3010
 
3011
3011
  export const PbeParameters: {
3012
- new(encryptionAlgorithm: PbeEncryptionAlgorithm, hashAlgorithm: HashAlgorithmName, iterationCount: int): PbeParameters$instance;
3012
+ new(encryptionAlgorithm: PbeEncryptionAlgorithm, hashAlgorithm: HashAlgorithmName, iterationCount: int): PbeParameters;
3013
3013
  };
3014
3014
 
3015
3015
 
@@ -3022,7 +3022,7 @@ export interface PKCS1MaskGenerationMethod$instance extends MaskGenerationMethod
3022
3022
 
3023
3023
 
3024
3024
  export const PKCS1MaskGenerationMethod: {
3025
- new(): PKCS1MaskGenerationMethod$instance;
3025
+ new(): PKCS1MaskGenerationMethod;
3026
3026
  };
3027
3027
 
3028
3028
 
@@ -3040,7 +3040,7 @@ export interface RandomNumberGenerator$instance {
3040
3040
 
3041
3041
  export const RandomNumberGenerator: {
3042
3042
  create(): RandomNumberGenerator;
3043
- create(rngName: string): RandomNumberGenerator;
3043
+ create(rngName: string): RandomNumberGenerator | undefined;
3044
3044
  fill(data: Span_1<System_Internal.Byte>): void;
3045
3045
  getBytes(count: int): byte[];
3046
3046
  getHexString(stringLength: int, lowercase?: boolean): string;
@@ -3094,9 +3094,9 @@ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
3094
3094
  padding: PaddingMode;
3095
3095
  useSalt: boolean;
3096
3096
  createDecryptor(): ICryptoTransform;
3097
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3097
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3098
3098
  createEncryptor(): ICryptoTransform;
3099
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3099
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3100
3100
  dispose(): void;
3101
3101
  generateIV(): void;
3102
3102
  generateKey(): void;
@@ -3104,7 +3104,7 @@ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
3104
3104
 
3105
3105
 
3106
3106
  export const RC2CryptoServiceProvider: {
3107
- new(): RC2CryptoServiceProvider$instance;
3107
+ new(): RC2CryptoServiceProvider;
3108
3108
  };
3109
3109
 
3110
3110
 
@@ -3127,14 +3127,14 @@ export interface Rfc2898DeriveBytes$instance extends DeriveBytes$instance {
3127
3127
 
3128
3128
 
3129
3129
  export const Rfc2898DeriveBytes: {
3130
- new(password: byte[], salt: byte[], iterations: int): Rfc2898DeriveBytes$instance;
3131
- new(password: byte[], salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes$instance;
3132
- new(password: string, salt: byte[]): Rfc2898DeriveBytes$instance;
3133
- new(password: string, salt: byte[], iterations: int): Rfc2898DeriveBytes$instance;
3134
- new(password: string, salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes$instance;
3135
- new(password: string, saltSize: int): Rfc2898DeriveBytes$instance;
3136
- new(password: string, saltSize: int, iterations: int): Rfc2898DeriveBytes$instance;
3137
- new(password: string, saltSize: int, iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes$instance;
3130
+ new(password: byte[], salt: byte[], iterations: int): Rfc2898DeriveBytes;
3131
+ new(password: byte[], salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes;
3132
+ new(password: string, salt: byte[]): Rfc2898DeriveBytes;
3133
+ new(password: string, salt: byte[], iterations: int): Rfc2898DeriveBytes;
3134
+ new(password: string, salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes;
3135
+ new(password: string, saltSize: int): Rfc2898DeriveBytes;
3136
+ new(password: string, saltSize: int, iterations: int): Rfc2898DeriveBytes;
3137
+ new(password: string, saltSize: int, iterations: int, hashAlgorithm: HashAlgorithmName): Rfc2898DeriveBytes;
3138
3138
  pbkdf2(password: byte[], salt: byte[], iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
3139
3139
  pbkdf2(password: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, iterations: int, hashAlgorithm: HashAlgorithmName, outputLength: int): byte[];
3140
3140
  pbkdf2(password: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, iterations: int, hashAlgorithm: HashAlgorithmName): void;
@@ -3177,9 +3177,9 @@ export interface RijndaelManaged$instance extends Rijndael$instance {
3177
3177
  mode: CipherMode;
3178
3178
  padding: PaddingMode;
3179
3179
  createDecryptor(): ICryptoTransform;
3180
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3180
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3181
3181
  createEncryptor(): ICryptoTransform;
3182
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3182
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3183
3183
  dispose(): void;
3184
3184
  generateIV(): void;
3185
3185
  generateKey(): void;
@@ -3187,7 +3187,7 @@ export interface RijndaelManaged$instance extends Rijndael$instance {
3187
3187
 
3188
3188
 
3189
3189
  export const RijndaelManaged: {
3190
- new(): RijndaelManaged$instance;
3190
+ new(): RijndaelManaged;
3191
3191
  };
3192
3192
 
3193
3193
 
@@ -3211,10 +3211,10 @@ export interface RNGCryptoServiceProvider$instance extends RandomNumberGenerator
3211
3211
 
3212
3212
 
3213
3213
  export const RNGCryptoServiceProvider: {
3214
- new(): RNGCryptoServiceProvider$instance;
3215
- new(str: string): RNGCryptoServiceProvider$instance;
3216
- new(rgb: byte[]): RNGCryptoServiceProvider$instance;
3217
- new(cspParams: CspParameters): RNGCryptoServiceProvider$instance;
3214
+ new(): RNGCryptoServiceProvider;
3215
+ new(str: string): RNGCryptoServiceProvider;
3216
+ new(rgb: byte[]): RNGCryptoServiceProvider;
3217
+ new(cspParams: CspParameters): RNGCryptoServiceProvider;
3218
3218
  };
3219
3219
 
3220
3220
 
@@ -3226,7 +3226,7 @@ export type RNGCryptoServiceProvider = RNGCryptoServiceProvider$instance & __RNG
3226
3226
 
3227
3227
 
3228
3228
  export interface RSA$instance extends AsymmetricAlgorithm$instance {
3229
- readonly keyExchangeAlgorithm: string;
3229
+ readonly keyExchangeAlgorithm: string | undefined;
3230
3230
  readonly signatureAlgorithm: string;
3231
3231
  decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3232
3232
  decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
@@ -3294,7 +3294,7 @@ export interface RSA$instance extends AsymmetricAlgorithm$instance {
3294
3294
 
3295
3295
  export const RSA: {
3296
3296
  create(parameters: RSAParameters): RSA;
3297
- create(algName: string): RSA;
3297
+ create(algName: string): RSA | undefined;
3298
3298
  };
3299
3299
 
3300
3300
 
@@ -3314,9 +3314,9 @@ export interface RSACng$instance extends RSA$instance {
3314
3314
 
3315
3315
 
3316
3316
  export const RSACng: {
3317
- new(): RSACng$instance;
3318
- new(keySize: int): RSACng$instance;
3319
- new(key: CngKey): RSACng$instance;
3317
+ new(): RSACng;
3318
+ new(keySize: int): RSACng;
3319
+ new(key: CngKey): RSACng;
3320
3320
  };
3321
3321
 
3322
3322
 
@@ -3329,7 +3329,7 @@ export type RSACng = RSACng$instance & __RSACng$views;
3329
3329
 
3330
3330
  export interface RSACryptoServiceProvider$instance extends RSA$instance {
3331
3331
  readonly cspKeyContainerInfo: CspKeyContainerInfo;
3332
- readonly keyExchangeAlgorithm: string;
3332
+ readonly keyExchangeAlgorithm: string | undefined;
3333
3333
  keySize: int;
3334
3334
  readonly legalKeySizes: KeySizes[];
3335
3335
  persistKeyInCsp: boolean;
@@ -3380,10 +3380,10 @@ export interface RSACryptoServiceProvider$instance extends RSA$instance {
3380
3380
 
3381
3381
 
3382
3382
  export const RSACryptoServiceProvider: {
3383
- new(): RSACryptoServiceProvider$instance;
3384
- new(dwKeySize: int): RSACryptoServiceProvider$instance;
3385
- new(dwKeySize: int, parameters: CspParameters): RSACryptoServiceProvider$instance;
3386
- new(parameters: CspParameters): RSACryptoServiceProvider$instance;
3383
+ new(): RSACryptoServiceProvider;
3384
+ new(dwKeySize: int): RSACryptoServiceProvider;
3385
+ new(dwKeySize: int, parameters: CspParameters): RSACryptoServiceProvider;
3386
+ new(parameters: CspParameters): RSACryptoServiceProvider;
3387
3387
  useMachineKeyStore: boolean;
3388
3388
  };
3389
3389
 
@@ -3409,7 +3409,7 @@ export interface RSAEncryptionPadding$instance {
3409
3409
 
3410
3410
 
3411
3411
  export const RSAEncryptionPadding: {
3412
- new(): RSAEncryptionPadding$instance;
3412
+ new(): RSAEncryptionPadding;
3413
3413
  readonly pkcs1: RSAEncryptionPadding;
3414
3414
  readonly oaepSHA1: RSAEncryptionPadding;
3415
3415
  readonly oaepSHA256: RSAEncryptionPadding;
@@ -3440,26 +3440,26 @@ export interface RSAOAEPKeyExchangeDeformatter$instance extends AsymmetricKeyExc
3440
3440
 
3441
3441
 
3442
3442
  export const RSAOAEPKeyExchangeDeformatter: {
3443
- new(): RSAOAEPKeyExchangeDeformatter$instance;
3444
- new(key: AsymmetricAlgorithm): RSAOAEPKeyExchangeDeformatter$instance;
3443
+ new(): RSAOAEPKeyExchangeDeformatter;
3444
+ new(key: AsymmetricAlgorithm): RSAOAEPKeyExchangeDeformatter;
3445
3445
  };
3446
3446
 
3447
3447
 
3448
3448
  export type RSAOAEPKeyExchangeDeformatter = RSAOAEPKeyExchangeDeformatter$instance;
3449
3449
 
3450
3450
  export interface RSAOAEPKeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3451
- parameter: byte[];
3451
+ parameter: byte[] | undefined;
3452
3452
  readonly parameters: string;
3453
- rng: RandomNumberGenerator;
3454
- createKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
3455
- createKeyExchange(rgbData: byte[]): byte[];
3456
- setKey(key: AsymmetricAlgorithm): void;
3453
+ rng: RandomNumberGenerator | undefined;
3454
+ createKeyExchange(rgbData: byte[] | undefined, symAlgType: Type | undefined): byte[];
3455
+ createKeyExchange(rgbData: byte[] | undefined): byte[];
3456
+ setKey(key: AsymmetricAlgorithm | undefined): void;
3457
3457
  }
3458
3458
 
3459
3459
 
3460
3460
  export const RSAOAEPKeyExchangeFormatter: {
3461
- new(): RSAOAEPKeyExchangeFormatter$instance;
3462
- new(key: AsymmetricAlgorithm): RSAOAEPKeyExchangeFormatter$instance;
3461
+ new(): RSAOAEPKeyExchangeFormatter;
3462
+ new(key: AsymmetricAlgorithm | undefined): RSAOAEPKeyExchangeFormatter;
3463
3463
  };
3464
3464
 
3465
3465
 
@@ -3517,11 +3517,11 @@ export interface RSAOpenSsl$instance extends RSA$instance {
3517
3517
 
3518
3518
 
3519
3519
  export const RSAOpenSsl: {
3520
- new(): RSAOpenSsl$instance;
3521
- new(keySize: int): RSAOpenSsl$instance;
3522
- new(parameters: RSAParameters): RSAOpenSsl$instance;
3523
- new(handle: nint): RSAOpenSsl$instance;
3524
- new(pkeyHandle: SafeEvpPKeyHandle): RSAOpenSsl$instance;
3520
+ new(): RSAOpenSsl;
3521
+ new(keySize: int): RSAOpenSsl;
3522
+ new(parameters: RSAParameters): RSAOpenSsl;
3523
+ new(handle: nint): RSAOpenSsl;
3524
+ new(pkeyHandle: SafeEvpPKeyHandle): RSAOpenSsl;
3525
3525
  };
3526
3526
 
3527
3527
 
@@ -3534,15 +3534,15 @@ export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
3534
3534
 
3535
3535
  export interface RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3536
3536
  parameters: string;
3537
- RNG: RandomNumberGenerator;
3538
- decryptKeyExchange(rgbIn: byte[]): byte[];
3539
- setKey(key: AsymmetricAlgorithm): void;
3537
+ RNG: RandomNumberGenerator | undefined;
3538
+ decryptKeyExchange(rgbIn: byte[] | undefined): byte[] | undefined;
3539
+ setKey(key: AsymmetricAlgorithm | undefined): void;
3540
3540
  }
3541
3541
 
3542
3542
 
3543
3543
  export const RSAPKCS1KeyExchangeDeformatter: {
3544
- new(): RSAPKCS1KeyExchangeDeformatter$instance;
3545
- new(key: AsymmetricAlgorithm): RSAPKCS1KeyExchangeDeformatter$instance;
3544
+ new(): RSAPKCS1KeyExchangeDeformatter;
3545
+ new(key: AsymmetricAlgorithm | undefined): RSAPKCS1KeyExchangeDeformatter;
3546
3546
  };
3547
3547
 
3548
3548
 
@@ -3550,16 +3550,16 @@ export type RSAPKCS1KeyExchangeDeformatter = RSAPKCS1KeyExchangeDeformatter$inst
3550
3550
 
3551
3551
  export interface RSAPKCS1KeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3552
3552
  readonly parameters: string;
3553
- rng: RandomNumberGenerator;
3554
- createKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
3553
+ rng: RandomNumberGenerator | undefined;
3554
+ createKeyExchange(rgbData: byte[], symAlgType: Type | undefined): byte[];
3555
3555
  createKeyExchange(rgbData: byte[]): byte[];
3556
3556
  setKey(key: AsymmetricAlgorithm): void;
3557
3557
  }
3558
3558
 
3559
3559
 
3560
3560
  export const RSAPKCS1KeyExchangeFormatter: {
3561
- new(): RSAPKCS1KeyExchangeFormatter$instance;
3562
- new(key: AsymmetricAlgorithm): RSAPKCS1KeyExchangeFormatter$instance;
3561
+ new(): RSAPKCS1KeyExchangeFormatter;
3562
+ new(key: AsymmetricAlgorithm): RSAPKCS1KeyExchangeFormatter;
3563
3563
  };
3564
3564
 
3565
3565
 
@@ -3574,8 +3574,8 @@ export interface RSAPKCS1SignatureDeformatter$instance extends AsymmetricSignatu
3574
3574
 
3575
3575
 
3576
3576
  export const RSAPKCS1SignatureDeformatter: {
3577
- new(): RSAPKCS1SignatureDeformatter$instance;
3578
- new(key: AsymmetricAlgorithm): RSAPKCS1SignatureDeformatter$instance;
3577
+ new(): RSAPKCS1SignatureDeformatter;
3578
+ new(key: AsymmetricAlgorithm): RSAPKCS1SignatureDeformatter;
3579
3579
  };
3580
3580
 
3581
3581
 
@@ -3590,8 +3590,8 @@ export interface RSAPKCS1SignatureFormatter$instance extends AsymmetricSignature
3590
3590
 
3591
3591
 
3592
3592
  export const RSAPKCS1SignatureFormatter: {
3593
- new(): RSAPKCS1SignatureFormatter$instance;
3594
- new(key: AsymmetricAlgorithm): RSAPKCS1SignatureFormatter$instance;
3593
+ new(): RSAPKCS1SignatureFormatter;
3594
+ new(key: AsymmetricAlgorithm): RSAPKCS1SignatureFormatter;
3595
3595
  };
3596
3596
 
3597
3597
 
@@ -3607,7 +3607,7 @@ export interface RSASignaturePadding$instance {
3607
3607
 
3608
3608
 
3609
3609
  export const RSASignaturePadding: {
3610
- new(): RSASignaturePadding$instance;
3610
+ new(): RSASignaturePadding;
3611
3611
  readonly pkcs1: RSASignaturePadding;
3612
3612
  readonly pss: RSASignaturePadding;
3613
3613
  };
@@ -3631,8 +3631,8 @@ export interface SafeEvpPKeyHandle$instance extends SafeHandle {
3631
3631
 
3632
3632
 
3633
3633
  export const SafeEvpPKeyHandle: {
3634
- new(): SafeEvpPKeyHandle$instance;
3635
- new(handle: nint, ownsHandle: boolean): SafeEvpPKeyHandle$instance;
3634
+ new(): SafeEvpPKeyHandle;
3635
+ new(handle: nint, ownsHandle: boolean): SafeEvpPKeyHandle;
3636
3636
  readonly openSslVersion: long;
3637
3637
  openKeyFromProvider(providerName: string, keyUri: string): SafeEvpPKeyHandle;
3638
3638
  openPrivateKeyFromEngine(engineName: string, keyId: string): SafeEvpPKeyHandle;
@@ -3649,7 +3649,7 @@ export type SafeEvpPKeyHandle = SafeEvpPKeyHandle$instance & __SafeEvpPKeyHandle
3649
3649
 
3650
3650
  export interface SHA1$instance extends HashAlgorithm$instance {
3651
3651
  dispose(): void;
3652
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3652
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3653
3653
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3654
3654
  }
3655
3655
 
@@ -3685,7 +3685,7 @@ export interface SHA1CryptoServiceProvider$instance extends SHA1$instance {
3685
3685
 
3686
3686
 
3687
3687
  export const SHA1CryptoServiceProvider: {
3688
- new(): SHA1CryptoServiceProvider$instance;
3688
+ new(): SHA1CryptoServiceProvider;
3689
3689
  };
3690
3690
 
3691
3691
 
@@ -3706,7 +3706,7 @@ export interface SHA1Managed$instance extends SHA1$instance {
3706
3706
 
3707
3707
 
3708
3708
  export const SHA1Managed: {
3709
- new(): SHA1Managed$instance;
3709
+ new(): SHA1Managed;
3710
3710
  };
3711
3711
 
3712
3712
 
@@ -3720,7 +3720,7 @@ export type SHA1Managed = SHA1Managed$instance & __SHA1Managed$views;
3720
3720
 
3721
3721
  export interface SHA256$instance extends HashAlgorithm$instance {
3722
3722
  dispose(): void;
3723
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3723
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3724
3724
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3725
3725
  }
3726
3726
 
@@ -3756,7 +3756,7 @@ export interface SHA256CryptoServiceProvider$instance extends SHA256$instance {
3756
3756
 
3757
3757
 
3758
3758
  export const SHA256CryptoServiceProvider: {
3759
- new(): SHA256CryptoServiceProvider$instance;
3759
+ new(): SHA256CryptoServiceProvider;
3760
3760
  };
3761
3761
 
3762
3762
 
@@ -3777,7 +3777,7 @@ export interface SHA256Managed$instance extends SHA256$instance {
3777
3777
 
3778
3778
 
3779
3779
  export const SHA256Managed: {
3780
- new(): SHA256Managed$instance;
3780
+ new(): SHA256Managed;
3781
3781
  };
3782
3782
 
3783
3783
 
@@ -3791,7 +3791,7 @@ export type SHA256Managed = SHA256Managed$instance & __SHA256Managed$views;
3791
3791
 
3792
3792
  export interface SHA3_256$instance extends HashAlgorithm$instance {
3793
3793
  dispose(): void;
3794
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3794
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3795
3795
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3796
3796
  }
3797
3797
 
@@ -3821,7 +3821,7 @@ export type SHA3_256 = SHA3_256$instance & __SHA3_256$views;
3821
3821
 
3822
3822
  export interface SHA3_384$instance extends HashAlgorithm$instance {
3823
3823
  dispose(): void;
3824
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3824
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3825
3825
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3826
3826
  }
3827
3827
 
@@ -3851,7 +3851,7 @@ export type SHA3_384 = SHA3_384$instance & __SHA3_384$views;
3851
3851
 
3852
3852
  export interface SHA3_512$instance extends HashAlgorithm$instance {
3853
3853
  dispose(): void;
3854
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3854
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3855
3855
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3856
3856
  }
3857
3857
 
@@ -3881,7 +3881,7 @@ export type SHA3_512 = SHA3_512$instance & __SHA3_512$views;
3881
3881
 
3882
3882
  export interface SHA384$instance extends HashAlgorithm$instance {
3883
3883
  dispose(): void;
3884
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3884
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3885
3885
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3886
3886
  }
3887
3887
 
@@ -3917,7 +3917,7 @@ export interface SHA384CryptoServiceProvider$instance extends SHA384$instance {
3917
3917
 
3918
3918
 
3919
3919
  export const SHA384CryptoServiceProvider: {
3920
- new(): SHA384CryptoServiceProvider$instance;
3920
+ new(): SHA384CryptoServiceProvider;
3921
3921
  };
3922
3922
 
3923
3923
 
@@ -3938,7 +3938,7 @@ export interface SHA384Managed$instance extends SHA384$instance {
3938
3938
 
3939
3939
 
3940
3940
  export const SHA384Managed: {
3941
- new(): SHA384Managed$instance;
3941
+ new(): SHA384Managed;
3942
3942
  };
3943
3943
 
3944
3944
 
@@ -3952,7 +3952,7 @@ export type SHA384Managed = SHA384Managed$instance & __SHA384Managed$views;
3952
3952
 
3953
3953
  export interface SHA512$instance extends HashAlgorithm$instance {
3954
3954
  dispose(): void;
3955
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3955
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3956
3956
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3957
3957
  }
3958
3958
 
@@ -3988,7 +3988,7 @@ export interface SHA512CryptoServiceProvider$instance extends SHA512$instance {
3988
3988
 
3989
3989
 
3990
3990
  export const SHA512CryptoServiceProvider: {
3991
- new(): SHA512CryptoServiceProvider$instance;
3991
+ new(): SHA512CryptoServiceProvider;
3992
3992
  };
3993
3993
 
3994
3994
 
@@ -4009,7 +4009,7 @@ export interface SHA512Managed$instance extends SHA512$instance {
4009
4009
 
4010
4010
 
4011
4011
  export const SHA512Managed: {
4012
- new(): SHA512Managed$instance;
4012
+ new(): SHA512Managed;
4013
4013
  };
4014
4014
 
4015
4015
 
@@ -4037,7 +4037,7 @@ export interface Shake128$instance {
4037
4037
 
4038
4038
 
4039
4039
  export const Shake128: {
4040
- new(): Shake128$instance;
4040
+ new(): Shake128;
4041
4041
  readonly isSupported: boolean;
4042
4042
  hashData(source: byte[], outputLength: int): byte[];
4043
4043
  hashData(source: Stream, outputLength: int): byte[];
@@ -4074,7 +4074,7 @@ export interface Shake256$instance {
4074
4074
 
4075
4075
 
4076
4076
  export const Shake256: {
4077
- new(): Shake256$instance;
4077
+ new(): Shake256;
4078
4078
  readonly isSupported: boolean;
4079
4079
  hashData(source: byte[], outputLength: int): byte[];
4080
4080
  hashData(source: Stream, outputLength: int): byte[];
@@ -4096,19 +4096,19 @@ export type Shake256 = Shake256$instance & __Shake256$views;
4096
4096
 
4097
4097
 
4098
4098
  export interface SignatureDescription$instance {
4099
- deformatterAlgorithm: string;
4100
- digestAlgorithm: string;
4101
- formatterAlgorithm: string;
4102
- keyAlgorithm: string;
4103
- createDeformatter(key: AsymmetricAlgorithm): AsymmetricSignatureDeformatter;
4104
- createDigest(): HashAlgorithm;
4105
- createFormatter(key: AsymmetricAlgorithm): AsymmetricSignatureFormatter;
4099
+ deformatterAlgorithm: string | undefined;
4100
+ digestAlgorithm: string | undefined;
4101
+ formatterAlgorithm: string | undefined;
4102
+ keyAlgorithm: string | undefined;
4103
+ createDeformatter(key: AsymmetricAlgorithm | undefined): AsymmetricSignatureDeformatter | undefined;
4104
+ createDigest(): HashAlgorithm | undefined;
4105
+ createFormatter(key: AsymmetricAlgorithm | undefined): AsymmetricSignatureFormatter | undefined;
4106
4106
  }
4107
4107
 
4108
4108
 
4109
4109
  export const SignatureDescription: {
4110
- new(): SignatureDescription$instance;
4111
- new(el: SecurityElement): SignatureDescription$instance;
4110
+ new(): SignatureDescription;
4111
+ new(el: SecurityElement | undefined): SignatureDescription;
4112
4112
  };
4113
4113
 
4114
4114
 
@@ -4132,18 +4132,18 @@ export interface SlhDsa$instance {
4132
4132
  exportSubjectPublicKeyInfo(): byte[];
4133
4133
  exportSubjectPublicKeyInfoPem(): string;
4134
4134
  signData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
4135
- signData(data: byte[], context?: byte[]): byte[];
4135
+ signData(data: byte[], context?: byte[] | undefined): byte[];
4136
4136
  signPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
4137
- signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
4137
+ signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): byte[];
4138
4138
  tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4139
4139
  tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4140
4140
  tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4141
4141
  tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4142
4142
  tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4143
4143
  verifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4144
- verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
4144
+ verifyData(data: byte[], signature: byte[], context?: byte[] | undefined): boolean;
4145
4145
  verifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4146
- verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
4146
+ verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[] | undefined): boolean;
4147
4147
  }
4148
4148
 
4149
4149
 
@@ -4192,7 +4192,7 @@ export interface SlhDsaAlgorithm$instance {
4192
4192
 
4193
4193
 
4194
4194
  export const SlhDsaAlgorithm: {
4195
- new(): SlhDsaAlgorithm$instance;
4195
+ new(): SlhDsaAlgorithm;
4196
4196
  readonly SlhDsaSha2_128s: SlhDsaAlgorithm;
4197
4197
  readonly slhDsaShake128s: SlhDsaAlgorithm;
4198
4198
  readonly SlhDsaSha2_128f: SlhDsaAlgorithm;
@@ -4225,7 +4225,7 @@ export interface SlhDsaCng$instance extends SlhDsa$instance {
4225
4225
 
4226
4226
 
4227
4227
  export const SlhDsaCng: {
4228
- new(key: CngKey): SlhDsaCng$instance;
4228
+ new(key: CngKey): SlhDsaCng;
4229
4229
  };
4230
4230
 
4231
4231
 
@@ -4243,7 +4243,7 @@ export interface SlhDsaOpenSsl$instance extends SlhDsa$instance {
4243
4243
 
4244
4244
 
4245
4245
  export const SlhDsaOpenSsl: {
4246
- new(pkeyHandle: SafeEvpPKeyHandle): SlhDsaOpenSsl$instance;
4246
+ new(pkeyHandle: SafeEvpPKeyHandle): SlhDsaOpenSsl;
4247
4247
  };
4248
4248
 
4249
4249
 
@@ -4266,8 +4266,8 @@ export interface SP800108HmacCounterKdf$instance {
4266
4266
 
4267
4267
 
4268
4268
  export const SP800108HmacCounterKdf: {
4269
- new(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): SP800108HmacCounterKdf$instance;
4270
- new(key: byte[], hashAlgorithm: HashAlgorithmName): SP800108HmacCounterKdf$instance;
4269
+ new(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): SP800108HmacCounterKdf;
4270
+ new(key: byte[], hashAlgorithm: HashAlgorithmName): SP800108HmacCounterKdf;
4271
4271
  deriveBytes(key: byte[], hashAlgorithm: HashAlgorithmName, label: byte[], context: byte[], derivedKeyLengthInBytes: int): byte[];
4272
4272
  deriveBytes(key: byte[], hashAlgorithm: HashAlgorithmName, label: string, context: string, derivedKeyLengthInBytes: int): byte[];
4273
4273
  deriveBytes(key: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, label: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, derivedKeyLengthInBytes: int): byte[];
@@ -4298,9 +4298,9 @@ export interface SymmetricAlgorithm$instance {
4298
4298
  padding: PaddingMode;
4299
4299
  clear(): void;
4300
4300
  createDecryptor(): ICryptoTransform;
4301
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4301
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4302
4302
  createEncryptor(): ICryptoTransform;
4303
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4303
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4304
4304
  decryptCbc(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
4305
4305
  decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
4306
4306
  decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
@@ -4338,7 +4338,7 @@ export interface SymmetricAlgorithm$instance {
4338
4338
 
4339
4339
  export const SymmetricAlgorithm: {
4340
4340
  create(): SymmetricAlgorithm;
4341
- create(algName: string): SymmetricAlgorithm;
4341
+ create(algName: string): SymmetricAlgorithm | undefined;
4342
4342
  };
4343
4343
 
4344
4344
 
@@ -4364,7 +4364,7 @@ export interface ToBase64Transform$instance {
4364
4364
 
4365
4365
 
4366
4366
  export const ToBase64Transform: {
4367
- new(): ToBase64Transform$instance;
4367
+ new(): ToBase64Transform;
4368
4368
  };
4369
4369
 
4370
4370
 
@@ -4395,9 +4395,9 @@ export type TripleDES = TripleDES$instance & __TripleDES$views;
4395
4395
 
4396
4396
 
4397
4397
  export interface TripleDESCng$instance extends TripleDES$instance {
4398
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4398
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4399
4399
  createDecryptor(): ICryptoTransform;
4400
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4400
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4401
4401
  createEncryptor(): ICryptoTransform;
4402
4402
  dispose(): void;
4403
4403
  generateIV(): void;
@@ -4406,10 +4406,10 @@ export interface TripleDESCng$instance extends TripleDES$instance {
4406
4406
 
4407
4407
 
4408
4408
  export const TripleDESCng: {
4409
- new(): TripleDESCng$instance;
4410
- new(keyName: string): TripleDESCng$instance;
4411
- new(keyName: string, provider: CngProvider): TripleDESCng$instance;
4412
- new(keyName: string, provider: CngProvider, openOptions: CngKeyOpenOptions): TripleDESCng$instance;
4409
+ new(): TripleDESCng;
4410
+ new(keyName: string): TripleDESCng;
4411
+ new(keyName: string, provider: CngProvider): TripleDESCng;
4412
+ new(keyName: string, provider: CngProvider, openOptions: CngKeyOpenOptions): TripleDESCng;
4413
4413
  };
4414
4414
 
4415
4415
 
@@ -4431,9 +4431,9 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$insta
4431
4431
  mode: CipherMode;
4432
4432
  padding: PaddingMode;
4433
4433
  createDecryptor(): ICryptoTransform;
4434
- createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4434
+ createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4435
4435
  createEncryptor(): ICryptoTransform;
4436
- createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4436
+ createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4437
4437
  dispose(): void;
4438
4438
  generateIV(): void;
4439
4439
  generateKey(): void;
@@ -4441,7 +4441,7 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$insta
4441
4441
 
4442
4442
 
4443
4443
  export const TripleDESCryptoServiceProvider: {
4444
- new(): TripleDESCryptoServiceProvider$instance;
4444
+ new(): TripleDESCryptoServiceProvider;
4445
4445
  };
4446
4446
 
4447
4447
 
@@ -4502,11 +4502,11 @@ export abstract class ECCurve_NamedCurves$instance {
4502
4502
  export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
4503
4503
 
4504
4504
  export abstract class HKDF$instance {
4505
- static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
4505
+ static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[] | undefined, info?: byte[] | undefined): byte[];
4506
4506
  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;
4507
- static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[]): byte[];
4507
+ static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[] | undefined): byte[];
4508
4508
  static expand(hashAlgorithmName: HashAlgorithmName, prk: ReadOnlySpan_1<System_Internal.Byte>, output: Span_1<System_Internal.Byte>, info: ReadOnlySpan_1<System_Internal.Byte>): void;
4509
- static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[]): byte[];
4509
+ static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[] | undefined): byte[];
4510
4510
  static extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, prk: Span_1<System_Internal.Byte>): int;
4511
4511
  }
4512
4512