@tsonic/dotnet 10.0.2 → 10.0.4

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 (109) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -3
  2. package/Microsoft.VisualBasic/internal/index.d.ts +1 -11
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +0 -22
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +4 -9
  5. package/Microsoft.Win32/internal/index.d.ts +0 -1
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +53 -127
  7. package/System/internal/index.d.ts +87 -200
  8. package/System.Buffers/internal/index.d.ts +10 -23
  9. package/System.CodeDom.Compiler/internal/index.d.ts +6 -10
  10. package/System.Collections/internal/index.d.ts +41 -57
  11. package/System.Collections.Concurrent/internal/index.d.ts +4 -10
  12. package/System.Collections.Generic/internal/index.d.ts +15 -37
  13. package/System.Collections.Immutable/internal/index.d.ts +7 -20
  14. package/System.Collections.ObjectModel/internal/index.d.ts +25 -48
  15. package/System.Collections.Specialized/internal/index.d.ts +15 -30
  16. package/System.ComponentModel/internal/index.d.ts +126 -216
  17. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +80 -161
  18. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +4 -3
  19. package/System.ComponentModel.Design/internal/index.d.ts +26 -53
  20. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +18 -29
  21. package/System.Data/internal/index.d.ts +110 -188
  22. package/System.Data.Common/internal/index.d.ts +155 -238
  23. package/System.Data.SqlTypes/internal/index.d.ts +6 -7
  24. package/System.Diagnostics/internal/index.d.ts +105 -169
  25. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +24 -21
  26. package/System.Diagnostics.Contracts/internal/index.d.ts +2 -2
  27. package/System.Diagnostics.Metrics/internal/index.d.ts +31 -66
  28. package/System.Diagnostics.Tracing/internal/index.d.ts +26 -35
  29. package/System.Dynamic/internal/index.d.ts +15 -29
  30. package/System.Formats.Asn1/internal/index.d.ts +0 -1
  31. package/System.Formats.Tar/internal/index.d.ts +1 -1
  32. package/System.Globalization/internal/index.d.ts +17 -51
  33. package/System.IO/internal/index.d.ts +47 -123
  34. package/System.IO.Compression/internal/index.d.ts +11 -33
  35. package/System.IO.Enumeration/internal/index.d.ts +11 -16
  36. package/System.IO.IsolatedStorage/internal/index.d.ts +6 -17
  37. package/System.IO.MemoryMappedFiles/internal/index.d.ts +6 -21
  38. package/System.IO.Pipelines/internal/index.d.ts +7 -18
  39. package/System.IO.Pipes/internal/index.d.ts +24 -50
  40. package/System.Linq/internal/index.d.ts +0 -4
  41. package/System.Linq.Expressions/internal/index.d.ts +108 -257
  42. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -1
  43. package/System.Net/internal/index.d.ts +133 -184
  44. package/System.Net.Http/internal/index.d.ts +128 -201
  45. package/System.Net.Http.Headers/internal/index.d.ts +37 -40
  46. package/System.Net.Http.Json/internal/index.d.ts +8 -13
  47. package/System.Net.Http.Metrics/internal/index.d.ts +2 -3
  48. package/System.Net.Mail/internal/index.d.ts +49 -105
  49. package/System.Net.Mime/internal/index.d.ts +4 -3
  50. package/System.Net.NetworkInformation/internal/index.d.ts +29 -60
  51. package/System.Net.Quic/internal/index.d.ts +5 -11
  52. package/System.Net.Security/internal/index.d.ts +30 -42
  53. package/System.Net.ServerSentEvents/internal/index.d.ts +1 -2
  54. package/System.Net.Sockets/internal/index.d.ts +33 -56
  55. package/System.Net.WebSockets/internal/index.d.ts +16 -23
  56. package/System.Numerics/internal/index.d.ts +5 -5
  57. package/System.Reflection/internal/index.d.ts +66 -102
  58. package/System.Reflection.Emit/internal/index.d.ts +104 -177
  59. package/System.Reflection.Metadata/internal/index.d.ts +11 -21
  60. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +0 -1
  61. package/System.Reflection.PortableExecutable/internal/index.d.ts +12 -30
  62. package/System.Resources/internal/index.d.ts +8 -20
  63. package/System.Runtime/internal/index.d.ts +5 -8
  64. package/System.Runtime.CompilerServices/internal/index.d.ts +15 -21
  65. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -8
  66. package/System.Runtime.ExceptionServices/internal/index.d.ts +0 -1
  67. package/System.Runtime.InteropServices/internal/index.d.ts +29 -62
  68. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +1 -22
  69. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +14 -23
  70. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  71. package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +1 -2
  72. package/System.Runtime.Loader/internal/index.d.ts +5 -11
  73. package/System.Runtime.Serialization/internal/index.d.ts +62 -65
  74. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +8 -10
  75. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  76. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +3 -2
  77. package/System.Runtime.Serialization.Json/internal/index.d.ts +6 -4
  78. package/System.Runtime.Versioning/internal/index.d.ts +6 -6
  79. package/System.Security/internal/index.d.ts +22 -25
  80. package/System.Security.AccessControl/internal/index.d.ts +51 -89
  81. package/System.Security.Authentication/internal/index.d.ts +0 -2
  82. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +3 -10
  83. package/System.Security.Claims/internal/index.d.ts +19 -38
  84. package/System.Security.Cryptography/internal/index.d.ts +492 -903
  85. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +19 -48
  86. package/System.Security.Permissions/internal/index.d.ts +2 -4
  87. package/System.Security.Policy/internal/index.d.ts +3 -4
  88. package/System.Security.Principal/internal/index.d.ts +11 -17
  89. package/System.Text/internal/index.d.ts +11 -23
  90. package/System.Text.Encodings.Web/internal/index.d.ts +4 -8
  91. package/System.Text.Json/internal/index.d.ts +10 -12
  92. package/System.Text.Json.Nodes/internal/index.d.ts +4 -3
  93. package/System.Text.Json.Schema/internal/index.d.ts +1 -1
  94. package/System.Text.Json.Serialization/internal/index.d.ts +19 -27
  95. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +36 -34
  96. package/System.Text.RegularExpressions/internal/index.d.ts +11 -31
  97. package/System.Threading/internal/index.d.ts +36 -106
  98. package/System.Threading.Channels/internal/index.d.ts +7 -12
  99. package/System.Threading.Tasks/internal/index.d.ts +18 -29
  100. package/System.Timers/internal/index.d.ts +4 -8
  101. package/System.Transactions/internal/index.d.ts +3 -14
  102. package/System.Xml/internal/index.d.ts +104 -167
  103. package/System.Xml.Linq/internal/index.d.ts +17 -13
  104. package/System.Xml.Schema/internal/index.d.ts +117 -112
  105. package/System.Xml.Serialization/internal/index.d.ts +92 -100
  106. package/System.Xml.XPath/internal/index.d.ts +5 -9
  107. package/System.Xml.Xsl/internal/index.d.ts +4 -9
  108. package/System.Xml.Xsl.Runtime/internal/index.d.ts +11 -29
  109. package/package.json +1 -1
