@tsonic/dotnet 0.8.2 → 0.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
  2. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
  3. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +2 -2
  4. package/Microsoft.Win32/internal/index.d.ts +10 -10
  5. package/System/internal/index.d.ts +964 -950
  6. package/System.Buffers/internal/index.d.ts +2 -2
  7. package/System.CodeDom.Compiler/internal/index.d.ts +10 -10
  8. package/System.Collections/internal/index.d.ts +30 -24
  9. package/System.Collections.Concurrent/internal/index.d.ts +10 -10
  10. package/System.Collections.Frozen/bindings.json +20 -20
  11. package/System.Collections.Frozen/internal/index.d.ts +6 -6
  12. package/System.Collections.Frozen/internal/metadata.json +10 -10
  13. package/System.Collections.Generic/bindings.json +20 -44
  14. package/System.Collections.Generic/internal/index.d.ts +54 -54
  15. package/System.Collections.Generic/internal/metadata.json +10 -26
  16. package/System.Collections.Immutable/internal/index.d.ts +88 -88
  17. package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
  18. package/System.Collections.Specialized/internal/index.d.ts +53 -49
  19. package/System.ComponentModel/internal/index.d.ts +388 -376
  20. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +55 -45
  21. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +3 -2
  22. package/System.ComponentModel.Design/internal/index.d.ts +36 -36
  23. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +20 -20
  24. package/System.Data/internal/index.d.ts +171 -163
  25. package/System.Data.Common/internal/index.d.ts +36 -28
  26. package/System.Data.SqlTypes/internal/index.d.ts +23 -23
  27. package/System.Diagnostics/internal/index.d.ts +250 -228
  28. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +37 -23
  29. package/System.Diagnostics.Contracts/internal/index.d.ts +4 -4
  30. package/System.Diagnostics.Metrics/internal/index.d.ts +34 -29
  31. package/System.Diagnostics.SymbolStore/internal/index.d.ts +4 -4
  32. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -24
  33. package/System.Drawing/internal/index.d.ts +76 -76
  34. package/System.Dynamic/internal/index.d.ts +26 -26
  35. package/System.Formats.Asn1/internal/index.d.ts +4 -4
  36. package/System.Formats.Tar/internal/index.d.ts +5 -4
  37. package/System.Globalization/internal/index.d.ts +22 -20
  38. package/System.IO/internal/index.d.ts +106 -103
  39. package/System.IO.Compression/internal/index.d.ts +24 -24
  40. package/System.IO.Enumeration/internal/index.d.ts +7 -5
  41. package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
  42. package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
  43. package/System.IO.Pipelines/internal/index.d.ts +5 -5
  44. package/System.IO.Pipes/internal/index.d.ts +4 -4
  45. package/System.Linq/internal/index.d.ts +207 -207
  46. package/System.Linq.Expressions/internal/index.d.ts +160 -160
  47. package/System.Net/internal/index.d.ts +157 -131
  48. package/System.Net.Cache/internal/index.d.ts +2 -2
  49. package/System.Net.Http/internal/index.d.ts +69 -53
  50. package/System.Net.Http.Headers/internal/index.d.ts +62 -45
  51. package/System.Net.Http.Json/internal/index.d.ts +38 -38
  52. package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
  53. package/System.Net.Mail/internal/index.d.ts +80 -70
  54. package/System.Net.Mime/internal/index.d.ts +4 -2
  55. package/System.Net.NetworkInformation/internal/index.d.ts +23 -23
  56. package/System.Net.Quic/internal/index.d.ts +4 -3
  57. package/System.Net.Security/internal/index.d.ts +65 -49
  58. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -2
  59. package/System.Net.Sockets/internal/index.d.ts +49 -42
  60. package/System.Net.WebSockets/internal/index.d.ts +35 -29
  61. package/System.Numerics/bindings.json +96 -72
  62. package/System.Numerics/internal/index.d.ts +93 -91
  63. package/System.Numerics/internal/metadata.json +64 -48
  64. package/System.Reflection/internal/index.d.ts +129 -126
  65. package/System.Reflection.Emit/internal/index.d.ts +105 -105
  66. package/System.Reflection.Metadata/internal/index.d.ts +15 -15
  67. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +4 -4
  68. package/System.Reflection.PortableExecutable/internal/index.d.ts +2 -2
  69. package/System.Resources/internal/index.d.ts +20 -19
  70. package/System.Runtime/internal/index.d.ts +6 -5
  71. package/System.Runtime.CompilerServices/internal/index.d.ts +30 -28
  72. package/System.Runtime.InteropServices/internal/index.d.ts +85 -83
  73. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +9 -9
  74. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +20 -20
  75. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +28 -26
  76. package/System.Runtime.Loader/internal/index.d.ts +2 -2
  77. package/System.Runtime.Remoting/internal/index.d.ts +1 -1
  78. package/System.Runtime.Serialization/internal/index.d.ts +66 -54
  79. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -3
  80. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +4 -2
  81. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -4
  82. package/System.Runtime.Serialization.Json/internal/index.d.ts +22 -21
  83. package/System.Runtime.Versioning/internal/index.d.ts +12 -9
  84. package/System.Security/internal/index.d.ts +62 -52
  85. package/System.Security.AccessControl/internal/index.d.ts +29 -25
  86. package/System.Security.Authentication/internal/index.d.ts +4 -4
  87. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +8 -8
  88. package/System.Security.Claims/internal/index.d.ts +21 -15
  89. package/System.Security.Cryptography/internal/index.d.ts +155 -141
  90. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +83 -82
  91. package/System.Security.Permissions/internal/index.d.ts +2 -2
  92. package/System.Security.Principal/internal/index.d.ts +3 -3
  93. package/System.Text/internal/index.d.ts +48 -46
  94. package/System.Text.Json/internal/index.d.ts +87 -81
  95. package/System.Text.Json.Nodes/internal/index.d.ts +41 -41
  96. package/System.Text.Json.Schema/internal/index.d.ts +4 -3
  97. package/System.Text.Json.Serialization/internal/index.d.ts +5 -4
  98. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +55 -30
  99. package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
  100. package/System.Text.Unicode/internal/index.d.ts +4 -4
  101. package/System.Threading/internal/index.d.ts +86 -85
  102. package/System.Threading.Channels/internal/index.d.ts +8 -8
  103. package/System.Threading.Tasks/internal/index.d.ts +82 -82
  104. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +25 -26
  105. package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
  106. package/System.Timers/internal/index.d.ts +5 -3
  107. package/System.Transactions/internal/index.d.ts +18 -16
  108. package/System.Web/internal/index.d.ts +30 -30
  109. package/System.Windows.Input/internal/index.d.ts +2 -2
  110. package/System.Xml/internal/index.d.ts +162 -161
  111. package/System.Xml.Linq/internal/index.d.ts +38 -37
  112. package/System.Xml.Resolvers/internal/index.d.ts +5 -5
  113. package/System.Xml.Schema/internal/index.d.ts +133 -88
  114. package/System.Xml.Serialization/internal/index.d.ts +138 -117
  115. package/System.Xml.XPath/internal/index.d.ts +12 -12
  116. package/System.Xml.Xsl/internal/index.d.ts +34 -34
  117. package/System.Xml.Xsl.Runtime/internal/index.d.ts +16 -16
  118. package/__internal/extensions/index.d.ts +371 -371
  119. package/package.json +1 -1
@@ -228,12 +228,12 @@ export interface CngProperty$instance {
228
228
  equals(obj: unknown): boolean;
229
229
  equals(other: CngProperty): boolean;
230
230
  getHashCode(): int;
231
- getValue(): byte[];
231
+ getValue(): byte[] | undefined;
232
232
  }
233
233
 
234
234
 
235
235
  export const CngProperty: {
236
- new(name: string, value: byte[] | undefined, options: CngPropertyOptions): CngProperty;
236
+ new(name: string, value: byte[], options: CngPropertyOptions): CngProperty;
237
237
  };
238
238
 
239
239
 
@@ -288,9 +288,9 @@ export interface ECCurve$instance {
288
288
 
289
289
  export const ECCurve: {
290
290
  new(): ECCurve;
291
- createFromFriendlyName(oidFriendlyName: string | undefined): ECCurve;
292
- createFromOid(curveOid: Oid | undefined): ECCurve;
293
- createFromValue(oidValue: string | undefined): ECCurve;
291
+ createFromFriendlyName(oidFriendlyName: string): ECCurve;
292
+ createFromOid(curveOid: Oid): ECCurve;
293
+ createFromValue(oidValue: string): ECCurve;
294
294
  };
295
295
 
296
296
 
@@ -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 | undefined): boolean;
329
+ equals(obj: unknown): boolean;
330
330
  equals(other: HashAlgorithmName): boolean;
331
331
  getHashCode(): int;
332
- toString(): string | undefined;
332
+ toString(): string;
333
333
  }
334
334
 
335
335
 
336
336
  export const HashAlgorithmName: {
337
- new(name: string | undefined): HashAlgorithmName;
337
+ new(name: string): 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 | undefined): HashAlgorithmName;
347
- tryFromOid(oidValue: string | undefined, value: HashAlgorithmName): boolean;
346
+ fromOid(oidValue: string): HashAlgorithmName;
347
+ tryFromOid(oidValue: string, value: HashAlgorithmName): boolean;
348
348
  };
349
349
 
350
350
 
@@ -417,10 +417,10 @@ 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[] | undefined): void;
420
+ decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): 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[] | undefined): void;
423
+ encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): 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
 
@@ -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[] | undefined): ICryptoTransform;
447
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
448
448
  createDecryptor(): ICryptoTransform;
449
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
449
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
450
450
  createEncryptor(): ICryptoTransform;
451
451
  dispose(): void;
452
452
  generateIV(): void;
@@ -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[] | undefined): ICryptoTransform;
484
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
485
485
  createEncryptor(): ICryptoTransform;
486
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
486
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
487
487
  dispose(): void;
488
488
  generateIV(): void;
489
489
  generateKey(): void;