@@ -325,7 +325,7 @@ export const ECPoint: {
325
325
  export type ECPoint = ECPoint$instance;
326
326
 
327
327
  export interface HashAlgorithmName$instance {
328
- readonly Name: string;
328
+ readonly Name: string | undefined;
329
329
  Equals(obj: unknown): boolean;
330
330
  Equals(other: HashAlgorithmName): boolean;
331
331
  GetHashCode(): int;
@@ -392,27 +392,22 @@ export const RSAParameters: {
392
392
 
393
393
  export type RSAParameters = RSAParameters$instance;
394
394
 
395
- export abstract class Aes$protected {
396
- protected DecryptKeyWrapPaddedCore(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
397
- protected Dispose2(disposing: boolean): void;
398
- protected EncryptKeyWrapPaddedCore(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
399
- }
400
-
401
-
402
- export interface Aes$instance extends Aes$protected, SymmetricAlgorithm$instance {
395
+ export interface Aes$instance extends SymmetricAlgorithm$instance {
403
396
  DecryptKeyWrapPadded(ciphertext: byte[]): byte[];
404
397
  DecryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<System_Internal.Byte>): byte[];
405
398
  DecryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
399
+ DecryptKeyWrapPaddedCore(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
406
400
  Dispose(): void;
401
+ Dispose(disposing: boolean): void;
407
402
  EncryptKeyWrapPadded(plaintext: byte[]): byte[];
408
403
  EncryptKeyWrapPadded(plaintext: ReadOnlySpan_1<System_Internal.Byte>): byte[];
409
404
  EncryptKeyWrapPadded(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
405
+ EncryptKeyWrapPaddedCore(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
410
406
  TryDecryptKeyWrapPadded(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
411
407
  }
412
408
 
413
409
 
414
- export const Aes: {
415
- new(): Aes;
410
+ export const Aes: (abstract new() => Aes) & {
416
411
  GetKeyWrapPaddedLength(plaintextLengthInBytes: int): int;
417
412
  };
418
413
 
@@ -451,17 +446,13 @@ export interface AesCcm$instance extends System_Internal.IDisposable$instance {}
451
446
  export type AesCcm = AesCcm$instance & __AesCcm$views;
452
447
 
453
448
 
454
- export abstract class AesCng$protected {
455
- protected Dispose3(disposing: boolean): void;
456
- }
457
-
458
-
459
- export interface AesCng$instance extends AesCng$protected, Aes$instance {
449
+ export interface AesCng$instance extends Aes$instance {
460
450
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
461
451
  CreateDecryptor(): ICryptoTransform;
462
452
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
463
453
  CreateEncryptor(): ICryptoTransform;
464
454
  Dispose(): void;
455
+ Dispose(disposing: boolean): void;
465
456
  GenerateIV(): void;
466
457
  GenerateKey(): void;
467
458
  }
@@ -483,14 +474,7 @@ export interface __AesCng$views {
483
474
  export type AesCng = AesCng$instance & __AesCng$views;
484
475
 
485
476
 
486
- export abstract class AesCryptoServiceProvider$protected {
487
- protected Dispose2(disposing: boolean): void;
488
- protected SetKeyCore2(key: ReadOnlySpan_1<System_Internal.Byte>): void;
489
- protected SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
490
- }
491
-
492
-
493
- export interface AesCryptoServiceProvider$instance extends AesCryptoServiceProvider$protected, Aes$instance {
477
+ export interface AesCryptoServiceProvider$instance extends Aes$instance {
494
478
  BlockSize: int;
495
479
  FeedbackSize: int;
496
480
  IV: byte[];
@@ -504,9 +488,12 @@ export interface AesCryptoServiceProvider$instance extends AesCryptoServiceProvi
504
488
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
505
489
  CreateEncryptor(): ICryptoTransform;
506
490
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
491
+ Dispose(disposing: boolean): void;
507
492
  Dispose(): void;
508
493
  GenerateIV(): void;
509
494
  GenerateKey(): void;
495
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
496
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
510
497
  }
511
498
 
512
499
 
@@ -552,14 +539,7 @@ export interface AesGcm$instance extends System_Internal.IDisposable$instance {}
552
539
  export type AesGcm = AesGcm$instance & __AesGcm$views;
553
540
 
554
541
 
555
- export abstract class AesManaged$protected {
556
- protected Dispose2(disposing: boolean): void;
557
- protected SetKeyCore2(key: ReadOnlySpan_1<System_Internal.Byte>): void;
558
- protected SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
559
- }
560
-
561
-
562
- export interface AesManaged$instance extends AesManaged$protected, Aes$instance {
542
+ export interface AesManaged$instance extends Aes$instance {
563
543
  BlockSize: int;
564
544
  FeedbackSize: int;
565
545
  IV: byte[];
@@ -573,9 +553,12 @@ export interface AesManaged$instance extends AesManaged$protected, Aes$instance
573
553
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
574
554
  CreateEncryptor(): ICryptoTransform;
575
555
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
556
+ Dispose(disposing: boolean): void;
576
557
  Dispose(): void;
577
558
  GenerateIV(): void;
578
559
  GenerateKey(): void;
560
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
561
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
579
562
  }
580
563
 
581
564
 
@@ -592,7 +575,8 @@ export type AesManaged = AesManaged$instance & __AesManaged$views;
592
575
 
593
576
 
594
577
  export interface AsnEncodedData$instance {
595
- Oid: Oid;
578
+ get Oid(): Oid | undefined;
579
+ set Oid(value: Oid | undefined);
596
580
  RawData: byte[];
597
581
  CopyFrom(asnEncodedData: AsnEncodedData): void;
598
582
  Format(multiLine: boolean): string;
@@ -600,7 +584,6 @@ export interface AsnEncodedData$instance {
600
584
 
601
585
 
602
586
  export const AsnEncodedData: {
603
- new(): AsnEncodedData;
604
587
  new(rawData: byte[]): AsnEncodedData;
605
588
  new(rawData: ReadOnlySpan_1<System_Internal.Byte>): AsnEncodedData;
606
589
  new(asnEncodedData: AsnEncodedData): AsnEncodedData;
@@ -616,7 +599,7 @@ export type AsnEncodedData = AsnEncodedData$instance;
616
599
  export interface AsnEncodedDataCollection$instance {
617
600
  readonly Count: int;
618
601
  readonly IsSynchronized: boolean;
619
- readonly Item: AsnEncodedData;
602
+ readonly [index: number]: AsnEncodedData;
620
603
  readonly SyncRoot: unknown;
621
604
  Add(asnEncodedData: AsnEncodedData): int;
622
605
  CopyTo(array: AsnEncodedData[], index: int): void;
@@ -647,7 +630,6 @@ export interface AsnEncodedDataEnumerator$instance {
647
630
 
648
631
 
649
632
  export const AsnEncodedDataEnumerator: {
650
- new(): AsnEncodedDataEnumerator;
651
633
  };
652
634
 
653
635
 
@@ -658,18 +640,14 @@ export interface __AsnEncodedDataEnumerator$views {
658
640
  export type AsnEncodedDataEnumerator = AsnEncodedDataEnumerator$instance & __AsnEncodedDataEnumerator$views;
659
641
 
660
642
 
661
- export abstract class AsymmetricAlgorithm$protected {
662
- protected Dispose(disposing: boolean): void;
663
- }
664
-
665
-
666
- export interface AsymmetricAlgorithm$instance extends AsymmetricAlgorithm$protected {
643
+ export interface AsymmetricAlgorithm$instance {
667
644
  readonly KeyExchangeAlgorithm: string | string | undefined;
668
645
  KeySize: int;
669
646
  readonly LegalKeySizes: KeySizes[];
670
- readonly SignatureAlgorithm: string;
647
+ readonly SignatureAlgorithm: string | string | undefined;
671
648
  Clear(): void;
672
649
  Dispose(): void;
650
+ Dispose(disposing: boolean): void;
673
651
  ExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
674
652
  ExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
675
653
  ExportEncryptedPkcs8PrivateKeyPem(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): string;
@@ -698,8 +676,7 @@ export interface AsymmetricAlgorithm$instance extends AsymmetricAlgorithm$protec
698
676
  }
699
677
 
700
678
 
701
- export const AsymmetricAlgorithm: {
702
- new(): AsymmetricAlgorithm;
679
+ export const AsymmetricAlgorithm: (abstract new() => AsymmetricAlgorithm) & {
703
680
  Create(): AsymmetricAlgorithm;
704
681
  Create(algName: string): AsymmetricAlgorithm | undefined;
705
682
  };
@@ -713,29 +690,28 @@ export type AsymmetricAlgorithm = AsymmetricAlgorithm$instance & __AsymmetricAlg
713
690
 
714
691
 
715
692
  export interface AsymmetricKeyExchangeDeformatter$instance {
716
- Parameters: string;
693
+ get Parameters(): string | undefined;
694
+ set Parameters(value: string | undefined);
717
695
  DecryptKeyExchange(rgb: byte[]): byte[];
718
696
  SetKey(key: AsymmetricAlgorithm): void;
719
697
  }
720
698
 
721
699
 
722
- export const AsymmetricKeyExchangeDeformatter: {
723
- new(): AsymmetricKeyExchangeDeformatter;
700
+ export const AsymmetricKeyExchangeDeformatter: (abstract new() => AsymmetricKeyExchangeDeformatter) & {
724
701
  };
725
702
 
726
703
 
727
704
  export type AsymmetricKeyExchangeDeformatter = AsymmetricKeyExchangeDeformatter$instance;
728
705
 
729
706
  export interface AsymmetricKeyExchangeFormatter$instance {
730
- readonly Parameters: string;
707
+ readonly Parameters: string | string | undefined;
731
708
  CreateKeyExchange(data: byte[]): byte[];
732
709
  CreateKeyExchange(data: byte[], symAlgType: Type): byte[];
733
710
  SetKey(key: AsymmetricAlgorithm): void;
734
711
  }
735
712
 
736
713
 
737
- export const AsymmetricKeyExchangeFormatter: {
738
- new(): AsymmetricKeyExchangeFormatter;
714
+ export const AsymmetricKeyExchangeFormatter: (abstract new() => AsymmetricKeyExchangeFormatter) & {
739
715
  };
740
716
 
741
717
 
@@ -749,8 +725,7 @@ export interface AsymmetricSignatureDeformatter$instance {
749
725
  }
750
726
 
751
727
 
752
- export const AsymmetricSignatureDeformatter: {
753
- new(): AsymmetricSignatureDeformatter;
728
+ export const AsymmetricSignatureDeformatter: (abstract new() => AsymmetricSignatureDeformatter) & {
754
729
  };
755
730
 
756
731
 
@@ -764,8 +739,7 @@ export interface AsymmetricSignatureFormatter$instance {
764
739
  }
765
740
 
766
741
 
767
- export const AsymmetricSignatureFormatter: {
768
- new(): AsymmetricSignatureFormatter;
742
+ export const AsymmetricSignatureFormatter: (abstract new() => AsymmetricSignatureFormatter) & {
769
743
  };
770
744
 
771
745
 
@@ -890,16 +864,16 @@ export type CngAlgorithmGroup = CngAlgorithmGroup$instance & __CngAlgorithmGroup
890
864
 
891
865
  export interface CngKey$instance {
892
866
  readonly Algorithm: CngAlgorithm;
893
- readonly AlgorithmGroup: CngAlgorithmGroup;
867
+ readonly AlgorithmGroup: CngAlgorithmGroup | undefined;
894
868
  readonly ExportPolicy: CngExportPolicies;
895
869
  readonly Handle: SafeNCryptKeyHandle;
896
870
  readonly IsEphemeral: boolean;
897
871
  readonly IsMachineKey: boolean;
898
- readonly KeyName: string;
872
+ readonly KeyName: string | undefined;
899
873
  readonly KeySize: int;
900
874
  readonly KeyUsage: CngKeyUsages;
901
875
  ParentWindowHandle: nint;
902
- readonly Provider: CngProvider;
876
+ readonly Provider: CngProvider | undefined;
903
877
  readonly ProviderHandle: SafeNCryptProviderHandle;
904
878
  readonly UIPolicy: CngUIPolicy;
905
879
  readonly UniqueName: string | undefined;
@@ -913,7 +887,6 @@ export interface CngKey$instance {
913
887
 
914
888
 
915
889
  export const CngKey: {
916
- new(): CngKey;
917
890
  Create(algorithm: CngAlgorithm, keyName: string, creationParameters: CngKeyCreationParameters): CngKey;
918
891
  Create(algorithm: CngAlgorithm, keyName: string): CngKey;
919
892
  Create(algorithm: CngAlgorithm): CngKey;
@@ -983,7 +956,8 @@ export interface CngKeyCreationParameters$instance {
983
956
  readonly Parameters: CngPropertyCollection;
984
957
  ParentWindowHandle: nint;
985
958
  Provider: CngProvider;
986
- UIPolicy: CngUIPolicy;
959
+ get UIPolicy(): CngUIPolicy | undefined;
960
+ set UIPolicy(value: CngUIPolicy | undefined);
987
961
  }
988
962
 
989
963
 
@@ -1060,8 +1034,8 @@ export type CngProvider = CngProvider$instance & __CngProvider$views;
1060
1034
 
1061
1035
  export interface CngUIPolicy$instance {
1062
1036
  readonly CreationTitle: string | undefined;
1063
- readonly Description: string;
1064
- readonly FriendlyName: string;
1037
+ readonly Description: string | undefined;
1038
+ readonly FriendlyName: string | undefined;
1065
1039
  readonly ProtectionLevel: CngUIProtectionLevels;
1066
1040
  readonly UseContext: string | undefined;
1067
1041
  }
@@ -1078,23 +1052,16 @@ export const CngUIPolicy: {
1078
1052
 
1079
1053
  export type CngUIPolicy = CngUIPolicy$instance;
1080
1054
 
1081
- export abstract class CompositeMLDsa$protected {
1082
- protected Dispose(disposing: boolean): void;
1083
- protected abstract ExportCompositeMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): int;
1084
- protected abstract ExportCompositeMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): int;
1085
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
1086
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1087
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1088
- }
1089
-
1090
-
1091
- export interface CompositeMLDsa$instance extends CompositeMLDsa$protected {
1055
+ export interface CompositeMLDsa$instance {
1092
1056
  readonly Algorithm: CompositeMLDsaAlgorithm;
1093
1057
  Dispose(): void;
1058
+ Dispose(disposing: boolean): void;
1094
1059
  ExportCompositeMLDsaPrivateKey(): byte[];
1095
1060
  ExportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>): int;
1061
+ ExportCompositeMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): int;
1096
1062
  ExportCompositeMLDsaPublicKey(): byte[];
1097
1063
  ExportCompositeMLDsaPublicKey(destination: Span_1<System_Internal.Byte>): int;
1064
+ ExportCompositeMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): int;
1098
1065
  ExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
1099
1066
  ExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
1100
1067
  ExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
@@ -1107,20 +1074,22 @@ export interface CompositeMLDsa$instance extends CompositeMLDsa$protected {
1107
1074
  ExportSubjectPublicKeyInfoPem(): string;
1108
1075
  SignData(data: byte[], context?: byte[]): byte[];
1109
1076
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): int;
1077
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
1110
1078
  TryExportCompositeMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1111
1079
  TryExportCompositeMLDsaPublicKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1112
1080
  TryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1113
1081
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1114
1082
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1115
1083
  TryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1084
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1116
1085
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1117
1086
  VerifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
1118
1087
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1088
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1119
1089
  }
1120
1090
 
1121
1091
 
1122
- export const CompositeMLDsa: {
1123
- new(algorithm: CompositeMLDsaAlgorithm): CompositeMLDsa;
1092
+ export const CompositeMLDsa: (abstract new(algorithm: CompositeMLDsaAlgorithm) => CompositeMLDsa) & {
1124
1093
  readonly IsSupported: boolean;
1125
1094
  GenerateKey(algorithm: CompositeMLDsaAlgorithm): CompositeMLDsa;
1126
1095
  ImportCompositeMLDsaPrivateKey(algorithm: CompositeMLDsaAlgorithm, source: byte[]): CompositeMLDsa;
@@ -1162,7 +1131,6 @@ export interface CompositeMLDsaAlgorithm$instance {
1162
1131
 
1163
1132
 
1164
1133
  export const CompositeMLDsaAlgorithm: {
1165
- new(): CompositeMLDsaAlgorithm;
1166
1134
  readonly MLDsa44WithRSA2048Pss: CompositeMLDsaAlgorithm;
1167
1135
  readonly MLDsa44WithRSA2048Pkcs15: CompositeMLDsaAlgorithm;
1168
1136
  readonly MLDsa44WithEd25519: CompositeMLDsaAlgorithm;
@@ -1194,24 +1162,15 @@ export interface __CompositeMLDsaAlgorithm$views {
1194
1162
  export type CompositeMLDsaAlgorithm = CompositeMLDsaAlgorithm$instance & __CompositeMLDsaAlgorithm$views;
1195
1163
 
1196
1164
 
1197
- export abstract class CompositeMLDsaCng$protected {
1198
- protected Dispose2(disposing: boolean): void;
1199
- protected ExportCompositeMLDsaPrivateKeyCore2(destination: Span_1<System_Internal.Byte>): int;
1200
- protected abstract ExportCompositeMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): int;
1201
- protected ExportCompositeMLDsaPublicKeyCore2(destination: Span_1<System_Internal.Byte>): int;
1202
- protected abstract ExportCompositeMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): int;
1203
- protected SignDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
1204
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
1205
- protected TryExportPkcs8PrivateKeyCore2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1206
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1207
- protected VerifyDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1208
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1209
- }
1210
-
1211
-
1212
- export interface CompositeMLDsaCng$instance extends CompositeMLDsaCng$protected, CompositeMLDsa$instance {
1165
+ export interface CompositeMLDsaCng$instance extends CompositeMLDsa$instance {
1213
1166
  Dispose(): void;
1167
+ Dispose(disposing: boolean): void;
1168
+ ExportCompositeMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): int;
1169
+ ExportCompositeMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): int;
1214
1170
  GetKey(): CngKey;
1171
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
1172
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1173
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1215
1174
  }
1216
1175
 
1217
1176
 
@@ -1256,7 +1215,6 @@ export const CryptographicException: {
1256
1215
  new(message: string): CryptographicException;
1257
1216
  new(message: string, inner: Exception): CryptographicException;
1258
1217
  new(format: string, insert: string): CryptographicException;
1259
- new(info: SerializationInfo, context: StreamingContext): CryptographicException;
1260
1218
  };
1261
1219
 
1262
1220
 
@@ -1277,7 +1235,6 @@ export const CryptographicUnexpectedOperationException: {
1277
1235
  new(message: string): CryptographicUnexpectedOperationException;
1278
1236
  new(message: string, inner: Exception): CryptographicUnexpectedOperationException;
1279
1237
  new(format: string, insert: string): CryptographicUnexpectedOperationException;
1280
- new(info: SerializationInfo, context: StreamingContext): CryptographicUnexpectedOperationException;
1281
1238
  };
1282
1239
 
1283
1240
 
@@ -1288,12 +1245,7 @@ export interface __CryptographicUnexpectedOperationException$views {
1288
1245
  export type CryptographicUnexpectedOperationException = CryptographicUnexpectedOperationException$instance & __CryptographicUnexpectedOperationException$views;
1289
1246
 
1290
1247
 
1291
- export abstract class CryptoStream$protected {
1292
- protected Dispose2(disposing: boolean): void;
1293
- }
1294
-
1295
-
1296
- export interface CryptoStream$instance extends CryptoStream$protected, Stream {
1248
+ export interface CryptoStream$instance extends Stream {
1297
1249
  readonly CanRead: boolean;
1298
1250
  readonly CanSeek: boolean;
1299
1251
  readonly CanWrite: boolean;
@@ -1309,6 +1261,7 @@ export interface CryptoStream$instance extends CryptoStream$protected, Stream {
1309
1261
  CopyToAsync(destination: Stream): Task;
1310
1262
  CopyToAsync(destination: Stream, bufferSize: int): Task;
1311
1263
  CopyToAsync(destination: Stream, cancellationToken: CancellationToken): Task;
1264
+ Dispose(disposing: boolean): void;
1312
1265
  Dispose(): void;
1313
1266
  DisposeAsync(): ValueTask;
1314
1267
  EndRead(asyncResult: IAsyncResult): int;
@@ -1383,7 +1336,7 @@ export interface CspParameters$instance {
1383
1336
  KeyNumber: int;
1384
1337
  Flags: CspProviderFlags;
1385
1338
  get KeyPassword(): SecureString | undefined;
1386
- set KeyPassword(value: SecureString);
1339
+ set KeyPassword(value: SecureString | undefined);
1387
1340
  ParentWindowHandle: nint;
1388
1341
  }
1389
1342
 
@@ -1398,20 +1351,15 @@ export const CspParameters: {
1398
1351
 
1399
1352
  export type CspParameters = CspParameters$instance;
1400
1353
 
1401
- export abstract class DeriveBytes$protected {
1402
- protected Dispose(disposing: boolean): void;
1403
- }
1404
-
1405
-
1406
- export interface DeriveBytes$instance extends DeriveBytes$protected {
1354
+ export interface DeriveBytes$instance {
1407
1355
  Dispose(): void;
1356
+ Dispose(disposing: boolean): void;
1408
1357
  GetBytes(cb: int): byte[];
1409
1358
  Reset(): void;
1410
1359
  }
1411
1360
 
1412
1361
 
1413
- export const DeriveBytes: {
1414
- new(): DeriveBytes;
1362
+ export const DeriveBytes: (abstract new() => DeriveBytes) & {
1415
1363
  };
1416
1364
 
1417
1365
 
@@ -1422,19 +1370,14 @@ export interface __DeriveBytes$views {
1422
1370
  export type DeriveBytes = DeriveBytes$instance & __DeriveBytes$views;
1423
1371
 
1424
1372
 
1425
- export abstract class DES$protected {
1426
- protected Dispose2(disposing: boolean): void;
1427
- }
1428
-
1429
-
1430
- export interface DES$instance extends DES$protected, SymmetricAlgorithm$instance {
1373
+ export interface DES$instance extends SymmetricAlgorithm$instance {
1431
1374
  Key: byte[];
1432
1375
  Dispose(): void;
1376
+ Dispose(disposing: boolean): void;
1433
1377
  }
1434
1378
 
1435
1379
 
1436
- export const DES: {
1437
- new(): DES;
1380
+ export const DES: (abstract new() => DES) & {
1438
1381
  IsSemiWeakKey(rgbKey: byte[]): boolean;
1439
1382
  IsWeakKey(rgbKey: byte[]): boolean;
1440
1383
  };
@@ -1447,14 +1390,7 @@ export interface __DES$views {
1447
1390
  export type DES = DES$instance & __DES$views;
1448
1391
 
1449
1392
 
1450
- export abstract class DESCryptoServiceProvider$protected {
1451
- protected Dispose2(disposing: boolean): void;
1452
- protected SetKeyCore2(key: ReadOnlySpan_1<System_Internal.Byte>): void;
1453
- protected SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
1454
- }
1455
-
1456
-
1457
- export interface DESCryptoServiceProvider$instance extends DESCryptoServiceProvider$protected, DES$instance {
1393
+ export interface DESCryptoServiceProvider$instance extends DES$instance {
1458
1394
  BlockSize: int;
1459
1395
  FeedbackSize: int;
1460
1396
  IV: byte[];
@@ -1468,9 +1404,12 @@ export interface DESCryptoServiceProvider$instance extends DESCryptoServiceProvi
1468
1404
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1469
1405
  CreateEncryptor(): ICryptoTransform;
1470
1406
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
1407
+ Dispose(disposing: boolean): void;
1471
1408
  Dispose(): void;
1472
1409
  GenerateIV(): void;
1473
1410
  GenerateKey(): void;
1411
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
1412
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
1474
1413
  }
1475
1414
 
1476
1415
 
@@ -1486,29 +1425,17 @@ export interface __DESCryptoServiceProvider$views {
1486
1425
  export type DESCryptoServiceProvider = DESCryptoServiceProvider$instance & __DESCryptoServiceProvider$views;
1487
1426
 
1488
1427
 
1489
- export abstract class DSA$protected {
1490
- protected CreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
1491
- protected Dispose2(disposing: boolean): void;
1492
- protected HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
1493
- protected HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
1494
- protected SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1495
- protected SignDataCore(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1496
- protected TryCreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1497
- protected TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1498
- protected TrySignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1499
- protected VerifyDataCore(data: Stream, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1500
- protected VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1501
- protected VerifySignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1502
- }
1503
-
1504
-
1505
- export interface DSA$instance extends DSA$protected, AsymmetricAlgorithm$instance {
1428
+ export interface DSA$instance extends AsymmetricAlgorithm$instance {
1506
1429
  CreateSignature(rgbHash: byte[]): byte[];
1507
1430
  CreateSignature(rgbHash: byte[], signatureFormat: DSASignatureFormat): byte[];
1431
+ CreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
1508
1432
  Dispose(): void;
1433
+ Dispose(disposing: boolean): void;
1509
1434
  ExportParameters(includePrivateParameters: boolean): DSAParameters;
1510
1435
  FromXmlString(xmlString: string): void;
1511
1436
  GetMaxSignatureSize(signatureFormat: DSASignatureFormat): int;
1437
+ HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
1438
+ HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
1512
1439
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
1513
1440
  ImportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
1514
1441
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
@@ -1528,9 +1455,12 @@ export interface DSA$instance extends DSA$protected, AsymmetricAlgorithm$instanc
1528
1455
  SignData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1529
1456
  SignData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
1530
1457
  SignData(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1458
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1459
+ SignDataCore(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1531
1460
  ToXmlString(includePrivateParameters: boolean): string;
1532
1461
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1533
1462
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1463
+ TryCreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1534
1464
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1535
1465
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1536
1466
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -1538,8 +1468,10 @@ export interface DSA$instance extends DSA$protected, AsymmetricAlgorithm$instanc
1538
1468
  TryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1539
1469
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1540
1470
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1471
+ TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1541
1472
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1542
1473
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1474
+ TrySignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1543
1475
  VerifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
1544
1476
  VerifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
1545
1477
  VerifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
@@ -1548,15 +1480,17 @@ export interface DSA$instance extends DSA$protected, AsymmetricAlgorithm$instanc
1548
1480
  VerifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1549
1481
  VerifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1550
1482
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1483
+ VerifyDataCore(data: Stream, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1484
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1551
1485
  VerifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
1552
1486
  VerifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
1553
1487
  VerifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1554
1488
  VerifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1489
+ VerifySignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1555
1490
  }
1556
1491
 
1557
1492
 
1558
- export const DSA: {
1559
- new(): DSA;
1493
+ export const DSA: (abstract new() => DSA) & {
1560
1494
  Create(parameters: DSAParameters): DSA;
1561
1495
  Create(algName: string): DSA | undefined;
1562
1496
  };
@@ -1569,16 +1503,12 @@ export interface __DSA$views {
1569
1503
  export type DSA = DSA$instance & __DSA$views;
1570
1504
 
1571
1505
 
1572
- export abstract class DSACng$protected {
1573
- protected Dispose3(disposing: boolean): void;
1574
- }
1575
-
1576
-
1577
- export interface DSACng$instance extends DSACng$protected, DSA$instance {
1506
+ export interface DSACng$instance extends DSA$instance {
1578
1507
  readonly Key: CngKey;
1579
1508
  CreateSignature(rgbHash: byte[]): byte[];
1580
1509
  CreateSignature(rgbHash: byte[], signatureFormat: DSASignatureFormat): byte[];
1581
1510
  Dispose(): void;
1511
+ Dispose(disposing: boolean): void;
1582
1512
  ExportParameters(includePrivateParameters: boolean): DSAParameters;
1583
1513
  ImportParameters(parameters: DSAParameters): void;
1584
1514
  VerifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
@@ -1602,29 +1532,23 @@ export interface __DSACng$views {
1602
1532
  export type DSACng = DSACng$instance & __DSACng$views;
1603
1533
 
1604
1534
 
1605
- export abstract class DSACryptoServiceProvider$protected {
1606
- protected Dispose2(disposing: boolean): void;
1607
- protected HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
1608
- protected HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
1609
- protected TryHashData2(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1610
- protected TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1611
- }
1612
-
1613
-
1614
- export interface DSACryptoServiceProvider$instance extends DSACryptoServiceProvider$protected, DSA$instance {
1535
+ export interface DSACryptoServiceProvider$instance extends DSA$instance {
1615
1536
  readonly CspKeyContainerInfo: CspKeyContainerInfo;
1616
1537
  readonly KeyExchangeAlgorithm: string | undefined;
1617
1538
  KeySize: int;
1618
1539
  readonly LegalKeySizes: KeySizes[];
1619
1540
  PersistKeyInCsp: boolean;
1620
1541
  readonly PublicOnly: boolean;
1621
- readonly SignatureAlgorithm: string;
1542
+ readonly SignatureAlgorithm: string | string | undefined;
1622
1543
  CreateSignature(rgbHash: byte[]): byte[];
1623
1544
  CreateSignature(rgbHash: byte[], signatureFormat: DSASignatureFormat): byte[];
1545
+ Dispose(disposing: boolean): void;
1624
1546
  Dispose(): void;
1625
1547
  ExportCspBlob(includePrivateParameters: boolean): byte[];
1626
1548
  ExportParameters(includePrivateParameters: boolean): DSAParameters;
1627
1549
  FromXmlString(xmlString: string): void;
1550
+ HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
1551
+ HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
1628
1552
  ImportCspBlob(keyBlob: byte[]): void;
1629
1553
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
1630
1554
  ImportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
@@ -1642,6 +1566,8 @@ export interface DSACryptoServiceProvider$instance extends DSACryptoServiceProvi
1642
1566
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1643
1567
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1644
1568
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1569
+ TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1570
+ TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1645
1571
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1646
1572
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
1647
1573
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
@@ -1682,20 +1608,12 @@ export interface DSACryptoServiceProvider$instance extends ICspAsymmetricAlgorit
1682
1608
  export type DSACryptoServiceProvider = DSACryptoServiceProvider$instance & __DSACryptoServiceProvider$views;
1683
1609
 
1684
1610
 
1685
- export abstract class DSAOpenSsl$protected {
1686
- protected Dispose2(disposing: boolean): void;
1687
- protected TryCreateSignatureCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1688
- protected TryCreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1689
- protected VerifySignatureCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1690
- protected VerifySignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1691
- }
1692
-
1693
-
1694
- export interface DSAOpenSsl$instance extends DSAOpenSsl$protected, DSA$instance {
1611
+ export interface DSAOpenSsl$instance extends DSA$instance {
1695
1612
  KeySize: int;
1696
1613
  readonly LegalKeySizes: KeySizes[];
1697
1614
  CreateSignature(rgbHash: byte[]): byte[];
1698
1615
  CreateSignature(rgbHash: byte[], signatureFormat: DSASignatureFormat): byte[];
1616
+ Dispose(disposing: boolean): void;
1699
1617
  Dispose(): void;
1700
1618
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
1701
1619
  ExportParameters(includePrivateParameters: boolean): DSAParameters;
@@ -1706,11 +1624,15 @@ export interface DSAOpenSsl$instance extends DSAOpenSsl$protected, DSA$instance
1706
1624
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1707
1625
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
1708
1626
  TryCreateSignature(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1627
+ TryCreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1628
+ TryCreateSignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1709
1629
  VerifySignature(rgbHash: byte[], rgbSignature: byte[]): boolean;
1710
1630
  VerifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1711
1631
  VerifySignature(rgbHash: byte[], rgbSignature: byte[], signatureFormat: DSASignatureFormat): boolean;
1712
1632
  VerifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
1713
1633
  VerifySignature(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1634
+ VerifySignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1635
+ VerifySignatureCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1714
1636
  }
1715
1637
 
1716
1638
 
@@ -1762,13 +1684,9 @@ export const DSASignatureFormatter: {
1762
1684
 
1763
1685
  export type DSASignatureFormatter = DSASignatureFormatter$instance;
1764
1686
 
1765
- export abstract class ECAlgorithm$protected {
1766
- protected Dispose2(disposing: boolean): void;
1767
- }
1768
-
1769
-
1770
- export interface ECAlgorithm$instance extends ECAlgorithm$protected, AsymmetricAlgorithm$instance {
1687
+ export interface ECAlgorithm$instance extends AsymmetricAlgorithm$instance {
1771
1688
  Dispose(): void;
1689
+ Dispose(disposing: boolean): void;
1772
1690
  ExportECPrivateKey(): byte[];
1773
1691
  ExportECPrivateKeyPem(): string;
1774
1692
  ExportExplicitParameters(includePrivateParameters: boolean): ECParameters;
@@ -1800,8 +1718,7 @@ export interface ECAlgorithm$instance extends ECAlgorithm$protected, AsymmetricA
1800
1718
  }
1801
1719
 
1802
1720
 
1803
- export const ECAlgorithm: {
1804
- new(): ECAlgorithm;
1721
+ export const ECAlgorithm: (abstract new() => ECAlgorithm) & {
1805
1722
  };
1806
1723
 
1807
1724
 
@@ -1812,15 +1729,10 @@ export interface __ECAlgorithm$views {
1812
1729
  export type ECAlgorithm = ECAlgorithm$instance & __ECAlgorithm$views;
1813
1730
 
1814
1731
 
1815
- export abstract class ECDiffieHellman$protected {
1816
- protected Dispose3(disposing: boolean): void;
1817
- }
1818
-
1819
-
1820
- export interface ECDiffieHellman$instance extends ECDiffieHellman$protected, ECAlgorithm$instance {
1732
+ export interface ECDiffieHellman$instance extends ECAlgorithm$instance {
1821
1733
  readonly KeyExchangeAlgorithm: string | string | undefined;
1822
1734
  readonly PublicKey: ECDiffieHellmanPublicKey;
1823
- readonly SignatureAlgorithm: string;
1735
+ readonly SignatureAlgorithm: string | undefined;
1824
1736
  DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName): byte[];
1825
1737
  DeriveKeyFromHash(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, secretPrepend: byte[], secretAppend: byte[]): byte[];
1826
1738
  DeriveKeyFromHmac(otherPartyPublicKey: ECDiffieHellmanPublicKey, hashAlgorithm: HashAlgorithmName, hmacKey: byte[]): byte[];
@@ -1829,13 +1741,13 @@ export interface ECDiffieHellman$instance extends ECDiffieHellman$protected, ECA
1829
1741
  DeriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1830
1742
  DeriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1831
1743
  Dispose(): void;
1744
+ Dispose(disposing: boolean): void;
1832
1745
  FromXmlString(xmlString: string): void;
1833
1746
  ToXmlString(includePrivateParameters: boolean): string;
1834
1747
  }
1835
1748
 
1836
1749
 
1837
- export const ECDiffieHellman: {
1838
- new(): ECDiffieHellman;
1750
+ export const ECDiffieHellman: (abstract new() => ECDiffieHellman) & {
1839
1751
  Create(): ECDiffieHellman;
1840
1752
  Create(curve: ECCurve): ECDiffieHellman;
1841
1753
  Create(parameters: ECParameters): ECDiffieHellman;
@@ -1850,31 +1762,27 @@ export interface __ECDiffieHellman$views {
1850
1762
  export type ECDiffieHellman = ECDiffieHellman$instance & __ECDiffieHellman$views;
1851
1763
 
1852
1764
 
1853
- export abstract class ECDiffieHellmanCng$protected {
1854
- protected Dispose4(disposing: boolean): void;
1855
- }
1856
-
1857
-
1858
- export interface ECDiffieHellmanCng$instance extends ECDiffieHellmanCng$protected, ECDiffieHellman$instance {
1765
+ export interface ECDiffieHellmanCng$instance extends ECDiffieHellman$instance {
1859
1766
  HashAlgorithm: CngAlgorithm;
1860
1767
  get HmacKey(): byte[] | undefined;
1861
- set HmacKey(value: byte[]);
1768
+ set HmacKey(value: byte[] | undefined);
1862
1769
  readonly Key: CngKey;
1863
1770
  KeyDerivationFunction: ECDiffieHellmanKeyDerivationFunction;
1864
1771
  get Label(): byte[] | undefined;
1865
- set Label(value: byte[]);
1772
+ set Label(value: byte[] | undefined);
1866
1773
  readonly PublicKey: ECDiffieHellmanPublicKey;
1867
1774
  get SecretAppend(): byte[] | undefined;
1868
- set SecretAppend(value: byte[]);
1775
+ set SecretAppend(value: byte[] | undefined);
1869
1776
  get SecretPrepend(): byte[] | undefined;
1870
- set SecretPrepend(value: byte[]);
1777
+ set SecretPrepend(value: byte[] | undefined);
1871
1778
  get Seed(): byte[] | undefined;
1872
- set Seed(value: byte[]);
1779
+ set Seed(value: byte[] | undefined);
1873
1780
  readonly UseSecretAgreementAsHmacKey: boolean;
1874
1781
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1875
1782
  DeriveSecretAgreementHandle(otherPartyPublicKey: CngKey): SafeNCryptSecretHandle;
1876
1783
  DeriveSecretAgreementHandle(otherPartyPublicKey: ECDiffieHellmanPublicKey): SafeNCryptSecretHandle;
1877
1784
  Dispose(): void;
1785
+ Dispose(disposing: boolean): void;
1878
1786
  FromXmlString(xmlString: string): void;
1879
1787
  ToXmlString(includePrivateParameters: boolean): string;
1880
1788
  }
@@ -1895,13 +1803,9 @@ export interface __ECDiffieHellmanCng$views {
1895
1803
  export type ECDiffieHellmanCng = ECDiffieHellmanCng$instance & __ECDiffieHellmanCng$views;
1896
1804
 
1897
1805
 
1898
- export abstract class ECDiffieHellmanCngPublicKey$protected {
1899
- protected Dispose2(disposing: boolean): void;
1900
- }
1901
-
1902
-
1903
- export interface ECDiffieHellmanCngPublicKey$instance extends ECDiffieHellmanCngPublicKey$protected, ECDiffieHellmanPublicKey$instance {
1806
+ export interface ECDiffieHellmanCngPublicKey$instance extends ECDiffieHellmanPublicKey$instance {
1904
1807
  readonly BlobFormat: CngKeyBlobFormat;
1808
+ Dispose(disposing: boolean): void;
1905
1809
  Dispose(): void;
1906
1810
  Import(): CngKey;
1907
1811
  ToXmlString(): string;
@@ -1909,7 +1813,6 @@ export interface ECDiffieHellmanCngPublicKey$instance extends ECDiffieHellmanCng
1909
1813
 
1910
1814
 
1911
1815
  export const ECDiffieHellmanCngPublicKey: {
1912
- new(): ECDiffieHellmanCngPublicKey;
1913
1816
  FromByteArray(publicKeyBlob: byte[], format: CngKeyBlobFormat): ECDiffieHellmanPublicKey;
1914
1817
  FromXmlString(xml: string): ECDiffieHellmanCngPublicKey;
1915
1818
  };
@@ -1922,12 +1825,7 @@ export interface __ECDiffieHellmanCngPublicKey$views {
1922
1825
  export type ECDiffieHellmanCngPublicKey = ECDiffieHellmanCngPublicKey$instance & __ECDiffieHellmanCngPublicKey$views;
1923
1826
 
1924
1827
 
1925
- export abstract class ECDiffieHellmanOpenSsl$protected {
1926
- protected Dispose2(disposing: boolean): void;
1927
- }
1928
-
1929
-
1930
- export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellmanOpenSsl$protected, ECDiffieHellman$instance {
1828
+ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellman$instance {
1931
1829
  KeySize: int;
1932
1830
  readonly LegalKeySizes: KeySizes[];
1933
1831
  readonly PublicKey: ECDiffieHellmanPublicKey;
@@ -1938,6 +1836,7 @@ export interface ECDiffieHellmanOpenSsl$instance extends ECDiffieHellmanOpenSsl$
1938
1836
  DeriveKeyMaterial(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1939
1837
  DeriveKeyTls(otherPartyPublicKey: ECDiffieHellmanPublicKey, prfLabel: byte[], prfSeed: byte[]): byte[];
1940
1838
  DeriveRawSecretAgreement(otherPartyPublicKey: ECDiffieHellmanPublicKey): byte[];
1839
+ Dispose(disposing: boolean): void;
1941
1840
  Dispose(): void;
1942
1841
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
1943
1842
  ExportExplicitParameters(includePrivateParameters: boolean): ECParameters;
@@ -1966,13 +1865,9 @@ export interface __ECDiffieHellmanOpenSsl$views {
1966
1865
  export type ECDiffieHellmanOpenSsl = ECDiffieHellmanOpenSsl$instance & __ECDiffieHellmanOpenSsl$views;
1967
1866
 
1968
1867
 
1969
- export abstract class ECDiffieHellmanPublicKey$protected {
1970
- protected Dispose(disposing: boolean): void;
1971
- }
1972
-
1973
-
1974
- export interface ECDiffieHellmanPublicKey$instance extends ECDiffieHellmanPublicKey$protected {
1868
+ export interface ECDiffieHellmanPublicKey$instance {
1975
1869
  Dispose(): void;
1870
+ Dispose(disposing: boolean): void;
1976
1871
  ExportExplicitParameters(): ECParameters;
1977
1872
  ExportParameters(): ECParameters;
1978
1873
  ExportSubjectPublicKeyInfo(): byte[];
@@ -1982,9 +1877,7 @@ export interface ECDiffieHellmanPublicKey$instance extends ECDiffieHellmanPublic
1982
1877
  }
1983
1878
 
1984
1879
 
1985
- export const ECDiffieHellmanPublicKey: {
1986
- new(): ECDiffieHellmanPublicKey;
1987
- new(keyBlob: byte[]): ECDiffieHellmanPublicKey;
1880
+ export const ECDiffieHellmanPublicKey: (abstract new() => ECDiffieHellmanPublicKey) & (abstract new(keyBlob: byte[]) => ECDiffieHellmanPublicKey) & {
1988
1881
  };
1989
1882
 
1990
1883
 
@@ -1995,28 +1888,15 @@ export interface __ECDiffieHellmanPublicKey$views {
1995
1888
  export type ECDiffieHellmanPublicKey = ECDiffieHellmanPublicKey$instance & __ECDiffieHellmanPublicKey$views;
1996
1889
 
1997
1890
 
1998
- export abstract class ECDsa$protected {
1999
- protected Dispose3(disposing: boolean): void;
2000
- protected HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
2001
- protected HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
2002
- protected SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
2003
- protected SignDataCore(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
2004
- protected SignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
2005
- protected TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
2006
- protected TrySignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2007
- protected TrySignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2008
- protected VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
2009
- protected VerifyDataCore(data: Stream, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
2010
- protected VerifyHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2011
- }
2012
-
2013
-
2014
- export interface ECDsa$instance extends ECDsa$protected, ECAlgorithm$instance {
1891
+ export interface ECDsa$instance extends ECAlgorithm$instance {
2015
1892
  readonly KeyExchangeAlgorithm: string | undefined;
2016
- readonly SignatureAlgorithm: string;
1893
+ readonly SignatureAlgorithm: string | string | undefined;
2017
1894
  Dispose(): void;
1895
+ Dispose(disposing: boolean): void;
2018
1896
  FromXmlString(xmlString: string): void;
2019
1897
  GetMaxSignatureSize(signatureFormat: DSASignatureFormat): int;
1898
+ HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
1899
+ HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
2020
1900
  SignData(data: byte[], hashAlgorithm: HashAlgorithmName): byte[];
2021
1901
  SignData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
2022
1902
  SignData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
@@ -2027,17 +1907,23 @@ export interface ECDsa$instance extends ECDsa$protected, ECAlgorithm$instance {
2027
1907
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
2028
1908
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): int;
2029
1909
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName): int;
1910
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
1911
+ SignDataCore(data: Stream, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): byte[];
2030
1912
  SignHash(hash: byte[], signatureFormat: DSASignatureFormat): byte[];
2031
1913
  SignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
2032
1914
  SignHash(hash: ReadOnlySpan_1<System_Internal.Byte>): byte[];
2033
1915
  SignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): int;
2034
1916
  SignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): int;
2035
1917
  SignHash(hash: byte[]): byte[];
1918
+ SignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): byte[];
2036
1919
  ToXmlString(includePrivateParameters: boolean): string;
1920
+ TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
2037
1921
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
2038
1922
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1923
+ TrySignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2039
1924
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2040
1925
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
1926
+ TrySignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2041
1927
  VerifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
2042
1928
  VerifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
2043
1929
  VerifyData(data: byte[], offset: int, count: int, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
@@ -2046,15 +1932,17 @@ export interface ECDsa$instance extends ECDsa$protected, ECAlgorithm$instance {
2046
1932
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
2047
1933
  VerifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName): boolean;
2048
1934
  VerifyData(data: Stream, signature: byte[], hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1935
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
1936
+ VerifyDataCore(data: Stream, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signatureFormat: DSASignatureFormat): boolean;
2049
1937
  VerifyHash(hash: byte[], signature: byte[]): boolean;
2050
1938
  VerifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2051
1939
  VerifyHash(hash: byte[], signature: byte[], signatureFormat: DSASignatureFormat): boolean;
2052
1940
  VerifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
1941
+ VerifyHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2053
1942
  }
2054
1943
 
2055
1944
 
2056
- export const ECDsa: {
2057
- new(): ECDsa;
1945
+ export const ECDsa: (abstract new() => ECDsa) & {
2058
1946
  Create(): ECDsa;
2059
1947
  Create(curve: ECCurve): ECDsa;
2060
1948
  Create(parameters: ECParameters): ECDsa;
@@ -2069,15 +1957,11 @@ export interface __ECDsa$views {
2069
1957
  export type ECDsa = ECDsa$instance & __ECDsa$views;
2070
1958
 
2071
1959
 
2072
- export abstract class ECDsaCng$protected {
2073
- protected Dispose4(disposing: boolean): void;
2074
- }
2075
-
2076
-
2077
- export interface ECDsaCng$instance extends ECDsaCng$protected, ECDsa$instance {
1960
+ export interface ECDsaCng$instance extends ECDsa$instance {
2078
1961
  HashAlgorithm: CngAlgorithm;
2079
1962
  readonly Key: CngKey;
2080
1963
  Dispose(): void;
1964
+ Dispose(disposing: boolean): void;
2081
1965
  FromXmlString(xmlString: string): void;
2082
1966
  SignData(data: Stream): byte[];
2083
1967
  SignData(data: byte[], hashAlgorithm: HashAlgorithmName): byte[];
@@ -2128,18 +2012,10 @@ export interface __ECDsaCng$views {
2128
2012
  export type ECDsaCng = ECDsaCng$instance & __ECDsaCng$views;
2129
2013
 
2130
2014
 
2131
- export abstract class ECDsaOpenSsl$protected {
2132
- protected Dispose2(disposing: boolean): void;
2133
- protected TrySignHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2134
- protected TrySignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2135
- protected VerifyHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2136
- protected VerifyHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2137
- }
2138
-
2139
-
2140
- export interface ECDsaOpenSsl$instance extends ECDsaOpenSsl$protected, ECDsa$instance {
2015
+ export interface ECDsaOpenSsl$instance extends ECDsa$instance {
2141
2016
  KeySize: int;
2142
2017
  readonly LegalKeySizes: KeySizes[];
2018
+ Dispose(disposing: boolean): void;
2143
2019
  Dispose(): void;
2144
2020
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
2145
2021
  ExportExplicitParameters(includePrivateParameters: boolean): ECParameters;
@@ -2158,11 +2034,15 @@ export interface ECDsaOpenSsl$instance extends ECDsaOpenSsl$protected, ECDsa$ins
2158
2034
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2159
2035
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2160
2036
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2037
+ TrySignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2038
+ TrySignHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat, bytesWritten: int): boolean;
2161
2039
  VerifyHash(hash: byte[], signature: byte[]): boolean;
2162
2040
  VerifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2163
2041
  VerifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2164
2042
  VerifyHash(hash: byte[], signature: byte[], signatureFormat: DSASignatureFormat): boolean;
2165
2043
  VerifyHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2044
+ VerifyHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2045
+ VerifyHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, signatureFormat: DSASignatureFormat): boolean;
2166
2046
  }
2167
2047
 
2168
2048
 
@@ -2182,19 +2062,15 @@ export interface __ECDsaOpenSsl$views {
2182
2062
  export type ECDsaOpenSsl = ECDsaOpenSsl$instance & __ECDsaOpenSsl$views;
2183
2063
 
2184
2064
 
2185
- export abstract class FromBase64Transform$protected {
2186
- protected Dispose(disposing: boolean): void;
2187
- protected Finalize(): void;
2188
- }
2189
-
2190
-
2191
- export interface FromBase64Transform$instance extends FromBase64Transform$protected {
2065
+ export interface FromBase64Transform$instance {
2192
2066
  readonly CanReuseTransform: boolean;
2193
2067
  readonly CanTransformMultipleBlocks: boolean;
2194
2068
  readonly InputBlockSize: int;
2195
2069
  readonly OutputBlockSize: int;
2196
2070
  Clear(): void;
2197
2071
  Dispose(): void;
2072
+ Dispose(disposing: boolean): void;
2073
+ Finalize(): void;
2198
2074
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2199
2075
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2200
2076
  }
@@ -2214,16 +2090,7 @@ export interface __FromBase64Transform$views {
2214
2090
  export type FromBase64Transform = FromBase64Transform$instance & __FromBase64Transform$views;
2215
2091
 
2216
2092
 
2217
- export abstract class HashAlgorithm$protected {
2218
- protected Dispose(disposing: boolean): void;
2219
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2220
- protected abstract HashCore(array: byte[], ibStart: int, cbSize: int): void;
2221
- protected abstract HashFinal(): byte[];
2222
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2223
- }
2224
-
2225
-
2226
- export interface HashAlgorithm$instance extends HashAlgorithm$protected {
2093
+ export interface HashAlgorithm$instance {
2227
2094
  readonly CanReuseTransform: boolean;
2228
2095
  readonly CanTransformMultipleBlocks: boolean;
2229
2096
  readonly Hash: byte[] | undefined;
@@ -2236,15 +2103,19 @@ export interface HashAlgorithm$instance extends HashAlgorithm$protected {
2236
2103
  ComputeHash(inputStream: Stream): byte[];
2237
2104
  ComputeHashAsync(inputStream: Stream, cancellationToken?: CancellationToken): Task_1<byte[]>;
2238
2105
  Dispose(): void;
2106
+ Dispose(disposing: boolean): void;
2107
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
2108
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2109
+ HashFinal(): byte[];
2239
2110
  Initialize(): void;
2240
2111
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2241
2112
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2242
2113
  TryComputeHash(source: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2114
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2243
2115
  }
2244
2116
 
2245
2117
 
2246
- export const HashAlgorithm: {
2247
- new(): HashAlgorithm;
2118
+ export const HashAlgorithm: (abstract new() => HashAlgorithm) & {
2248
2119
  Create(): HashAlgorithm;
2249
2120
  Create(hashName: string): HashAlgorithm | undefined;
2250
2121
  };
@@ -2258,29 +2129,24 @@ export interface __HashAlgorithm$views {
2258
2129
  export type HashAlgorithm = HashAlgorithm$instance & __HashAlgorithm$views;
2259
2130
 
2260
2131
 
2261
- export abstract class HMAC$protected {
2262
- protected Dispose2(disposing: boolean): void;
2263
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2264
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2265
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2266
- protected HashFinal(): byte[];
2267
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2268
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2269
- }
2270
-
2271
-
2272
- export interface HMAC$instance extends HMAC$protected, KeyedHashAlgorithm$instance {
2132
+ export interface HMAC$instance extends KeyedHashAlgorithm$instance {
2273
2133
  HashName: string;
2274
2134
  Key: byte[];
2135
+ Dispose(disposing: boolean): void;
2275
2136
  Dispose(): void;
2137
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2138
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2139
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2140
+ HashFinal(): byte[];
2276
2141
  Initialize(): void;
2277
2142
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2278
2143
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2144
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2145
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2279
2146
  }
2280
2147
 
2281
2148
 
2282
- export const HMAC: {
2283
- new(): HMAC;
2149
+ export const HMAC: (abstract new() => HMAC) & {
2284
2150
  };
2285
2151
 
2286
2152
 
@@ -2292,23 +2158,19 @@ export interface __HMAC$views {
2292
2158
  export type HMAC = HMAC$instance & __HMAC$views;
2293
2159
 
2294
2160
 
2295
- export abstract class HMACMD5$protected {
2296
- protected Dispose2(disposing: boolean): void;
2297
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2298
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2299
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2300
- protected HashFinal(): byte[];
2301
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2302
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2303
- }
2304
-
2305
-
2306
- export interface HMACMD5$instance extends HMACMD5$protected, HMAC$instance {
2161
+ export interface HMACMD5$instance extends HMAC$instance {
2307
2162
  Key: byte[];
2163
+ Dispose(disposing: boolean): void;
2308
2164
  Dispose(): void;
2165
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2166
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2167
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2168
+ HashFinal(): byte[];
2309
2169
  Initialize(): void;
2310
2170
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2311
2171
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2172
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2173
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2312
2174
  }
2313
2175
 
2314
2176
 
@@ -2338,23 +2200,19 @@ export interface __HMACMD5$views {
2338
2200
  export type HMACMD5 = HMACMD5$instance & __HMACMD5$views;
2339
2201
 
2340
2202
 
2341
- export abstract class HMACSHA1$protected {
2342
- protected Dispose2(disposing: boolean): void;
2343
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2344
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2345
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2346
- protected HashFinal(): byte[];
2347
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2348
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2349
- }
2350
-
2351
-
2352
- export interface HMACSHA1$instance extends HMACSHA1$protected, HMAC$instance {
2203
+ export interface HMACSHA1$instance extends HMAC$instance {
2353
2204
  Key: byte[];
2205
+ Dispose(disposing: boolean): void;
2354
2206
  Dispose(): void;
2207
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2208
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2209
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2210
+ HashFinal(): byte[];
2355
2211
  Initialize(): void;
2356
2212
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2357
2213
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2214
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2215
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2358
2216
  }
2359
2217
 
2360
2218
 
@@ -2385,23 +2243,19 @@ export interface __HMACSHA1$views {
2385
2243
  export type HMACSHA1 = HMACSHA1$instance & __HMACSHA1$views;
2386
2244
 
2387
2245
 
2388
- export abstract class HMACSHA256$protected {
2389
- protected Dispose2(disposing: boolean): void;
2390
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2391
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2392
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2393
- protected HashFinal(): byte[];
2394
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2395
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2396
- }
2397
-
2398
-
2399
- export interface HMACSHA256$instance extends HMACSHA256$protected, HMAC$instance {
2246
+ export interface HMACSHA256$instance extends HMAC$instance {
2400
2247
  Key: byte[];
2248
+ Dispose(disposing: boolean): void;
2401
2249
  Dispose(): void;
2250
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2251
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2252
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2253
+ HashFinal(): byte[];
2402
2254
  Initialize(): void;
2403
2255
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2404
2256
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2257
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2258
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2405
2259
  }
2406
2260
 
2407
2261
 
@@ -2431,23 +2285,19 @@ export interface __HMACSHA256$views {
2431
2285
  export type HMACSHA256 = HMACSHA256$instance & __HMACSHA256$views;
2432
2286
 
2433
2287
 
2434
- export abstract class HMACSHA3_256$protected {
2435
- protected Dispose2(disposing: boolean): void;
2436
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2437
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2438
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2439
- protected HashFinal(): byte[];
2440
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2441
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2442
- }
2443
-
2444
-
2445
- export interface HMACSHA3_256$instance extends HMACSHA3_256$protected, HMAC$instance {
2288
+ export interface HMACSHA3_256$instance extends HMAC$instance {
2446
2289
  Key: byte[];
2290
+ Dispose(disposing: boolean): void;
2447
2291
  Dispose(): void;
2292
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2293
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2294
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2295
+ HashFinal(): byte[];
2448
2296
  Initialize(): void;
2449
2297
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2450
2298
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2299
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2300
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2451
2301
  }
2452
2302
 
2453
2303
 
@@ -2478,23 +2328,19 @@ export interface __HMACSHA3_256$views {
2478
2328
  export type HMACSHA3_256 = HMACSHA3_256$instance & __HMACSHA3_256$views;
2479
2329
 
2480
2330
 
2481
- export abstract class HMACSHA3_384$protected {
2482
- protected Dispose2(disposing: boolean): void;
2483
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2484
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2485
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2486
- protected HashFinal(): byte[];
2487
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2488
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2489
- }
2490
-
2491
-
2492
- export interface HMACSHA3_384$instance extends HMACSHA3_384$protected, HMAC$instance {
2331
+ export interface HMACSHA3_384$instance extends HMAC$instance {
2493
2332
  Key: byte[];
2333
+ Dispose(disposing: boolean): void;
2494
2334
  Dispose(): void;
2335
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2336
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2337
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2338
+ HashFinal(): byte[];
2495
2339
  Initialize(): void;
2496
2340
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2497
2341
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2342
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2343
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2498
2344
  }
2499
2345
 
2500
2346
 
@@ -2525,23 +2371,19 @@ export interface __HMACSHA3_384$views {
2525
2371
  export type HMACSHA3_384 = HMACSHA3_384$instance & __HMACSHA3_384$views;
2526
2372
 
2527
2373
 
2528
- export abstract class HMACSHA3_512$protected {
2529
- protected Dispose2(disposing: boolean): void;
2530
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2531
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2532
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2533
- protected HashFinal(): byte[];
2534
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2535
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2536
- }
2537
-
2538
-
2539
- export interface HMACSHA3_512$instance extends HMACSHA3_512$protected, HMAC$instance {
2374
+ export interface HMACSHA3_512$instance extends HMAC$instance {
2540
2375
  Key: byte[];
2376
+ Dispose(disposing: boolean): void;
2541
2377
  Dispose(): void;
2378
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2379
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2380
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2381
+ HashFinal(): byte[];
2542
2382
  Initialize(): void;
2543
2383
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2544
2384
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2385
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2386
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2545
2387
  }
2546
2388
 
2547
2389
 
@@ -2572,24 +2414,20 @@ export interface __HMACSHA3_512$views {
2572
2414
  export type HMACSHA3_512 = HMACSHA3_512$instance & __HMACSHA3_512$views;
2573
2415
 
2574
2416
 
2575
- export abstract class HMACSHA384$protected {
2576
- protected Dispose2(disposing: boolean): void;
2577
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2578
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2579
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2580
- protected HashFinal(): byte[];
2581
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2582
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2583
- }
2584
-
2585
-
2586
- export interface HMACSHA384$instance extends HMACSHA384$protected, HMAC$instance {
2417
+ export interface HMACSHA384$instance extends HMAC$instance {
2587
2418
  Key: byte[];
2588
2419
  ProduceLegacyHmacValues: boolean;
2420
+ Dispose(disposing: boolean): void;
2589
2421
  Dispose(): void;
2422
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2423
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2424
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2425
+ HashFinal(): byte[];
2590
2426
  Initialize(): void;
2591
2427
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2592
2428
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2429
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2430
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2593
2431
  }
2594
2432
 
2595
2433
 
@@ -2619,24 +2457,20 @@ export interface __HMACSHA384$views {
2619
2457
  export type HMACSHA384 = HMACSHA384$instance & __HMACSHA384$views;
2620
2458
 
2621
2459
 
2622
- export abstract class HMACSHA512$protected {
2623
- protected Dispose2(disposing: boolean): void;
2624
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2625
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2626
- protected HashCore2(rgb: byte[], ib: int, cb: int): void;
2627
- protected HashFinal(): byte[];
2628
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2629
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2630
- }
2631
-
2632
-
2633
- export interface HMACSHA512$instance extends HMACSHA512$protected, HMAC$instance {
2460
+ export interface HMACSHA512$instance extends HMAC$instance {
2634
2461
  Key: byte[];
2635
2462
  ProduceLegacyHmacValues: boolean;
2463
+ Dispose(disposing: boolean): void;
2636
2464
  Dispose(): void;
2465
+ HashCore(rgb: byte[], ib: int, cb: int): void;
2466
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2467
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2468
+ HashFinal(): byte[];
2637
2469
  Initialize(): void;
2638
2470
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2639
2471
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2472
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2473
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2640
2474
  }
2641
2475
 
2642
2476
 
@@ -2684,7 +2518,6 @@ export interface IncrementalHash$instance {
2684
2518
 
2685
2519
 
2686
2520
  export const IncrementalHash: {
2687
- new(): IncrementalHash;
2688
2521
  CreateHash(hashAlgorithm: HashAlgorithmName): IncrementalHash;
2689
2522
  CreateHMAC(hashAlgorithm: HashAlgorithmName, key: byte[]): IncrementalHash;
2690
2523
  CreateHMAC(hashAlgorithm: HashAlgorithmName, key: ReadOnlySpan_1<System_Internal.Byte>): IncrementalHash;
@@ -2700,21 +2533,16 @@ export interface IncrementalHash$instance extends System_Internal.IDisposable$in
2700
2533
  export type IncrementalHash = IncrementalHash$instance & __IncrementalHash$views;
2701
2534
 
2702
2535
 
2703
- export abstract class KeyedHashAlgorithm$protected {
2704
- protected Dispose2(disposing: boolean): void;
2705
- }
2706
-
2707
-
2708
- export interface KeyedHashAlgorithm$instance extends KeyedHashAlgorithm$protected, HashAlgorithm$instance {
2536
+ export interface KeyedHashAlgorithm$instance extends HashAlgorithm$instance {
2709
2537
  Key: byte[];
2538
+ Dispose(disposing: boolean): void;
2710
2539
  Dispose(): void;
2711
2540
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2712
2541
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2713
2542
  }
2714
2543
 
2715
2544
 
2716
- export const KeyedHashAlgorithm: {
2717
- new(): KeyedHashAlgorithm;
2545
+ export const KeyedHashAlgorithm: (abstract new() => KeyedHashAlgorithm) & {
2718
2546
  };
2719
2547
 
2720
2548
 
@@ -2893,27 +2721,21 @@ export interface MaskGenerationMethod$instance {
2893
2721
  }
2894
2722
 
2895
2723
 
2896
- export const MaskGenerationMethod: {
2897
- new(): MaskGenerationMethod;
2724
+ export const MaskGenerationMethod: (abstract new() => MaskGenerationMethod) & {
2898
2725
  };
2899
2726
 
2900
2727
 
2901
2728
  export type MaskGenerationMethod = MaskGenerationMethod$instance;
2902
2729
 
2903
- export abstract class MD5$protected {
2904
- protected Dispose2(disposing: boolean): void;
2905
- }
2906
-
2907
-
2908
- export interface MD5$instance extends MD5$protected, HashAlgorithm$instance {
2730
+ export interface MD5$instance extends HashAlgorithm$instance {
2909
2731
  Dispose(): void;
2732
+ Dispose(disposing: boolean): void;
2910
2733
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2911
2734
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2912
2735
  }
2913
2736
 
2914
2737
 
2915
- export const MD5: {
2916
- new(): MD5;
2738
+ export const MD5: (abstract new() => MD5) & {
2917
2739
  readonly HashSizeInBits: int;
2918
2740
  readonly HashSizeInBytes: int;
2919
2741
  HashData(source: byte[]): byte[];
@@ -2935,22 +2757,18 @@ export interface __MD5$views {
2935
2757
  export type MD5 = MD5$instance & __MD5$views;
2936
2758
 
2937
2759
 
2938
- export abstract class MD5CryptoServiceProvider$protected {
2939
- protected Dispose2(disposing: boolean): void;
2940
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2941
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2942
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
2943
- protected HashFinal(): byte[];
2944
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2945
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2946
- }
2947
-
2948
-
2949
- export interface MD5CryptoServiceProvider$instance extends MD5CryptoServiceProvider$protected, MD5$instance {
2760
+ export interface MD5CryptoServiceProvider$instance extends MD5$instance {
2761
+ Dispose(disposing: boolean): void;
2950
2762
  Dispose(): void;
2763
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
2764
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2765
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
2766
+ HashFinal(): byte[];
2951
2767
  Initialize(): void;
2952
2768
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
2953
2769
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
2770
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2771
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2954
2772
  }
2955
2773
 
2956
2774
 
@@ -2967,24 +2785,10 @@ export interface __MD5CryptoServiceProvider$views {
2967
2785
  export type MD5CryptoServiceProvider = MD5CryptoServiceProvider$instance & __MD5CryptoServiceProvider$views;
2968
2786
 
2969
2787
 
2970
- export abstract class MLDsa$protected {
2971
- protected Dispose(disposing: boolean): void;
2972
- protected abstract ExportMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
2973
- protected abstract ExportMLDsaPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
2974
- protected abstract ExportMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
2975
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2976
- protected abstract SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2977
- protected abstract SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
2978
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2979
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2980
- protected abstract VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2981
- protected abstract VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2982
- }
2983
-
2984
-
2985
- export interface MLDsa$instance extends MLDsa$protected {
2788
+ export interface MLDsa$instance {
2986
2789
  readonly Algorithm: MLDsaAlgorithm;
2987
2790
  Dispose(): void;
2791
+ Dispose(disposing: boolean): void;
2988
2792
  ExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
2989
2793
  ExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
2990
2794
  ExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
@@ -2993,37 +2797,46 @@ export interface MLDsa$instance extends MLDsa$protected {
2993
2797
  ExportEncryptedPkcs8PrivateKeyPem(password: string, pbeParameters: PbeParameters): string;
2994
2798
  ExportMLDsaPrivateKey(): byte[];
2995
2799
  ExportMLDsaPrivateKey(destination: Span_1<System_Internal.Byte>): void;
2800
+ ExportMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
2996
2801
  ExportMLDsaPrivateSeed(): byte[];
2997
2802
  ExportMLDsaPrivateSeed(destination: Span_1<System_Internal.Byte>): void;
2803
+ ExportMLDsaPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
2998
2804
  ExportMLDsaPublicKey(): byte[];
2999
2805
  ExportMLDsaPublicKey(destination: Span_1<System_Internal.Byte>): void;
2806
+ ExportMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
3000
2807
  ExportPkcs8PrivateKey(): byte[];
3001
2808
  ExportPkcs8PrivateKeyPem(): string;
3002
2809
  ExportSubjectPublicKeyInfo(): byte[];
3003
2810
  ExportSubjectPublicKeyInfoPem(): string;
3004
2811
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
3005
2812
  SignData(data: byte[], context?: byte[]): byte[];
2813
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3006
2814
  SignMu(externalMu: byte[]): byte[];
3007
2815
  SignMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>): byte[];
3008
2816
  SignMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2817
+ SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3009
2818
  SignPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
3010
2819
  SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
2820
+ SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3011
2821
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3012
2822
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3013
2823
  TryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3014
2824
  TryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2825
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3015
2826
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3016
2827
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3017
2828
  VerifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
2829
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3018
2830
  VerifyMu(externalMu: byte[], signature: byte[]): boolean;
3019
2831
  VerifyMu(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2832
+ VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3020
2833
  VerifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3021
2834
  VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
2835
+ VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3022
2836
  }
3023
2837
 
3024
2838
 
3025
- export const MLDsa: {
3026
- new(algorithm: MLDsaAlgorithm): MLDsa;
2839
+ export const MLDsa: (abstract new(algorithm: MLDsaAlgorithm) => MLDsa) & {
3027
2840
  readonly IsSupported: boolean;
3028
2841
  GenerateKey(algorithm: MLDsaAlgorithm): MLDsa;
3029
2842
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): MLDsa;
@@ -3070,7 +2883,6 @@ export interface MLDsaAlgorithm$instance {
3070
2883
 
3071
2884
 
3072
2885
  export const MLDsaAlgorithm: {
3073
- new(): MLDsaAlgorithm;
3074
2886
  readonly MLDsa44: MLDsaAlgorithm;
3075
2887
  readonly MLDsa65: MLDsaAlgorithm;
3076
2888
  readonly MLDsa87: MLDsaAlgorithm;
@@ -3087,34 +2899,20 @@ export interface __MLDsaAlgorithm$views {
3087
2899
  export type MLDsaAlgorithm = MLDsaAlgorithm$instance & __MLDsaAlgorithm$views;
3088
2900
 
3089
2901
 
3090
- export abstract class MLDsaCng$protected {
3091
- protected Dispose2(disposing: boolean): void;
3092
- protected ExportMLDsaPrivateKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3093
- protected abstract ExportMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
3094
- protected ExportMLDsaPrivateSeedCore2(destination: Span_1<System_Internal.Byte>): void;
3095
- protected abstract ExportMLDsaPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3096
- protected ExportMLDsaPublicKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3097
- protected abstract ExportMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
3098
- protected SignDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3099
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3100
- protected SignMuCore2(mu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3101
- protected abstract SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3102
- protected SignPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3103
- protected abstract SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3104
- protected TryExportPkcs8PrivateKeyCore2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3105
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3106
- protected VerifyDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3107
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3108
- protected VerifyMuCore2(mu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3109
- protected abstract VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3110
- protected VerifyPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3111
- protected abstract VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3112
- }
3113
-
3114
-
3115
- export interface MLDsaCng$instance extends MLDsaCng$protected, MLDsa$instance {
2902
+ export interface MLDsaCng$instance extends MLDsa$instance {
3116
2903
  Dispose(): void;
2904
+ Dispose(disposing: boolean): void;
2905
+ ExportMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
2906
+ ExportMLDsaPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
2907
+ ExportMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
3117
2908
  GetKey(): CngKey;
2909
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2910
+ SignMuCore(mu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2911
+ SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
2912
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2913
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2914
+ VerifyMuCore(mu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2915
+ VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3118
2916
  }
3119
2917
 
3120
2918
 
@@ -3130,34 +2928,20 @@ export interface __MLDsaCng$views {
3130
2928
  export type MLDsaCng = MLDsaCng$instance & __MLDsaCng$views;
3131
2929
 
3132
2930
 
3133
- export abstract class MLDsaOpenSsl$protected {
3134
- protected Dispose2(disposing: boolean): void;
3135
- protected ExportMLDsaPrivateKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3136
- protected abstract ExportMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
3137
- protected ExportMLDsaPrivateSeedCore2(destination: Span_1<System_Internal.Byte>): void;
3138
- protected abstract ExportMLDsaPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3139
- protected ExportMLDsaPublicKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3140
- protected abstract ExportMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
3141
- protected SignDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3142
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3143
- protected SignMuCore2(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3144
- protected abstract SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
3145
- protected SignPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3146
- protected abstract SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
3147
- protected TryExportPkcs8PrivateKeyCore2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3148
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3149
- protected VerifyDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3150
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3151
- protected VerifyMuCore2(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3152
- protected abstract VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3153
- protected VerifyPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3154
- protected abstract VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3155
- }
3156
-
3157
-
3158
- export interface MLDsaOpenSsl$instance extends MLDsaOpenSsl$protected, MLDsa$instance {
2931
+ export interface MLDsaOpenSsl$instance extends MLDsa$instance {
2932
+ Dispose(disposing: boolean): void;
3159
2933
  Dispose(): void;
3160
2934
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
2935
+ ExportMLDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
2936
+ ExportMLDsaPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
2937
+ ExportMLDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
2938
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2939
+ SignMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
2940
+ SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
2941
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2942
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2943
+ VerifyMuCore(externalMu: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
2944
+ VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
3161
2945
  }
3162
2946
 
3163
2947
 
@@ -3173,28 +2957,22 @@ export interface __MLDsaOpenSsl$views {
3173
2957
  export type MLDsaOpenSsl = MLDsaOpenSsl$instance & __MLDsaOpenSsl$views;
3174
2958
 
3175
2959
 
3176
- export abstract class MLKem$protected {
3177
- protected abstract DecapsulateCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3178
- protected Dispose(disposing: boolean): void;
3179
- protected abstract EncapsulateCore(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3180
- protected abstract ExportDecapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3181
- protected abstract ExportEncapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3182
- protected abstract ExportPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3183
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3184
- }
3185
-
3186
-
3187
- export interface MLKem$instance extends MLKem$protected {
2960
+ export interface MLKem$instance {
3188
2961
  readonly Algorithm: MLKemAlgorithm;
3189
2962
  Decapsulate(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3190
2963
  Decapsulate(ciphertext: byte[]): byte[];
2964
+ DecapsulateCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3191
2965
  Dispose(): void;
2966
+ Dispose(disposing: boolean): void;
3192
2967
  Encapsulate(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3193
2968
  Encapsulate(ciphertext: byte[], sharedSecret: byte[]): void;
2969
+ EncapsulateCore(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3194
2970
  ExportDecapsulationKey(destination: Span_1<System_Internal.Byte>): void;
3195
2971
  ExportDecapsulationKey(): byte[];
2972
+ ExportDecapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3196
2973
  ExportEncapsulationKey(destination: Span_1<System_Internal.Byte>): void;
3197
2974
  ExportEncapsulationKey(): byte[];
2975
+ ExportEncapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3198
2976
  ExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
3199
2977
  ExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
3200
2978
  ExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
@@ -3205,18 +2983,19 @@ export interface MLKem$instance extends MLKem$protected {
3205
2983
  ExportPkcs8PrivateKeyPem(): string;
3206
2984
  ExportPrivateSeed(destination: Span_1<System_Internal.Byte>): void;
3207
2985
  ExportPrivateSeed(): byte[];
2986
+ ExportPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3208
2987
  ExportSubjectPublicKeyInfo(): byte[];
3209
2988
  ExportSubjectPublicKeyInfoPem(): string;
3210
2989
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3211
2990
  TryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3212
2991
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3213
2992
  TryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
2993
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3214
2994
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3215
2995
  }
3216
2996
 
3217
2997
 
3218
- export const MLKem: {
3219
- new(algorithm: MLKemAlgorithm): MLKem;
2998
+ export const MLKem: (abstract new(algorithm: MLKemAlgorithm) => MLKem) & {
3220
2999
  readonly IsSupported: boolean;
3221
3000
  GenerateKey(algorithm: MLKemAlgorithm): MLKem;
3222
3001
  ImportDecapsulationKey(algorithm: MLKemAlgorithm, source: byte[]): MLKem;
@@ -3263,7 +3042,6 @@ export interface MLKemAlgorithm$instance {
3263
3042
 
3264
3043
 
3265
3044
  export const MLKemAlgorithm: {
3266
- new(): MLKemAlgorithm;
3267
3045
  readonly MLKem512: MLKemAlgorithm;
3268
3046
  readonly MLKem768: MLKemAlgorithm;
3269
3047
  readonly MLKem1024: MLKemAlgorithm;
@@ -3280,26 +3058,16 @@ export interface __MLKemAlgorithm$views {
3280
3058
  export type MLKemAlgorithm = MLKemAlgorithm$instance & __MLKemAlgorithm$views;
3281
3059
 
3282
3060
 
3283
- export abstract class MLKemCng$protected {
3284
- protected DecapsulateCore2(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3285
- protected abstract DecapsulateCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3286
- protected Dispose2(disposing: boolean): void;
3287
- protected EncapsulateCore2(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3288
- protected abstract EncapsulateCore(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3289
- protected ExportDecapsulationKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3290
- protected abstract ExportDecapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3291
- protected ExportEncapsulationKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3292
- protected abstract ExportEncapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3293
- protected ExportPrivateSeedCore2(destination: Span_1<System_Internal.Byte>): void;
3294
- protected abstract ExportPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3295
- protected TryExportPkcs8PrivateKeyCore2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3296
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3297
- }
3298
-
3299
-
3300
- export interface MLKemCng$instance extends MLKemCng$protected, MLKem$instance {
3061
+ export interface MLKemCng$instance extends MLKem$instance {
3062
+ DecapsulateCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3301
3063
  Dispose(): void;
3064
+ Dispose(disposing: boolean): void;
3065
+ EncapsulateCore(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3066
+ ExportDecapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3067
+ ExportEncapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3068
+ ExportPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3302
3069
  GetKey(): CngKey;
3070
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3303
3071
  }
3304
3072
 
3305
3073
 
@@ -3315,26 +3083,16 @@ export interface __MLKemCng$views {
3315
3083
  export type MLKemCng = MLKemCng$instance & __MLKemCng$views;
3316
3084
 
3317
3085
 
3318
- export abstract class MLKemOpenSsl$protected {
3319
- protected DecapsulateCore2(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3320
- protected abstract DecapsulateCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3321
- protected Dispose2(disposing: boolean): void;
3322
- protected EncapsulateCore2(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3323
- protected abstract EncapsulateCore(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3324
- protected ExportDecapsulationKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3325
- protected abstract ExportDecapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3326
- protected ExportEncapsulationKeyCore2(destination: Span_1<System_Internal.Byte>): void;
3327
- protected abstract ExportEncapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3328
- protected ExportPrivateSeedCore2(destination: Span_1<System_Internal.Byte>): void;
3329
- protected abstract ExportPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3330
- protected TryExportPkcs8PrivateKeyCore2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3331
- protected abstract TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3332
- }
3333
-
3334
-
3335
- export interface MLKemOpenSsl$instance extends MLKemOpenSsl$protected, MLKem$instance {
3086
+ export interface MLKemOpenSsl$instance extends MLKem$instance {
3087
+ DecapsulateCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3088
+ Dispose(disposing: boolean): void;
3336
3089
  Dispose(): void;
3337
3090
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
3091
+ EncapsulateCore(ciphertext: Span_1<System_Internal.Byte>, sharedSecret: Span_1<System_Internal.Byte>): void;
3092
+ ExportDecapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3093
+ ExportEncapsulationKeyCore(destination: Span_1<System_Internal.Byte>): void;
3094
+ ExportPrivateSeedCore(destination: Span_1<System_Internal.Byte>): void;
3095
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3338
3096
  }
3339
3097
 
3340
3098
 
@@ -3351,8 +3109,10 @@ export type MLKemOpenSsl = MLKemOpenSsl$instance & __MLKemOpenSsl$views;
3351
3109
 
3352
3110
 
3353
3111
  export interface Oid$instance {
3354
- FriendlyName: string;
3355
- Value: string;
3112
+ get FriendlyName(): string | undefined;
3113
+ set FriendlyName(value: string | undefined);
3114
+ get Value(): string | undefined;
3115
+ set Value(value: string | undefined);
3356
3116
  }
3357
3117
 
3358
3118
 
@@ -3375,7 +3135,7 @@ export interface OidCollection$instance {
3375
3135
  Add(oid: Oid): int;
3376
3136
  CopyTo(array: Oid[], index: int): void;
3377
3137
  get_Item(index: int): Oid;
3378
- get_Item(oid: string): Oid;
3138
+ get_Item(oid: string): Oid | undefined;
3379
3139
  GetEnumerator(): OidEnumerator;
3380
3140
  }
3381
3141
 
@@ -3401,7 +3161,6 @@ export interface OidEnumerator$instance {
3401
3161
 
3402
3162
 
3403
3163
  export const OidEnumerator: {
3404
- new(): OidEnumerator;
3405
3164
  };
3406
3165
 
3407
3166
 
@@ -3412,16 +3171,13 @@ export interface __OidEnumerator$views {
3412
3171
  export type OidEnumerator = OidEnumerator$instance & __OidEnumerator$views;
3413
3172
 
3414
3173
 
3415
- export abstract class PasswordDeriveBytes$protected {
3416
- protected Dispose2(disposing: boolean): void;
3417
- }
3418
-
3419
-
3420
- export interface PasswordDeriveBytes$instance extends PasswordDeriveBytes$protected, DeriveBytes$instance {
3174
+ export interface PasswordDeriveBytes$instance extends DeriveBytes$instance {
3421
3175
  HashName: string;
3422
3176
  IterationCount: int;
3423
- Salt: byte[];
3177
+ get Salt(): byte[] | undefined;
3178
+ set Salt(value: byte[] | undefined);
3424
3179
  CryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
3180
+ Dispose(disposing: boolean): void;
3425
3181
  Dispose(): void;
3426
3182
  GetBytes(cb: int): byte[];
3427
3183
  Reset(): void;
@@ -3474,13 +3230,9 @@ export const PKCS1MaskGenerationMethod: {
3474
3230
 
3475
3231
  export type PKCS1MaskGenerationMethod = PKCS1MaskGenerationMethod$instance;
3476
3232
 
3477
- export abstract class RandomNumberGenerator$protected {
3478
- protected Dispose(disposing: boolean): void;
3479
- }
3480
-
3481
-
3482
- export interface RandomNumberGenerator$instance extends RandomNumberGenerator$protected {
3233
+ export interface RandomNumberGenerator$instance {
3483
3234
  Dispose(): void;
3235
+ Dispose(disposing: boolean): void;
3484
3236
  GetBytes(data: byte[]): void;
3485
3237
  GetBytes(data: byte[], offset: int, count: int): void;
3486
3238
  GetBytes(data: Span_1<System_Internal.Byte>): void;
@@ -3489,8 +3241,7 @@ export interface RandomNumberGenerator$instance extends RandomNumberGenerator$pr
3489
3241
  }
3490
3242
 
3491
3243
 
3492
- export const RandomNumberGenerator: {
3493
- new(): RandomNumberGenerator;
3244
+ export const RandomNumberGenerator: (abstract new() => RandomNumberGenerator) & {
3494
3245
  Create(): RandomNumberGenerator;
3495
3246
  Create(rngName: string): RandomNumberGenerator | undefined;
3496
3247
  Fill(data: Span_1<System_Internal.Byte>): void;
@@ -3513,20 +3264,15 @@ export interface __RandomNumberGenerator$views {
3513
3264
  export type RandomNumberGenerator = RandomNumberGenerator$instance & __RandomNumberGenerator$views;
3514
3265
 
3515
3266
 
3516
- export abstract class RC2$protected {
3517
- protected Dispose2(disposing: boolean): void;
3518
- }
3519
-
3520
-
3521
- export interface RC2$instance extends RC2$protected, SymmetricAlgorithm$instance {
3267
+ export interface RC2$instance extends SymmetricAlgorithm$instance {
3522
3268
  EffectiveKeySize: int;
3523
3269
  KeySize: int;
3524
3270
  Dispose(): void;
3271
+ Dispose(disposing: boolean): void;
3525
3272
  }
3526
3273
 
3527
3274
 
3528
- export const RC2: {
3529
- new(): RC2;
3275
+ export const RC2: (abstract new() => RC2) & {
3530
3276
  };
3531
3277
 
3532
3278
 
@@ -3537,14 +3283,7 @@ export interface __RC2$views {
3537
3283
  export type RC2 = RC2$instance & __RC2$views;
3538
3284
 
3539
3285
 
3540
- export abstract class RC2CryptoServiceProvider$protected {
3541
- protected Dispose2(disposing: boolean): void;
3542
- protected SetKeyCore2(key: ReadOnlySpan_1<System_Internal.Byte>): void;
3543
- protected SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
3544
- }
3545
-
3546
-
3547
- export interface RC2CryptoServiceProvider$instance extends RC2CryptoServiceProvider$protected, RC2$instance {
3286
+ export interface RC2CryptoServiceProvider$instance extends RC2$instance {
3548
3287
  BlockSize: int;
3549
3288
  EffectiveKeySize: int;
3550
3289
  FeedbackSize: int;
@@ -3560,9 +3299,12 @@ export interface RC2CryptoServiceProvider$instance extends RC2CryptoServiceProvi
3560
3299
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3561
3300
  CreateEncryptor(): ICryptoTransform;
3562
3301
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3302
+ Dispose(disposing: boolean): void;
3563
3303
  Dispose(): void;
3564
3304
  GenerateIV(): void;
3565
3305
  GenerateKey(): void;
3306
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
3307
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
3566
3308
  }
3567
3309
 
3568
3310
 
@@ -3578,16 +3320,12 @@ export interface __RC2CryptoServiceProvider$views {
3578
3320
  export type RC2CryptoServiceProvider = RC2CryptoServiceProvider$instance & __RC2CryptoServiceProvider$views;
3579
3321
 
3580
3322
 
3581
- export abstract class Rfc2898DeriveBytes$protected {
3582
- protected Dispose2(disposing: boolean): void;
3583
- }
3584
-
3585
-
3586
- export interface Rfc2898DeriveBytes$instance extends Rfc2898DeriveBytes$protected, DeriveBytes$instance {
3323
+ export interface Rfc2898DeriveBytes$instance extends DeriveBytes$instance {
3587
3324
  readonly HashAlgorithm: HashAlgorithmName;
3588
3325
  IterationCount: int;
3589
3326
  Salt: byte[];
3590
3327
  CryptDeriveKey(algname: string, alghashname: string, keySize: int, rgbIV: byte[]): byte[];
3328
+ Dispose(disposing: boolean): void;
3591
3329
  Dispose(): void;
3592
3330
  GetBytes(cb: int): byte[];
3593
3331
  Reset(): void;
@@ -3619,18 +3357,13 @@ export interface __Rfc2898DeriveBytes$views {
3619
3357
  export type Rfc2898DeriveBytes = Rfc2898DeriveBytes$instance & __Rfc2898DeriveBytes$views;
3620
3358
 
3621
3359
 
3622
- export abstract class Rijndael$protected {
3623
- protected Dispose2(disposing: boolean): void;
3624
- }
3625
-
3626
-
3627
- export interface Rijndael$instance extends Rijndael$protected, SymmetricAlgorithm$instance {
3360
+ export interface Rijndael$instance extends SymmetricAlgorithm$instance {
3628
3361
  Dispose(): void;
3362
+ Dispose(disposing: boolean): void;
3629
3363
  }
3630
3364
 
3631
3365
 
3632
- export const Rijndael: {
3633
- new(): Rijndael;
3366
+ export const Rijndael: (abstract new() => Rijndael) & {
3634
3367
  };
3635
3368
 
3636
3369
 
@@ -3641,12 +3374,7 @@ export interface __Rijndael$views {
3641
3374
  export type Rijndael = Rijndael$instance & __Rijndael$views;
3642
3375
 
3643
3376
 
3644
- export abstract class RijndaelManaged$protected {
3645
- protected Dispose2(disposing: boolean): void;
3646
- }
3647
-
3648
-
3649
- export interface RijndaelManaged$instance extends RijndaelManaged$protected, Rijndael$instance {
3377
+ export interface RijndaelManaged$instance extends Rijndael$instance {
3650
3378
  BlockSize: int;
3651
3379
  FeedbackSize: int;
3652
3380
  IV: byte[];
@@ -3659,6 +3387,7 @@ export interface RijndaelManaged$instance extends RijndaelManaged$protected, Rij
3659
3387
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3660
3388
  CreateEncryptor(): ICryptoTransform;
3661
3389
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
3390
+ Dispose(disposing: boolean): void;
3662
3391
  Dispose(): void;
3663
3392
  GenerateIV(): void;
3664
3393
  GenerateKey(): void;
@@ -3677,12 +3406,8 @@ export interface __RijndaelManaged$views {
3677
3406
  export type RijndaelManaged = RijndaelManaged$instance & __RijndaelManaged$views;
3678
3407
 
3679
3408
 
3680
- export abstract class RNGCryptoServiceProvider$protected {
3681
- protected Dispose2(disposing: boolean): void;
3682
- }
3683
-
3684
-
3685
- export interface RNGCryptoServiceProvider$instance extends RNGCryptoServiceProvider$protected, RandomNumberGenerator$instance {
3409
+ export interface RNGCryptoServiceProvider$instance extends RandomNumberGenerator$instance {
3410
+ Dispose(disposing: boolean): void;
3686
3411
  Dispose(): void;
3687
3412
  GetBytes(data: byte[]): void;
3688
3413
  GetBytes(data: byte[], offset: int, count: int): void;
@@ -3709,22 +3434,15 @@ export interface __RNGCryptoServiceProvider$views {
3709
3434
  export type RNGCryptoServiceProvider = RNGCryptoServiceProvider$instance & __RNGCryptoServiceProvider$views;
3710
3435
 
3711
3436
 
3712
- export abstract class RSA$protected {
3713
- protected Dispose2(disposing: boolean): void;
3714
- protected HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
3715
- protected HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
3716
- protected TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
3717
- }
3718
-
3719
-
3720
- export interface RSA$instance extends RSA$protected, AsymmetricAlgorithm$instance {
3437
+ export interface RSA$instance extends AsymmetricAlgorithm$instance {
3721
3438
  readonly KeyExchangeAlgorithm: string | undefined;
3722
- readonly SignatureAlgorithm: string;
3439
+ readonly SignatureAlgorithm: string | string | undefined;
3723
3440
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3724
3441
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
3725
3442
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
3726
3443
  DecryptValue(rgb: byte[]): byte[];
3727
3444
  Dispose(): void;
3445
+ Dispose(disposing: boolean): void;
3728
3446
  Encrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3729
3447
  Encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
3730
3448
  Encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
@@ -3736,6 +3454,8 @@ export interface RSA$instance extends RSA$protected, AsymmetricAlgorithm$instanc
3736
3454
  ExportRSAPublicKeyPem(): string;
3737
3455
  FromXmlString(xmlString: string): void;
3738
3456
  GetMaxOutputSize(): int;
3457
+ HashData(data: byte[], offset: int, count: int, hashAlgorithm: HashAlgorithmName): byte[];
3458
+ HashData(data: Stream, hashAlgorithm: HashAlgorithmName): byte[];
3739
3459
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
3740
3460
  ImportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
3741
3461
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): void;
@@ -3773,6 +3493,7 @@ export interface RSA$instance extends RSA$protected, AsymmetricAlgorithm$instanc
3773
3493
  TryExportRSAPublicKeyPem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
3774
3494
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3775
3495
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3496
+ TryHashData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, bytesWritten: int): boolean;
3776
3497
  TrySignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
3777
3498
  TrySignHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding, bytesWritten: int): boolean;
3778
3499
  VerifyData(data: byte[], signature: byte[], hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): boolean;
@@ -3784,8 +3505,7 @@ export interface RSA$instance extends RSA$protected, AsymmetricAlgorithm$instanc
3784
3505
  }
3785
3506
 
3786
3507
 
3787
- export const RSA: {
3788
- new(): RSA;
3508
+ export const RSA: (abstract new() => RSA) & {
3789
3509
  Create(parameters: RSAParameters): RSA;
3790
3510
  Create(algName: string): RSA | undefined;
3791
3511
  };
@@ -3798,14 +3518,10 @@ export interface __RSA$views {
3798
3518
  export type RSA = RSA$instance & __RSA$views;
3799
3519
 
3800
3520
 
3801
- export abstract class RSACng$protected {
3802
- protected Dispose3(disposing: boolean): void;
3803
- }
3804
-
3805
-
3806
- export interface RSACng$instance extends RSACng$protected, RSA$instance {
3521
+ export interface RSACng$instance extends RSA$instance {
3807
3522
  readonly Key: CngKey;
3808
3523
  Dispose(): void;
3524
+ Dispose(disposing: boolean): void;
3809
3525
  ExportParameters(includePrivateParameters: boolean): RSAParameters;
3810
3526
  ImportParameters(parameters: RSAParameters): void;
3811
3527
  }
@@ -3825,22 +3541,18 @@ export interface __RSACng$views {
3825
3541
  export type RSACng = RSACng$instance & __RSACng$views;
3826
3542
 
3827
3543
 
3828
- export abstract class RSACryptoServiceProvider$protected {
3829
- protected Dispose2(disposing: boolean): void;
3830
- }
3831
-
3832
-
3833
- export interface RSACryptoServiceProvider$instance extends RSACryptoServiceProvider$protected, RSA$instance {
3544
+ export interface RSACryptoServiceProvider$instance extends RSA$instance {
3834
3545
  readonly CspKeyContainerInfo: CspKeyContainerInfo;
3835
3546
  readonly KeyExchangeAlgorithm: string | undefined;
3836
3547
  KeySize: int;
3837
3548
  readonly LegalKeySizes: KeySizes[];
3838
3549
  PersistKeyInCsp: boolean;
3839
3550
  readonly PublicOnly: boolean;
3840
- readonly SignatureAlgorithm: string;
3551
+ readonly SignatureAlgorithm: string | string | undefined;
3841
3552
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3842
3553
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
3843
3554
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
3555
+ Dispose(disposing: boolean): void;
3844
3556
  Dispose(): void;
3845
3557
  Encrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3846
3558
  Encrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
@@ -3912,7 +3624,6 @@ export interface RSAEncryptionPadding$instance {
3912
3624
 
3913
3625
 
3914
3626
  export const RSAEncryptionPadding: {
3915
- new(): RSAEncryptionPadding;
3916
3627
  readonly Pkcs1: RSAEncryptionPadding;
3917
3628
  readonly OaepSHA1: RSAEncryptionPadding;
3918
3629
  readonly OaepSHA256: RSAEncryptionPadding;
@@ -3936,7 +3647,8 @@ export type RSAEncryptionPadding = RSAEncryptionPadding$instance & __RSAEncrypti
3936
3647
 
3937
3648
 
3938
3649
  export interface RSAOAEPKeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
3939
- Parameters: string;
3650
+ get Parameters(): string | undefined;
3651
+ set Parameters(value: string | undefined);
3940
3652
  DecryptKeyExchange(rgbData: byte[]): byte[];
3941
3653
  SetKey(key: AsymmetricAlgorithm): void;
3942
3654
  }
@@ -3952,10 +3664,10 @@ export type RSAOAEPKeyExchangeDeformatter = RSAOAEPKeyExchangeDeformatter$instan
3952
3664
 
3953
3665
  export interface RSAOAEPKeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
3954
3666
  get Parameter(): byte[] | undefined;
3955
- set Parameter(value: byte[]);
3956
- readonly Parameters: string;
3667
+ set Parameter(value: byte[] | undefined);
3668
+ readonly Parameters: string | undefined;
3957
3669
  get Rng(): RandomNumberGenerator | undefined;
3958
- set Rng(value: RandomNumberGenerator);
3670
+ set Rng(value: RandomNumberGenerator | undefined);
3959
3671
  CreateKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
3960
3672
  CreateKeyExchange(rgbData: byte[]): byte[];
3961
3673
  SetKey(key: AsymmetricAlgorithm): void;
@@ -3970,17 +3682,13 @@ export const RSAOAEPKeyExchangeFormatter: {
3970
3682
 
3971
3683
  export type RSAOAEPKeyExchangeFormatter = RSAOAEPKeyExchangeFormatter$instance;
3972
3684
 
3973
- export abstract class RSAOpenSsl$protected {
3974
- protected Dispose2(disposing: boolean): void;
3975
- }
3976
-
3977
-
3978
- export interface RSAOpenSsl$instance extends RSAOpenSsl$protected, RSA$instance {
3685
+ export interface RSAOpenSsl$instance extends RSA$instance {
3979
3686
  KeySize: int;
3980
3687
  readonly LegalKeySizes: KeySizes[];
3981
3688
  Decrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
3982
3689
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, padding: RSAEncryptionPadding): byte[];
3983
3690
  Decrypt(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, padding: RSAEncryptionPadding): int;
3691
+ Dispose(disposing: boolean): void;
3984
3692
  Dispose(): void;
3985
3693
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
3986
3694
  Encrypt(data: byte[], padding: RSAEncryptionPadding): byte[];
@@ -4043,9 +3751,10 @@ export type RSAOpenSsl = RSAOpenSsl$instance & __RSAOpenSsl$views;
4043
3751
 
4044
3752
 
4045
3753
  export interface RSAPKCS1KeyExchangeDeformatter$instance extends AsymmetricKeyExchangeDeformatter {
4046
- Parameters: string;
3754
+ get Parameters(): string | undefined;
3755
+ set Parameters(value: string | undefined);
4047
3756
  get RNG(): RandomNumberGenerator | undefined;
4048
- set RNG(value: RandomNumberGenerator);
3757
+ set RNG(value: RandomNumberGenerator | undefined);
4049
3758
  DecryptKeyExchange(rgbIn: byte[]): byte[];
4050
3759
  SetKey(key: AsymmetricAlgorithm): void;
4051
3760
  }
@@ -4060,9 +3769,9 @@ export const RSAPKCS1KeyExchangeDeformatter: {
4060
3769
  export type RSAPKCS1KeyExchangeDeformatter = RSAPKCS1KeyExchangeDeformatter$instance;
4061
3770
 
4062
3771
  export interface RSAPKCS1KeyExchangeFormatter$instance extends AsymmetricKeyExchangeFormatter {
4063
- readonly Parameters: string;
3772
+ readonly Parameters: string | string | undefined;
4064
3773
  get Rng(): RandomNumberGenerator | undefined;
4065
- set Rng(value: RandomNumberGenerator);
3774
+ set Rng(value: RandomNumberGenerator | undefined);
4066
3775
  CreateKeyExchange(rgbData: byte[], symAlgType: Type): byte[];
4067
3776
  CreateKeyExchange(rgbData: byte[]): byte[];
4068
3777
  SetKey(key: AsymmetricAlgorithm): void;
@@ -4119,7 +3828,6 @@ export interface RSASignaturePadding$instance {
4119
3828
 
4120
3829
 
4121
3830
  export const RSASignaturePadding: {
4122
- new(): RSASignaturePadding;
4123
3831
  readonly Pkcs1: RSASignaturePadding;
4124
3832
  readonly Pss: RSASignaturePadding;
4125
3833
  };
@@ -4135,16 +3843,12 @@ export interface __RSASignaturePadding$views {
4135
3843
  export type RSASignaturePadding = RSASignaturePadding$instance & __RSASignaturePadding$views;
4136
3844
 
4137
3845
 
4138
- export abstract class SafeEvpPKeyHandle$protected {
4139
- protected Dispose2(disposing: boolean): void;
4140
- protected ReleaseHandle(): boolean;
4141
- }
4142
-
4143
-
4144
- export interface SafeEvpPKeyHandle$instance extends SafeEvpPKeyHandle$protected, SafeHandle {
3846
+ export interface SafeEvpPKeyHandle$instance extends SafeHandle {
4145
3847
  readonly IsInvalid: boolean;
4146
3848
  Dispose(): void;
3849
+ Dispose(disposing: boolean): void;
4147
3850
  DuplicateHandle(): SafeEvpPKeyHandle;
3851
+ ReleaseHandle(): boolean;
4148
3852
  }
4149
3853
 
4150
3854
 
@@ -4165,20 +3869,15 @@ export interface __SafeEvpPKeyHandle$views {
4165
3869
  export type SafeEvpPKeyHandle = SafeEvpPKeyHandle$instance & __SafeEvpPKeyHandle$views;
4166
3870
 
4167
3871
 
4168
- export abstract class SHA1$protected {
4169
- protected Dispose2(disposing: boolean): void;
4170
- }
4171
-
4172
-
4173
- export interface SHA1$instance extends SHA1$protected, HashAlgorithm$instance {
3872
+ export interface SHA1$instance extends HashAlgorithm$instance {
4174
3873
  Dispose(): void;
3874
+ Dispose(disposing: boolean): void;
4175
3875
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4176
3876
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4177
3877
  }
4178
3878
 
4179
3879
 
4180
- export const SHA1: {
4181
- new(): SHA1;
3880
+ export const SHA1: (abstract new() => SHA1) & {
4182
3881
  readonly HashSizeInBits: int;
4183
3882
  readonly HashSizeInBytes: int;
4184
3883
  HashData(source: byte[]): byte[];
@@ -4200,22 +3899,18 @@ export interface __SHA1$views {
4200
3899
  export type SHA1 = SHA1$instance & __SHA1$views;
4201
3900
 
4202
3901
 
4203
- export abstract class SHA1CryptoServiceProvider$protected {
4204
- protected Dispose2(disposing: boolean): void;
4205
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4206
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4207
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4208
- protected HashFinal(): byte[];
4209
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4210
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4211
- }
4212
-
4213
-
4214
- export interface SHA1CryptoServiceProvider$instance extends SHA1CryptoServiceProvider$protected, SHA1$instance {
3902
+ export interface SHA1CryptoServiceProvider$instance extends SHA1$instance {
3903
+ Dispose(disposing: boolean): void;
4215
3904
  Dispose(): void;
3905
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
3906
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
3907
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
3908
+ HashFinal(): byte[];
4216
3909
  Initialize(): void;
4217
3910
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4218
3911
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3912
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3913
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4219
3914
  }
4220
3915
 
4221
3916
 
@@ -4232,22 +3927,18 @@ export interface __SHA1CryptoServiceProvider$views {
4232
3927
  export type SHA1CryptoServiceProvider = SHA1CryptoServiceProvider$instance & __SHA1CryptoServiceProvider$views;
4233
3928
 
4234
3929
 
4235
- export abstract class SHA1Managed$protected {
4236
- protected Dispose2(disposing: boolean): void;
4237
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4238
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4239
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4240
- protected HashFinal(): byte[];
4241
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4242
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4243
- }
4244
-
4245
-
4246
- export interface SHA1Managed$instance extends SHA1Managed$protected, SHA1$instance {
3930
+ export interface SHA1Managed$instance extends SHA1$instance {
3931
+ Dispose(disposing: boolean): void;
4247
3932
  Dispose(): void;
3933
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
3934
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
3935
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
3936
+ HashFinal(): byte[];
4248
3937
  Initialize(): void;
4249
3938
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4250
3939
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3940
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3941
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4251
3942
  }
4252
3943
 
4253
3944
 
@@ -4264,20 +3955,15 @@ export interface __SHA1Managed$views {
4264
3955
  export type SHA1Managed = SHA1Managed$instance & __SHA1Managed$views;
4265
3956
 
4266
3957
 
4267
- export abstract class SHA256$protected {
4268
- protected Dispose2(disposing: boolean): void;
4269
- }
4270
-
4271
-
4272
- export interface SHA256$instance extends SHA256$protected, HashAlgorithm$instance {
3958
+ export interface SHA256$instance extends HashAlgorithm$instance {
4273
3959
  Dispose(): void;
3960
+ Dispose(disposing: boolean): void;
4274
3961
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4275
3962
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4276
3963
  }
4277
3964
 
4278
3965
 
4279
- export const SHA256: {
4280
- new(): SHA256;
3966
+ export const SHA256: (abstract new() => SHA256) & {
4281
3967
  readonly HashSizeInBits: int;
4282
3968
  readonly HashSizeInBytes: int;
4283
3969
  HashData(source: byte[]): byte[];
@@ -4299,22 +3985,18 @@ export interface __SHA256$views {
4299
3985
  export type SHA256 = SHA256$instance & __SHA256$views;
4300
3986
 
4301
3987
 
4302
- export abstract class SHA256CryptoServiceProvider$protected {
4303
- protected Dispose2(disposing: boolean): void;
4304
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4305
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4306
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4307
- protected HashFinal(): byte[];
4308
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4309
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4310
- }
4311
-
4312
-
4313
- export interface SHA256CryptoServiceProvider$instance extends SHA256CryptoServiceProvider$protected, SHA256$instance {
3988
+ export interface SHA256CryptoServiceProvider$instance extends SHA256$instance {
3989
+ Dispose(disposing: boolean): void;
4314
3990
  Dispose(): void;
3991
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
3992
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
3993
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
3994
+ HashFinal(): byte[];
4315
3995
  Initialize(): void;
4316
3996
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4317
3997
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
3998
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
3999
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4318
4000
  }
4319
4001
 
4320
4002
 
@@ -4331,22 +4013,18 @@ export interface __SHA256CryptoServiceProvider$views {
4331
4013
  export type SHA256CryptoServiceProvider = SHA256CryptoServiceProvider$instance & __SHA256CryptoServiceProvider$views;
4332
4014
 
4333
4015
 
4334
- export abstract class SHA256Managed$protected {
4335
- protected Dispose2(disposing: boolean): void;
4336
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4337
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4338
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4339
- protected HashFinal(): byte[];
4340
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4341
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4342
- }
4343
-
4344
-
4345
- export interface SHA256Managed$instance extends SHA256Managed$protected, SHA256$instance {
4016
+ export interface SHA256Managed$instance extends SHA256$instance {
4017
+ Dispose(disposing: boolean): void;
4346
4018
  Dispose(): void;
4019
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
4020
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4021
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4022
+ HashFinal(): byte[];
4347
4023
  Initialize(): void;
4348
4024
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4349
4025
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4026
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4027
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4350
4028
  }
4351
4029
 
4352
4030
 
@@ -4363,20 +4041,15 @@ export interface __SHA256Managed$views {
4363
4041
  export type SHA256Managed = SHA256Managed$instance & __SHA256Managed$views;
4364
4042
 
4365
4043
 
4366
- export abstract class SHA3_256$protected {
4367
- protected Dispose2(disposing: boolean): void;
4368
- }
4369
-
4370
-
4371
- export interface SHA3_256$instance extends SHA3_256$protected, HashAlgorithm$instance {
4044
+ export interface SHA3_256$instance extends HashAlgorithm$instance {
4372
4045
  Dispose(): void;
4046
+ Dispose(disposing: boolean): void;
4373
4047
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4374
4048
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4375
4049
  }
4376
4050
 
4377
4051
 
4378
- export const SHA3_256: {
4379
- new(): SHA3_256;
4052
+ export const SHA3_256: (abstract new() => SHA3_256) & {
4380
4053
  readonly HashSizeInBits: int;
4381
4054
  readonly HashSizeInBytes: int;
4382
4055
  readonly IsSupported: boolean;
@@ -4399,20 +4072,15 @@ export interface __SHA3_256$views {
4399
4072
  export type SHA3_256 = SHA3_256$instance & __SHA3_256$views;
4400
4073
 
4401
4074
 
4402
- export abstract class SHA3_384$protected {
4403
- protected Dispose2(disposing: boolean): void;
4404
- }
4405
-
4406
-
4407
- export interface SHA3_384$instance extends SHA3_384$protected, HashAlgorithm$instance {
4075
+ export interface SHA3_384$instance extends HashAlgorithm$instance {
4408
4076
  Dispose(): void;
4077
+ Dispose(disposing: boolean): void;
4409
4078
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4410
4079
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4411
4080
  }
4412
4081
 
4413
4082
 
4414
- export const SHA3_384: {
4415
- new(): SHA3_384;
4083
+ export const SHA3_384: (abstract new() => SHA3_384) & {
4416
4084
  readonly HashSizeInBits: int;
4417
4085
  readonly HashSizeInBytes: int;
4418
4086
  readonly IsSupported: boolean;
@@ -4435,20 +4103,15 @@ export interface __SHA3_384$views {
4435
4103
  export type SHA3_384 = SHA3_384$instance & __SHA3_384$views;
4436
4104
 
4437
4105
 
4438
- export abstract class SHA3_512$protected {
4439
- protected Dispose2(disposing: boolean): void;
4440
- }
4441
-
4442
-
4443
- export interface SHA3_512$instance extends SHA3_512$protected, HashAlgorithm$instance {
4106
+ export interface SHA3_512$instance extends HashAlgorithm$instance {
4444
4107
  Dispose(): void;
4108
+ Dispose(disposing: boolean): void;
4445
4109
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4446
4110
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4447
4111
  }
4448
4112
 
4449
4113
 
4450
- export const SHA3_512: {
4451
- new(): SHA3_512;
4114
+ export const SHA3_512: (abstract new() => SHA3_512) & {
4452
4115
  readonly HashSizeInBits: int;
4453
4116
  readonly HashSizeInBytes: int;
4454
4117
  readonly IsSupported: boolean;
@@ -4471,20 +4134,15 @@ export interface __SHA3_512$views {
4471
4134
  export type SHA3_512 = SHA3_512$instance & __SHA3_512$views;
4472
4135
 
4473
4136
 
4474
- export abstract class SHA384$protected {
4475
- protected Dispose2(disposing: boolean): void;
4476
- }
4477
-
4478
-
4479
- export interface SHA384$instance extends SHA384$protected, HashAlgorithm$instance {
4137
+ export interface SHA384$instance extends HashAlgorithm$instance {
4480
4138
  Dispose(): void;
4139
+ Dispose(disposing: boolean): void;
4481
4140
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4482
4141
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4483
4142
  }
4484
4143
 
4485
4144
 
4486
- export const SHA384: {
4487
- new(): SHA384;
4145
+ export const SHA384: (abstract new() => SHA384) & {
4488
4146
  readonly HashSizeInBits: int;
4489
4147
  readonly HashSizeInBytes: int;
4490
4148
  HashData(source: byte[]): byte[];
@@ -4506,22 +4164,18 @@ export interface __SHA384$views {
4506
4164
  export type SHA384 = SHA384$instance & __SHA384$views;
4507
4165
 
4508
4166
 
4509
- export abstract class SHA384CryptoServiceProvider$protected {
4510
- protected Dispose2(disposing: boolean): void;
4511
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4512
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4513
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4514
- protected HashFinal(): byte[];
4515
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4516
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4517
- }
4518
-
4519
-
4520
- export interface SHA384CryptoServiceProvider$instance extends SHA384CryptoServiceProvider$protected, SHA384$instance {
4167
+ export interface SHA384CryptoServiceProvider$instance extends SHA384$instance {
4168
+ Dispose(disposing: boolean): void;
4521
4169
  Dispose(): void;
4170
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
4171
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4172
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4173
+ HashFinal(): byte[];
4522
4174
  Initialize(): void;
4523
4175
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4524
4176
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4177
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4178
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4525
4179
  }
4526
4180
 
4527
4181
 
@@ -4538,22 +4192,18 @@ export interface __SHA384CryptoServiceProvider$views {
4538
4192
  export type SHA384CryptoServiceProvider = SHA384CryptoServiceProvider$instance & __SHA384CryptoServiceProvider$views;
4539
4193
 
4540
4194
 
4541
- export abstract class SHA384Managed$protected {
4542
- protected Dispose2(disposing: boolean): void;
4543
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4544
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4545
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4546
- protected HashFinal(): byte[];
4547
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4548
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4549
- }
4550
-
4551
-
4552
- export interface SHA384Managed$instance extends SHA384Managed$protected, SHA384$instance {
4195
+ export interface SHA384Managed$instance extends SHA384$instance {
4196
+ Dispose(disposing: boolean): void;
4553
4197
  Dispose(): void;
4198
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
4199
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4200
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4201
+ HashFinal(): byte[];
4554
4202
  Initialize(): void;
4555
4203
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4556
4204
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4205
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4206
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4557
4207
  }
4558
4208
 
4559
4209
 
@@ -4570,20 +4220,15 @@ export interface __SHA384Managed$views {
4570
4220
  export type SHA384Managed = SHA384Managed$instance & __SHA384Managed$views;
4571
4221
 
4572
4222
 
4573
- export abstract class SHA512$protected {
4574
- protected Dispose2(disposing: boolean): void;
4575
- }
4576
-
4577
-
4578
- export interface SHA512$instance extends SHA512$protected, HashAlgorithm$instance {
4223
+ export interface SHA512$instance extends HashAlgorithm$instance {
4579
4224
  Dispose(): void;
4225
+ Dispose(disposing: boolean): void;
4580
4226
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4581
4227
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4582
4228
  }
4583
4229
 
4584
4230
 
4585
- export const SHA512: {
4586
- new(): SHA512;
4231
+ export const SHA512: (abstract new() => SHA512) & {
4587
4232
  readonly HashSizeInBits: int;
4588
4233
  readonly HashSizeInBytes: int;
4589
4234
  HashData(source: byte[]): byte[];
@@ -4605,22 +4250,18 @@ export interface __SHA512$views {
4605
4250
  export type SHA512 = SHA512$instance & __SHA512$views;
4606
4251
 
4607
4252
 
4608
- export abstract class SHA512CryptoServiceProvider$protected {
4609
- protected Dispose2(disposing: boolean): void;
4610
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4611
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4612
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4613
- protected HashFinal(): byte[];
4614
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4615
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4616
- }
4617
-
4618
-
4619
- export interface SHA512CryptoServiceProvider$instance extends SHA512CryptoServiceProvider$protected, SHA512$instance {
4253
+ export interface SHA512CryptoServiceProvider$instance extends SHA512$instance {
4254
+ Dispose(disposing: boolean): void;
4620
4255
  Dispose(): void;
4256
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
4257
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4258
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4259
+ HashFinal(): byte[];
4621
4260
  Initialize(): void;
4622
4261
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4623
4262
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4263
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4264
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4624
4265
  }
4625
4266
 
4626
4267
 
@@ -4637,22 +4278,18 @@ export interface __SHA512CryptoServiceProvider$views {
4637
4278
  export type SHA512CryptoServiceProvider = SHA512CryptoServiceProvider$instance & __SHA512CryptoServiceProvider$views;
4638
4279
 
4639
4280
 
4640
- export abstract class SHA512Managed$protected {
4641
- protected Dispose2(disposing: boolean): void;
4642
- protected HashCore2(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4643
- protected HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4644
- protected HashCore2(array: byte[], ibStart: int, cbSize: int): void;
4645
- protected HashFinal(): byte[];
4646
- protected TryHashFinal2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4647
- protected TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4648
- }
4649
-
4650
-
4651
- export interface SHA512Managed$instance extends SHA512Managed$protected, SHA512$instance {
4281
+ export interface SHA512Managed$instance extends SHA512$instance {
4282
+ Dispose(disposing: boolean): void;
4652
4283
  Dispose(): void;
4284
+ HashCore(array: byte[], ibStart: int, cbSize: int): void;
4285
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4286
+ HashCore(source: ReadOnlySpan_1<System_Internal.Byte>): void;
4287
+ HashFinal(): byte[];
4653
4288
  Initialize(): void;
4654
4289
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
4655
4290
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
4291
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4292
+ TryHashFinal(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4656
4293
  }
4657
4294
 
4658
4295
 
@@ -4745,13 +4382,13 @@ export type Shake256 = Shake256$instance & __Shake256$views;
4745
4382
 
4746
4383
  export interface SignatureDescription$instance {
4747
4384
  get DeformatterAlgorithm(): string | undefined;
4748
- set DeformatterAlgorithm(value: string);
4385
+ set DeformatterAlgorithm(value: string | undefined);
4749
4386
  get DigestAlgorithm(): string | undefined;
4750
- set DigestAlgorithm(value: string);
4387
+ set DigestAlgorithm(value: string | undefined);
4751
4388
  get FormatterAlgorithm(): string | undefined;
4752
- set FormatterAlgorithm(value: string);
4389
+ set FormatterAlgorithm(value: string | undefined);
4753
4390
  get KeyAlgorithm(): string | undefined;
4754
- set KeyAlgorithm(value: string);
4391
+ set KeyAlgorithm(value: string | undefined);
4755
4392
  CreateDeformatter(key: AsymmetricAlgorithm): AsymmetricSignatureDeformatter;
4756
4393
  CreateDigest(): HashAlgorithm | undefined;
4757
4394
  CreateFormatter(key: AsymmetricAlgorithm): AsymmetricSignatureFormatter;
@@ -4766,21 +4403,10 @@ export const SignatureDescription: {
4766
4403
 
4767
4404
  export type SignatureDescription = SignatureDescription$instance;
4768
4405
 
4769
- export abstract class SlhDsa$protected {
4770
- protected Dispose(disposing: boolean): void;
4771
- protected abstract ExportSlhDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
4772
- protected abstract ExportSlhDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
4773
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4774
- protected abstract SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4775
- protected TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4776
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4777
- protected abstract VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4778
- }
4779
-
4780
-
4781
- export interface SlhDsa$instance extends SlhDsa$protected {
4406
+ export interface SlhDsa$instance {
4782
4407
  readonly Algorithm: SlhDsaAlgorithm;
4783
4408
  Dispose(): void;
4409
+ Dispose(disposing: boolean): void;
4784
4410
  ExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
4785
4411
  ExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
4786
4412
  ExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters): byte[];
@@ -4791,28 +4417,34 @@ export interface SlhDsa$instance extends SlhDsa$protected {
4791
4417
  ExportPkcs8PrivateKeyPem(): string;
4792
4418
  ExportSlhDsaPrivateKey(destination: Span_1<System_Internal.Byte>): void;
4793
4419
  ExportSlhDsaPrivateKey(): byte[];
4420
+ ExportSlhDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
4794
4421
  ExportSlhDsaPublicKey(destination: Span_1<System_Internal.Byte>): void;
4795
4422
  ExportSlhDsaPublicKey(): byte[];
4423
+ ExportSlhDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
4796
4424
  ExportSubjectPublicKeyInfo(): byte[];
4797
4425
  ExportSubjectPublicKeyInfoPem(): string;
4798
4426
  SignData(data: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
4799
4427
  SignData(data: byte[], context?: byte[]): byte[];
4428
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4800
4429
  SignPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): void;
4801
4430
  SignPreHash(hash: byte[], hashAlgorithmOid: string, context?: byte[]): byte[];
4431
+ SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4802
4432
  TryExportEncryptedPkcs8PrivateKey(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4803
4433
  TryExportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4804
4434
  TryExportEncryptedPkcs8PrivateKey(password: string, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4805
4435
  TryExportPkcs8PrivateKey(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4436
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4806
4437
  TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4807
4438
  VerifyData(data: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4808
4439
  VerifyData(data: byte[], signature: byte[], context?: byte[]): boolean;
4440
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4809
4441
  VerifyPreHash(hash: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, context?: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4810
4442
  VerifyPreHash(hash: byte[], signature: byte[], hashAlgorithmOid: string, context?: byte[]): boolean;
4443
+ VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4811
4444
  }
4812
4445
 
4813
4446
 
4814
- export const SlhDsa: {
4815
- new(algorithm: SlhDsaAlgorithm): SlhDsa;
4447
+ export const SlhDsa: (abstract new(algorithm: SlhDsaAlgorithm) => SlhDsa) & {
4816
4448
  readonly IsSupported: boolean;
4817
4449
  GenerateKey(algorithm: SlhDsaAlgorithm): SlhDsa;
4818
4450
  ImportEncryptedPkcs8PrivateKey(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlySpan_1<System_Internal.Byte>): SlhDsa;
@@ -4855,7 +4487,6 @@ export interface SlhDsaAlgorithm$instance {
4855
4487
 
4856
4488
 
4857
4489
  export const SlhDsaAlgorithm: {
4858
- new(): SlhDsaAlgorithm;
4859
4490
  readonly SlhDsaSha2_128s: SlhDsaAlgorithm;
4860
4491
  readonly SlhDsaShake128s: SlhDsaAlgorithm;
4861
4492
  readonly SlhDsaSha2_128f: SlhDsaAlgorithm;
@@ -4881,28 +4512,18 @@ export interface __SlhDsaAlgorithm$views {
4881
4512
  export type SlhDsaAlgorithm = SlhDsaAlgorithm$instance & __SlhDsaAlgorithm$views;
4882
4513
 
4883
4514
 
4884
- export abstract class SlhDsaCng$protected {
4885
- protected Dispose2(disposing: boolean): void;
4886
- protected ExportSlhDsaPrivateKeyCore2(destination: Span_1<System_Internal.Byte>): void;
4887
- protected abstract ExportSlhDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
4888
- protected ExportSlhDsaPublicKeyCore2(destination: Span_1<System_Internal.Byte>): void;
4889
- protected abstract ExportSlhDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
4890
- protected SignDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4891
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4892
- protected SignPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4893
- protected abstract SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4894
- protected TryExportPkcs8PrivateKeyCore2(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4895
- protected TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4896
- protected VerifyDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4897
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4898
- protected VerifyPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4899
- protected abstract VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4900
- }
4901
-
4902
-
4903
- export interface SlhDsaCng$instance extends SlhDsaCng$protected, SlhDsa$instance {
4515
+ export interface SlhDsaCng$instance extends SlhDsa$instance {
4904
4516
  Dispose(): void;
4517
+ Dispose(disposing: boolean): void;
4518
+ ExportSlhDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
4519
+ ExportSlhDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
4905
4520
  GetKey(): CngKey;
4521
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4522
+ SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4523
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4524
+ TryExportPkcs8PrivateKeyCore(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
4525
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4526
+ VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4906
4527
  }
4907
4528
 
4908
4529
 
@@ -4918,26 +4539,16 @@ export interface __SlhDsaCng$views {
4918
4539
  export type SlhDsaCng = SlhDsaCng$instance & __SlhDsaCng$views;
4919
4540
 
4920
4541
 
4921
- export abstract class SlhDsaOpenSsl$protected {
4922
- protected Dispose2(disposing: boolean): void;
4923
- protected ExportSlhDsaPrivateKeyCore2(destination: Span_1<System_Internal.Byte>): void;
4924
- protected abstract ExportSlhDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
4925
- protected ExportSlhDsaPublicKeyCore2(destination: Span_1<System_Internal.Byte>): void;
4926
- protected abstract ExportSlhDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
4927
- protected SignDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4928
- protected abstract SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4929
- protected SignPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4930
- protected abstract SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4931
- protected VerifyDataCore2(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4932
- protected abstract VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4933
- protected VerifyPreHashCore2(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4934
- protected abstract VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4935
- }
4936
-
4937
-
4938
- export interface SlhDsaOpenSsl$instance extends SlhDsaOpenSsl$protected, SlhDsa$instance {
4542
+ export interface SlhDsaOpenSsl$instance extends SlhDsa$instance {
4543
+ Dispose(disposing: boolean): void;
4939
4544
  Dispose(): void;
4940
4545
  DuplicateKeyHandle(): SafeEvpPKeyHandle;
4546
+ ExportSlhDsaPrivateKeyCore(destination: Span_1<System_Internal.Byte>): void;
4547
+ ExportSlhDsaPublicKeyCore(destination: Span_1<System_Internal.Byte>): void;
4548
+ SignDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>): void;
4549
+ SignPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, destination: Span_1<System_Internal.Byte>): void;
4550
+ VerifyDataCore(data: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4551
+ VerifyPreHashCore(hash: ReadOnlySpan_1<System_Internal.Byte>, context: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmOid: string, signature: ReadOnlySpan_1<System_Internal.Byte>): boolean;
4941
4552
  }
4942
4553
 
4943
4554
 
@@ -4985,19 +4596,7 @@ export interface SP800108HmacCounterKdf$instance extends System_Internal.IDispos
4985
4596
  export type SP800108HmacCounterKdf = SP800108HmacCounterKdf$instance & __SP800108HmacCounterKdf$views;
4986
4597
 
4987
4598
 
4988
- export abstract class SymmetricAlgorithm$protected {
4989
- protected Dispose(disposing: boolean): void;
4990
- protected SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
4991
- protected TryDecryptCbcCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
4992
- protected TryDecryptCfbCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, feedbackSizeInBits: int, bytesWritten: int): boolean;
4993
- protected TryDecryptEcbCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
4994
- protected TryEncryptCbcCore(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
4995
- protected TryEncryptCfbCore(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, feedbackSizeInBits: int, bytesWritten: int): boolean;
4996
- protected TryEncryptEcbCore(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
4997
- }
4998
-
4999
-
5000
- export interface SymmetricAlgorithm$instance extends SymmetricAlgorithm$protected {
4599
+ export interface SymmetricAlgorithm$instance {
5001
4600
  BlockSize: int;
5002
4601
  FeedbackSize: int;
5003
4602
  IV: byte[];
@@ -5022,6 +4621,7 @@ export interface SymmetricAlgorithm$instance extends SymmetricAlgorithm$protecte
5022
4621
  DecryptEcb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, paddingMode: PaddingMode): byte[];
5023
4622
  DecryptEcb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode): int;
5024
4623
  Dispose(): void;
4624
+ Dispose(disposing: boolean): void;
5025
4625
  EncryptCbc(plaintext: byte[], iv: byte[], paddingMode?: PaddingMode): byte[];
5026
4626
  EncryptCbc(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, paddingMode?: PaddingMode): byte[];
5027
4627
  EncryptCbc(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode?: PaddingMode): int;
@@ -5037,18 +4637,24 @@ export interface SymmetricAlgorithm$instance extends SymmetricAlgorithm$protecte
5037
4637
  GetCiphertextLengthCfb(plaintextLength: int, paddingMode?: PaddingMode, feedbackSizeInBits?: int): int;
5038
4638
  GetCiphertextLengthEcb(plaintextLength: int, paddingMode: PaddingMode): int;
5039
4639
  SetKey(key: ReadOnlySpan_1<System_Internal.Byte>): void;
4640
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
5040
4641
  TryDecryptCbc(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode): boolean;
4642
+ TryDecryptCbcCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
5041
4643
  TryDecryptCfb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode, feedbackSizeInBits?: int): boolean;
4644
+ TryDecryptCfbCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, feedbackSizeInBits: int, bytesWritten: int): boolean;
5042
4645
  TryDecryptEcb(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
4646
+ TryDecryptEcbCore(ciphertext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
5043
4647
  TryEncryptCbc(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode): boolean;
4648
+ TryEncryptCbcCore(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
5044
4649
  TryEncryptCfb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, bytesWritten: int, paddingMode?: PaddingMode, feedbackSizeInBits?: int): boolean;
4650
+ TryEncryptCfbCore(plaintext: ReadOnlySpan_1<System_Internal.Byte>, iv: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, feedbackSizeInBits: int, bytesWritten: int): boolean;
5045
4651
  TryEncryptEcb(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
4652
+ TryEncryptEcbCore(plaintext: ReadOnlySpan_1<System_Internal.Byte>, destination: Span_1<System_Internal.Byte>, paddingMode: PaddingMode, bytesWritten: int): boolean;
5046
4653
  ValidKeySize(bitLength: int): boolean;
5047
4654
  }
5048
4655
 
5049
4656
 
5050
- export const SymmetricAlgorithm: {
5051
- new(): SymmetricAlgorithm;
4657
+ export const SymmetricAlgorithm: (abstract new() => SymmetricAlgorithm) & {
5052
4658
  Create(): SymmetricAlgorithm;
5053
4659
  Create(algName: string): SymmetricAlgorithm | undefined;
5054
4660
  };
@@ -5061,19 +4667,15 @@ export interface __SymmetricAlgorithm$views {
5061
4667
  export type SymmetricAlgorithm = SymmetricAlgorithm$instance & __SymmetricAlgorithm$views;
5062
4668
 
5063
4669
 
5064
- export abstract class ToBase64Transform$protected {
5065
- protected Dispose(disposing: boolean): void;
5066
- protected Finalize(): void;
5067
- }
5068
-
5069
-
5070
- export interface ToBase64Transform$instance extends ToBase64Transform$protected {
4670
+ export interface ToBase64Transform$instance {
5071
4671
  readonly CanReuseTransform: boolean;
5072
4672
  readonly CanTransformMultipleBlocks: boolean;
5073
4673
  readonly InputBlockSize: int;
5074
4674
  readonly OutputBlockSize: int;
5075
4675
  Clear(): void;
5076
4676
  Dispose(): void;
4677
+ Dispose(disposing: boolean): void;
4678
+ Finalize(): void;
5077
4679
  TransformBlock(inputBuffer: byte[], inputOffset: int, inputCount: int, outputBuffer: byte[], outputOffset: int): int;
5078
4680
  TransformFinalBlock(inputBuffer: byte[], inputOffset: int, inputCount: int): byte[];
5079
4681
  }
@@ -5092,19 +4694,14 @@ export interface __ToBase64Transform$views {
5092
4694
  export type ToBase64Transform = ToBase64Transform$instance & __ToBase64Transform$views;
5093
4695
 
5094
4696
 
5095
- export abstract class TripleDES$protected {
5096
- protected Dispose2(disposing: boolean): void;
5097
- }
5098
-
5099
-
5100
- export interface TripleDES$instance extends TripleDES$protected, SymmetricAlgorithm$instance {
4697
+ export interface TripleDES$instance extends SymmetricAlgorithm$instance {
5101
4698
  Key: byte[];
5102
4699
  Dispose(): void;
4700
+ Dispose(disposing: boolean): void;
5103
4701
  }
5104
4702
 
5105
4703
 
5106
- export const TripleDES: {
5107
- new(): TripleDES;
4704
+ export const TripleDES: (abstract new() => TripleDES) & {
5108
4705
  IsWeakKey(rgbKey: byte[]): boolean;
5109
4706
  };
5110
4707
 
@@ -5116,17 +4713,13 @@ export interface __TripleDES$views {
5116
4713
  export type TripleDES = TripleDES$instance & __TripleDES$views;
5117
4714
 
5118
4715
 
5119
- export abstract class TripleDESCng$protected {
5120
- protected Dispose3(disposing: boolean): void;
5121
- }
5122
-
5123
-
5124
- export interface TripleDESCng$instance extends TripleDESCng$protected, TripleDES$instance {
4716
+ export interface TripleDESCng$instance extends TripleDES$instance {
5125
4717
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5126
4718
  CreateDecryptor(): ICryptoTransform;
5127
4719
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5128
4720
  CreateEncryptor(): ICryptoTransform;
5129
4721
  Dispose(): void;
4722
+ Dispose(disposing: boolean): void;
5130
4723
  GenerateIV(): void;
5131
4724
  GenerateKey(): void;
5132
4725
  }
@@ -5147,14 +4740,7 @@ export interface __TripleDESCng$views {
5147
4740
  export type TripleDESCng = TripleDESCng$instance & __TripleDESCng$views;
5148
4741
 
5149
4742
 
5150
- export abstract class TripleDESCryptoServiceProvider$protected {
5151
- protected Dispose2(disposing: boolean): void;
5152
- protected SetKeyCore2(key: ReadOnlySpan_1<System_Internal.Byte>): void;
5153
- protected SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
5154
- }
5155
-
5156
-
5157
- export interface TripleDESCryptoServiceProvider$instance extends TripleDESCryptoServiceProvider$protected, TripleDES$instance {
4743
+ export interface TripleDESCryptoServiceProvider$instance extends TripleDES$instance {
5158
4744
  BlockSize: int;
5159
4745
  FeedbackSize: int;
5160
4746
  IV: byte[];
@@ -5168,9 +4754,12 @@ export interface TripleDESCryptoServiceProvider$instance extends TripleDESCrypto
5168
4754
  CreateDecryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
5169
4755
  CreateEncryptor(): ICryptoTransform;
5170
4756
  CreateEncryptor(rgbKey: byte[], rgbIV: byte[]): ICryptoTransform;
4757
+ Dispose(disposing: boolean): void;
5171
4758
  Dispose(): void;
5172
4759
  GenerateIV(): void;
5173
4760
  GenerateKey(): void;
4761
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
4762
+ SetKeyCore(key: ReadOnlySpan_1<System_Internal.Byte>): void;
5174
4763
  }
5175
4764
 
5176
4765