@@ -504,10 +504,10 @@ 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[] | undefined): void;
507
+ decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): 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[] | undefined): void;
510
+ encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): 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
 
@@ -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[] | undefined): ICryptoTransform;
546
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
547
547
  createEncryptor(): ICryptoTransform;
548
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
548
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
549
549
  dispose(): void;
550
550
  generateIV(): void;
551
551
  generateKey(): void;
@@ -576,9 +576,9 @@ export const AsnEncodedData: {
576
576
  new(rawData: byte[]): AsnEncodedData;
577
577
  new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
578
578
  new(asnEncodedData: AsnEncodedData): AsnEncodedData;
579
- new(oid: Oid | undefined, rawData: byte[]): AsnEncodedData;
579
+ new(oid: Oid, rawData: byte[]): AsnEncodedData;
580
580
  new(oid: string, rawData: byte[]): AsnEncodedData;
581
- new(oid: Oid | undefined, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
581
+ new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
582
582
  new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
583
583
  };
584
584
 
@@ -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[] | undefined): byte[] | undefined;
686
- setKey(key: AsymmetricAlgorithm | undefined): void;
685
+ decryptKeyExchange(rgb: byte[]): byte[];
686
+ setKey(key: AsymmetricAlgorithm): 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 | undefined): byte[];
699
+ createKeyExchange(data: byte[], symAlgType: Type): byte[];
700
700
  setKey(key: AsymmetricAlgorithm): void;
701
701
  }
702
702
 
@@ -742,8 +742,8 @@ export interface AuthenticationTagMismatchException$instance extends Cryptograph
742
742
 
743
743
  export const AuthenticationTagMismatchException: {
744
744
  new(): AuthenticationTagMismatchException;
745
- new(message: string | undefined): AuthenticationTagMismatchException;
746
- new(message: string | undefined, inner: Exception | undefined): AuthenticationTagMismatchException;
745
+ new(message: string): AuthenticationTagMismatchException;
746
+ new(message: string, inner: Exception): AuthenticationTagMismatchException;
747
747
  };
748
748
 
749
749
 
@@ -755,10 +755,10 @@ 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[] | undefined): void;
758
+ decrypt(nonce: byte[], ciphertext: byte[], tag: byte[], plaintext: byte[], associatedData?: byte[]): 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[] | undefined): void;
761
+ encrypt(nonce: byte[], plaintext: byte[], ciphertext: byte[], tag: byte[], associatedData?: byte[]): 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
 
@@ -878,8 +878,8 @@ export interface CngKey$instance {
878
878
 
879
879
  export const CngKey: {
880
880
  new(): CngKey;
881
- create(algorithm: CngAlgorithm, keyName: string | undefined, creationParameters: CngKeyCreationParameters | undefined): CngKey;
882
- create(algorithm: CngAlgorithm, keyName: string | undefined): CngKey;
881
+ create(algorithm: CngAlgorithm, keyName: string, creationParameters: CngKeyCreationParameters): CngKey;
882
+ create(algorithm: CngAlgorithm, keyName: string): 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;
@@ -960,19 +960,19 @@ 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 | undefined): int;
963
+ add(value: unknown): int;
964
964
  clear(): void;
965
965
  contains(item: CngProperty): boolean;
966
- contains(value: unknown | undefined): boolean;
966
+ contains(value: unknown): 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 | undefined): void;
973
+ insert(index: int, value: unknown): void;
974
974
  remove(item: CngProperty): boolean;
975
- remove(value: unknown | undefined): void;
975
+ remove(value: unknown): void;
976
976
  removeAt(index: int): void;
977
977
  }
978
978
 
@@ -1033,10 +1033,10 @@ export interface CngUIPolicy$instance {
1033
1033
 
1034
1034
  export const CngUIPolicy: {
1035
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;
1036
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string): CngUIPolicy;
1037
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string): CngUIPolicy;
1038
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string): CngUIPolicy;
1039
+ new(protectionLevel: CngUIProtectionLevels, friendlyName: string, description: string, useContext: string, creationTitle: string): 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[] | undefined): byte[];
1062
+ signData(data: byte[], context?: byte[]): 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[] | undefined): boolean;
1071
+ verifyData(data: byte[], signature: byte[], context?: byte[]): 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
 
@@ -1176,7 +1176,7 @@ export const CryptoConfig: {
1176
1176
  readonly allowOnlyFipsAlgorithms: boolean;
1177
1177
  addAlgorithm(algorithm: Type, ...names: string[]): void;
1178
1178
  addOID(oid: string, ...names: string[]): void;
1179
- createFromName(name: string, ...args: unknown[]): unknown;
1179
+ createFromName(name: string, ...args: unknown[]): unknown | undefined;
1180
1180
  createFromName(name: string): unknown | undefined;
1181
1181
  encodeOID(str: string): byte[];
1182
1182
  mapNameToOID(name: string): string | undefined;
@@ -1195,7 +1195,7 @@ export const CryptographicException: {
1195
1195
  new(hr: int): CryptographicException;
1196
1196
  new(message: string): CryptographicException;
1197
1197
  new(message: string, inner: Exception): CryptographicException;
1198
- new(format: string, insert: string | undefined): CryptographicException;
1198
+ new(format: string, insert: string): CryptographicException;
1199
1199
  };
1200
1200
 
1201
1201
 
@@ -1215,7 +1215,7 @@ export const CryptographicUnexpectedOperationException: {
1215
1215
  new(): CryptographicUnexpectedOperationException;
1216
1216
  new(message: string): CryptographicUnexpectedOperationException;
1217
1217
  new(message: string, inner: Exception): CryptographicUnexpectedOperationException;
1218
- new(format: string, insert: string | undefined): CryptographicUnexpectedOperationException;
1218
+ new(format: string, insert: string): 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 | undefined, state: unknown | undefined): IAsyncResult;
1237
- beginWrite(buffer: byte[], offset: int, count: int, callback: AsyncCallback | undefined, state: unknown | undefined): IAsyncResult;
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;
1238
1238
  clear(): void;
1239
1239
  copyTo(destination: Stream, bufferSize: int): void;
1240
1240
  copyTo(destination: Stream): void;
@@ -1315,7 +1315,8 @@ export interface CspParameters$instance {
1315
1315
  keyContainerName: string | undefined;
1316
1316
  keyNumber: int;
1317
1317
  flags: CspProviderFlags;
1318
- keyPassword: SecureString | undefined;
1318
+ get keyPassword(): SecureString | undefined;
1319
+ set keyPassword(value: SecureString);
1319
1320
  parentWindowHandle: nint;
1320
1321
  }
1321
1322
 
@@ -1323,8 +1324,8 @@ export interface CspParameters$instance {
1323
1324
  export const CspParameters: {
1324
1325
  new(): CspParameters;
1325
1326
  new(dwTypeIn: int): CspParameters;
1326
- new(dwTypeIn: int, strProviderNameIn: string | undefined): CspParameters;
1327
- new(dwTypeIn: int, strProviderNameIn: string | undefined, strContainerNameIn: string | undefined): CspParameters;
1327
+ new(dwTypeIn: int, strProviderNameIn: string): CspParameters;
1328
+ new(dwTypeIn: int, strProviderNameIn: string, strContainerNameIn: string): CspParameters;
1328
1329
  };
1329
1330
 
1330
1331
 
@@ -1380,9 +1381,9 @@ export interface DESCryptoServiceProvider$instance extends DES$instance {
1380
1381
  mode: CipherMode;
1381
1382
  padding: PaddingMode;
1382
1383
  createDecryptor(): ICryptoTransform;
1383
- createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
1384
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1384
1385
  createEncryptor(): ICryptoTransform;
1385
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
1386
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1386
1387
  dispose(): void;
1387
1388
  generateIV(): void;
1388
1389
  generateKey(): void;
@@ -1686,8 +1687,8 @@ export interface ECDiffieHellman$instance extends ECAlgorithm$instance {
1686
1687
  readonly publicKey: ECDiffieHellmanPublicKey;
1687
1688
  readonly signatureAlgorithm: string;
1688
1689
  deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1689
- deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | undefined, secretAppend: byte[] | undefined): byte[];
1690
- deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | undefined): byte[];
1690
+ deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1691
+ deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
1691
1692
  deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
1692
1693
  deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1693
1694
  deriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
@@ -1715,18 +1716,23 @@ export type ECDiffieHellman = ECDiffieHellman$instance & __ECDiffieHellman$views
1715
1716
 
1716
1717
  export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1717
1718
  hashAlgorithm: CngAlgorithm;
1718
- hmacKey: byte[] | undefined;
1719
+ get hmacKey(): byte[] | undefined;
1720
+ set hmacKey(value: byte[]);
1719
1721
  readonly key: CngKey;
1720
1722
  keyDerivationFunction: ECDiffieHellmanKeyDerivationFunction;
1721
- label: byte[] | undefined;
1723
+ get label(): byte[] | undefined;
1724
+ set label(value: byte[]);
1722
1725
  readonly publicKey: ECDiffieHellmanPublicKey;
1723
- secretAppend: byte[] | undefined;
1724
- secretPrepend: byte[] | undefined;
1725
- seed: byte[] | undefined;
1726
+ get secretAppend(): byte[] | undefined;
1727
+ set secretAppend(value: byte[]);
1728
+ get secretPrepend(): byte[] | undefined;
1729
+ set secretPrepend(value: byte[]);
1730
+ get seed(): byte[] | undefined;
1731
+ set seed(value: byte[]);
1726
1732
  readonly useSecretAgreementAsHmacKey: boolean;
1727
1733
  deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1728
- deriveSecretAgreementHandle(otherPartyPublicKey: CngKey | undefined): SafeNCryptSecretHandle | undefined;
1729
- deriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey | undefined): SafeNCryptSecretHandle | undefined;
1734
+ deriveSecretAgreementHandle(otherPartyPublicKey: CngKey): SafeNCryptSecretHandle;
1735
+ deriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey): SafeNCryptSecretHandle;
1730
1736
  dispose(): void;
1731
1737
  fromXmlString(xmlString: string): void;
1732
1738
  toXmlString(includePrivateParameters: boolean): string;
@@ -1736,7 +1742,7 @@ export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1736
1742
  export const ECDiffieHellmanCng: {
1737
1743
  new(): ECDiffieHellmanCng;
1738
1744
  new(keySize: int): ECDiffieHellmanCng;
1739
- new(key: CngKey | undefined): ECDiffieHellmanCng;
1745
+ new(key: CngKey): ECDiffieHellmanCng;
1740
1746
  new(curve: ECCurve): ECDiffieHellmanCng;
1741
1747
  };
1742
1748
 
@@ -1774,10 +1780,10 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instanc
1774
1780
  keySize: int;
1775
1781
  readonly legalKeySizes: KeySizes[];
1776
1782
  readonly publicKey: ECDiffieHellmanPublicKey;
1777
- deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[] | undefined, secretAppend: byte[] | undefined): byte[];
1783
+ deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1778
1784
  deriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1779
1785
  deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[], secretPrepend: byte[], secretAppend: byte[]): byte[];
1780
- deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[] | undefined): byte[];
1786
+ deriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
1781
1787
  deriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1782
1788
  deriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1783
1789
  deriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
@@ -2029,7 +2035,7 @@ export interface HashAlgorithm$instance {
2029
2035
  computeHashAsync(inputStream: Stream, cancellationToken?: CancellationToken): Task_1<byte[]>;
2030
2036
  dispose(): void;
2031
2037
  initialize(): void;
2032
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
2038
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2033
2039
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2034
2040
  tryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2035
2041
  }
@@ -2394,7 +2400,7 @@ export type IncrementalHash = IncrementalHash$instance & __IncrementalHash$views
2394
2400
  export interface KeyedHashAlgorithm$instance extends HashAlgorithm$instance {
2395
2401
  key: byte[];
2396
2402
  dispose(): void;
2397
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
2403
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2398
2404
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2399
2405
  }
2400
2406
 
@@ -2438,16 +2444,16 @@ export interface Kmac128$instance {
2438
2444
 
2439
2445
 
2440
2446
  export const Kmac128: {
2441
- new(key: byte[], customizationString: byte[] | undefined): Kmac128;
2447
+ new(key: byte[], customizationString: byte[]): Kmac128;
2442
2448
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac128;
2443
2449
  readonly isSupported: boolean;
2444
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2445
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2450
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2451
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2446
2452
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2447
2453
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2448
2454
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2449
2455
  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[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2456
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2451
2457
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2452
2458
  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
2459
  };
@@ -2475,16 +2481,16 @@ export interface Kmac256$instance {
2475
2481
 
2476
2482
 
2477
2483
  export const Kmac256: {
2478
- new(key: byte[], customizationString: byte[] | undefined): Kmac256;
2484
+ new(key: byte[], customizationString: byte[]): Kmac256;
2479
2485
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): Kmac256;
2480
2486
  readonly isSupported: boolean;
2481
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2482
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2487
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2488
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2483
2489
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2484
2490
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2485
2491
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2486
2492
  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[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2493
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2488
2494
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2489
2495
  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
2496
  };
@@ -2512,16 +2518,16 @@ export interface KmacXof128$instance {
2512
2518
 
2513
2519
 
2514
2520
  export const KmacXof128: {
2515
- new(key: byte[], customizationString: byte[] | undefined): KmacXof128;
2521
+ new(key: byte[], customizationString: byte[]): KmacXof128;
2516
2522
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof128;
2517
2523
  readonly isSupported: boolean;
2518
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2519
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2524
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2525
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2520
2526
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2521
2527
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2522
2528
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2523
2529
  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[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2530
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2525
2531
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2526
2532
  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
2533
  };
@@ -2549,16 +2555,16 @@ export interface KmacXof256$instance {
2549
2555
 
2550
2556
 
2551
2557
  export const KmacXof256: {
2552
- new(key: byte[], customizationString: byte[] | undefined): KmacXof256;
2558
+ new(key: byte[], customizationString: byte[]): KmacXof256;
2553
2559
  new(key: ReadOnlySpan_1<System_Internal.Byte>, customizationString: ReadOnlySpan_1<System_Internal.Byte>): KmacXof256;
2554
2560
  readonly isSupported: boolean;
2555
- hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[] | undefined): byte[];
2556
- hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[] | undefined): byte[];
2561
+ hashData(key: byte[], source: byte[], outputLength: int, customizationString?: byte[]): byte[];
2562
+ hashData(key: byte[], source: Stream, outputLength: int, customizationString?: byte[]): byte[];
2557
2563
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2558
2564
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: Stream, destination: Span_1<System_Internal.Byte>, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): void;
2559
2565
  hashData(key: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, outputLength: int, customizationString?: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2560
2566
  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[] | undefined, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2567
+ hashDataAsync(key: byte[], source: Stream, outputLength: int, customizationString?: byte[], cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2562
2568
  hashDataAsync(key: ReadOnlyMemory_1<System_Internal.Byte>, source: Stream, outputLength: int, customizationString?: ReadOnlyMemory_1<System_Internal.Byte>, cancellationToken?: CancellationToken): ValueTask_1<byte[]>;
2563
2569
  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
2570
  };
@@ -2586,7 +2592,7 @@ export type MaskGenerationMethod = MaskGenerationMethod$instance;
2586
2592
 
2587
2593
  export interface MD5$instance extends HashAlgorithm$instance {
2588
2594
  dispose(): void;
2589
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
2595
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2590
2596
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2591
2597
  }
2592
2598
 
@@ -2654,23 +2660,23 @@ export interface MLDsa$instance {
2654
2660
  exportSubjectPublicKeyInfo(): byte[];
2655
2661
  exportSubjectPublicKeyInfoPem(): string;
2656
2662
  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[] | undefined): byte[];
2663
+ signData(data: byte[], context?: byte[]): byte[];
2658
2664
  signMu(externalMu: byte[]): byte[];
2659
2665
  signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2660
2666
  signMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2661
2667
  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[] | undefined): byte[];
2668
+ signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
2663
2669
  tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2664
2670
  tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2665
2671
  tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2666
2672
  tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2667
2673
  tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2668
2674
  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[] | undefined): boolean;
2675
+ verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
2670
2676
  verifyMu(externalMu: byte[], signature: byte[]): boolean;
2671
2677
  verifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2672
2678
  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[] | undefined): boolean;
2679
+ verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
2674
2680
  }
2675
2681
 
2676
2682
 
@@ -2917,11 +2923,11 @@ export interface Oid$instance {
2917
2923
 
2918
2924
  export const Oid: {
2919
2925
  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;
2926
+ new(oid: string): Oid;
2927
+ new(value: string, friendlyName: string): Oid;
2928
+ new(oid: Oid): Oid;
2929
+ fromFriendlyName(friendlyName: string, group: OidGroup): Oid;
2930
+ fromOidValue(oidValue: string, group: OidGroup): Oid;
2925
2931
  };
2926
2932
 
2927
2933
 
@@ -2975,7 +2981,7 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
2975
2981
  hashName: string;
2976
2982
  iterationCount: int;
2977
2983
  salt: byte[];
2978
- cryptDeriveKey(algname: string | undefined, alghashname: string | undefined, keySize: int, rgbIV: byte[]): byte[];
2984
+ cryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
2979
2985
  dispose(): void;
2980
2986
  getBytes(cb: int): byte[];
2981
2987
  reset(): void;
@@ -2983,14 +2989,14 @@ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
2983
2989
 
2984
2990
 
2985
2991
  export const PasswordDeriveBytes: {
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;
2992
+ new(strPassword: string, rgbSalt: byte[]): PasswordDeriveBytes;
2993
+ new(password: byte[], salt: byte[]): PasswordDeriveBytes;
2994
+ new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int): PasswordDeriveBytes;
2995
+ new(password: byte[], salt: byte[], hashName: string, iterations: int): PasswordDeriveBytes;
2990
2996
  new(strPassword: string, rgbSalt: byte[], cspParams: CspParameters): PasswordDeriveBytes;
2991
2997
  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;
2998
+ new(strPassword: string, rgbSalt: byte[], strHashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes;
2999
+ new(password: byte[], salt: byte[], hashName: string, iterations: int, cspParams: CspParameters): PasswordDeriveBytes;
2994
3000
  };
2995
3001
 
2996
3002
 
@@ -3094,9 +3100,9 @@ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
3094
3100
  padding: PaddingMode;
3095
3101
  useSalt: boolean;
3096
3102
  createDecryptor(): ICryptoTransform;
3097
- createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3103
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3098
3104
  createEncryptor(): ICryptoTransform;
3099
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3105
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3100
3106
  dispose(): void;
3101
3107
  generateIV(): void;
3102
3108
  generateKey(): void;
@@ -3177,9 +3183,9 @@ export interface RijndaelManaged$instance extends Rijndael$instance {
3177
3183
  mode: CipherMode;
3178
3184
  padding: PaddingMode;
3179
3185
  createDecryptor(): ICryptoTransform;
3180
- createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3186
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3181
3187
  createEncryptor(): ICryptoTransform;
3182
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
3188
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3183
3189
  dispose(): void;
3184
3190
  generateIV(): void;
3185
3191
  generateKey(): void;
@@ -3448,18 +3454,20 @@ export const RSAOAEPKeyExchangeDeformatter: {
3448
3454
  export type RSAOAEPKeyExchangeDeformatter = RSAOAEPKeyExchangeDeformatter$instance;
3449
3455
 
3450
3456
  export interface RSAOAEPKeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3451
- parameter: byte[] | undefined;
3457
+ get parameter(): byte[] | undefined;
3458
+ set parameter(value: byte[]);
3452
3459
  readonly parameters: string;
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;
3460
+ get rng(): RandomNumberGenerator | undefined;
3461
+ set rng(value: RandomNumberGenerator);
3462
+ createKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
3463
+ createKeyExchange(rgbData: byte[]): byte[];
3464
+ setKey(key: AsymmetricAlgorithm): void;
3457
3465
  }
3458
3466
 
3459
3467
 
3460
3468
  export const RSAOAEPKeyExchangeFormatter: {
3461
3469
  new(): RSAOAEPKeyExchangeFormatter;
3462
- new(key: AsymmetricAlgorithm | undefined): RSAOAEPKeyExchangeFormatter;
3470
+ new(key: AsymmetricAlgorithm): RSAOAEPKeyExchangeFormatter;
3463
3471
  };
3464
3472
 
3465
3473
 
@@ -3534,15 +3542,16 @@ export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
3534
3542
 
3535
3543
  export interface RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3536
3544
  parameters: string;
3537
- RNG: RandomNumberGenerator | undefined;
3538
- decryptKeyExchange(rgbIn: byte[] | undefined): byte[] | undefined;
3539
- setKey(key: AsymmetricAlgorithm | undefined): void;
3545
+ get RNG(): RandomNumberGenerator | undefined;
3546
+ set RNG(value: RandomNumberGenerator);
3547
+ decryptKeyExchange(rgbIn: byte[]): byte[];
3548
+ setKey(key: AsymmetricAlgorithm): void;
3540
3549
  }
3541
3550
 
3542
3551
 
3543
3552
  export const RSAPKCS1KeyExchangeDeformatter: {
3544
3553
  new(): RSAPKCS1KeyExchangeDeformatter;
3545
- new(key: AsymmetricAlgorithm | undefined): RSAPKCS1KeyExchangeDeformatter;
3554
+ new(key: AsymmetricAlgorithm): RSAPKCS1KeyExchangeDeformatter;
3546
3555
  };
3547
3556
 
3548
3557
 
@@ -3550,8 +3559,9 @@ export type RSAPKCS1KeyExchangeDeformatter = RSAPKCS1KeyExchangeDeformatter$inst
3550
3559
 
3551
3560
  export interface RSAPKCS1KeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3552
3561
  readonly parameters: string;
3553
- rng: RandomNumberGenerator | undefined;
3554
- createKeyExchange(rgbData: byte[], symAlgType: Type | undefined): byte[];
3562
+ get rng(): RandomNumberGenerator | undefined;
3563
+ set rng(value: RandomNumberGenerator);
3564
+ createKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
3555
3565
  createKeyExchange(rgbData: byte[]): byte[];
3556
3566
  setKey(key: AsymmetricAlgorithm): void;
3557
3567
  }
@@ -3649,7 +3659,7 @@ export type SafeEvpPKeyHandle = SafeEvpPKeyHandle$instance & __SafeEvpPKeyHandle
3649
3659
 
3650
3660
  export interface SHA1$instance extends HashAlgorithm$instance {
3651
3661
  dispose(): void;
3652
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3662
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3653
3663
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3654
3664
  }
3655
3665
 
@@ -3720,7 +3730,7 @@ export type SHA1Managed = SHA1Managed$instance & __SHA1Managed$views;
3720
3730
 
3721
3731
  export interface SHA256$instance extends HashAlgorithm$instance {
3722
3732
  dispose(): void;
3723
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3733
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3724
3734
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3725
3735
  }
3726
3736
 
@@ -3791,7 +3801,7 @@ export type SHA256Managed = SHA256Managed$instance & __SHA256Managed$views;
3791
3801
 
3792
3802
  export interface SHA3_256$instance extends HashAlgorithm$instance {
3793
3803
  dispose(): void;
3794
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3804
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3795
3805
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3796
3806
  }
3797
3807
 
@@ -3821,7 +3831,7 @@ export type SHA3_256 = SHA3_256$instance & __SHA3_256$views;
3821
3831
 
3822
3832
  export interface SHA3_384$instance extends HashAlgorithm$instance {
3823
3833
  dispose(): void;
3824
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3834
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3825
3835
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3826
3836
  }
3827
3837
 
@@ -3851,7 +3861,7 @@ export type SHA3_384 = SHA3_384$instance & __SHA3_384$views;
3851
3861
 
3852
3862
  export interface SHA3_512$instance extends HashAlgorithm$instance {
3853
3863
  dispose(): void;
3854
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3864
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3855
3865
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3856
3866
  }
3857
3867
 
@@ -3881,7 +3891,7 @@ export type SHA3_512 = SHA3_512$instance & __SHA3_512$views;
3881
3891
 
3882
3892
  export interface SHA384$instance extends HashAlgorithm$instance {
3883
3893
  dispose(): void;
3884
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3894
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3885
3895
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3886
3896
  }
3887
3897
 
@@ -3952,7 +3962,7 @@ export type SHA384Managed = SHA384Managed$instance & __SHA384Managed$views;
3952
3962
 
3953
3963
  export interface SHA512$instance extends HashAlgorithm$instance {
3954
3964
  dispose(): void;
3955
- transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[] | undefined, outputOffset: int): int;
3965
+ transformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
3956
3966
  transformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3957
3967
  }
3958
3968
 
@@ -4096,19 +4106,23 @@ export type Shake256 = Shake256$instance & __Shake256$views;
4096
4106
 
4097
4107
 
4098
4108
  export interface SignatureDescription$instance {
4099
- deformatterAlgorithm: string | undefined;
4100
- digestAlgorithm: string | undefined;
4101
- formatterAlgorithm: string | undefined;
4102
- keyAlgorithm: string | undefined;
4103
- createDeformatter(key: AsymmetricAlgorithm | undefined): AsymmetricSignatureDeformatter | undefined;
4109
+ get deformatterAlgorithm(): string | undefined;
4110
+ set deformatterAlgorithm(value: string);
4111
+ get digestAlgorithm(): string | undefined;
4112
+ set digestAlgorithm(value: string);
4113
+ get formatterAlgorithm(): string | undefined;
4114
+ set formatterAlgorithm(value: string);
4115
+ get keyAlgorithm(): string | undefined;
4116
+ set keyAlgorithm(value: string);
4117
+ createDeformatter(key: AsymmetricAlgorithm): AsymmetricSignatureDeformatter;
4104
4118
  createDigest(): HashAlgorithm | undefined;
4105
- createFormatter(key: AsymmetricAlgorithm | undefined): AsymmetricSignatureFormatter | undefined;
4119
+ createFormatter(key: AsymmetricAlgorithm): AsymmetricSignatureFormatter;
4106
4120
  }
4107
4121
 
4108
4122
 
4109
4123
  export const SignatureDescription: {
4110
4124
  new(): SignatureDescription;
4111
- new(el: SecurityElement | undefined): SignatureDescription;
4125
+ new(el: SecurityElement): SignatureDescription;
4112
4126
  };
4113
4127
 
4114
4128
 
@@ -4132,18 +4146,18 @@ export interface SlhDsa$instance {
4132
4146
  exportSubjectPublicKeyInfo(): byte[];
4133
4147
  exportSubjectPublicKeyInfoPem(): string;
4134
4148
  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[] | undefined): byte[];
4149
+ signData(data: byte[], context?: byte[]): byte[];
4136
4150
  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[] | undefined): byte[];
4151
+ signPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
4138
4152
  tryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4139
4153
  tryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4140
4154
  tryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4141
4155
  tryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4142
4156
  tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4143
4157
  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[] | undefined): boolean;
4158
+ verifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
4145
4159
  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[] | undefined): boolean;
4160
+ verifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
4147
4161
  }
4148
4162
 
4149
4163
 
@@ -4298,9 +4312,9 @@ export interface SymmetricAlgorithm$instance {
4298
4312
  padding: PaddingMode;
4299
4313
  clear(): void;
4300
4314
  createDecryptor(): ICryptoTransform;
4301
- createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4315
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4302
4316
  createEncryptor(): ICryptoTransform;
4303
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4317
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4304
4318
  decryptCbc(ciphertext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
4305
4319
  decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
4306
4320
  decryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
@@ -4395,9 +4409,9 @@ export type TripleDES = TripleDES$instance & __TripleDES$views;
4395
4409
 
4396
4410
 
4397
4411
  export interface TripleDESCng$instance extends TripleDES$instance {
4398
- createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4412
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4399
4413
  createDecryptor(): ICryptoTransform;
4400
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4414
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4401
4415
  createEncryptor(): ICryptoTransform;
4402
4416
  dispose(): void;
4403
4417
  generateIV(): void;
@@ -4431,9 +4445,9 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$insta
4431
4445
  mode: CipherMode;
4432
4446
  padding: PaddingMode;
4433
4447
  createDecryptor(): ICryptoTransform;
4434
- createDecryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4448
+ createDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4435
4449
  createEncryptor(): ICryptoTransform;
4436
- createEncryptor(rgbKey: byte[], rgbIV: byte[] | undefined): ICryptoTransform;
4450
+ createEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4437
4451
  dispose(): void;
4438
4452
  generateIV(): void;
4439
4453
  generateKey(): void;
@@ -4502,11 +4516,11 @@ export abstract class ECCurve_NamedCurves$instance {
4502
4516
  export type ECCurve_NamedCurves = ECCurve_NamedCurves$instance;
4503
4517
 
4504
4518
  export abstract class HKDF$instance {
4505
- static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[] | undefined, info?: byte[] | undefined): byte[];
4519
+ static deriveKey(hashAlgorithmName: HashAlgorithmName, ikm: byte[], outputLength: int, salt?: byte[], info?: byte[]): byte[];
4506
4520
  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[] | undefined): byte[];
4521
+ static expand(hashAlgorithmName: HashAlgorithmName, prk: byte[], outputLength: int, info?: byte[]): byte[];
4508
4522
  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[] | undefined): byte[];
4523
+ static extract(hashAlgorithmName: HashAlgorithmName, ikm: byte[], salt?: byte[]): byte[];
4510
4524
  static extract(hashAlgorithmName: HashAlgorithmName, ikm: ReadOnlySpan_1<System_Internal.Byte>, salt: ReadOnlySpan_1<System_Internal.Byte>, prk: Span_1<System_Internal.Byte>): int;
4511
4525
  }
4512
4526