@tsonic/dotnet 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (137) hide show
  1. package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +21 -21
  2. package/Microsoft.VisualBasic/internal/index.d.ts +24 -24
  3. package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +30 -30
  4. package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +16 -16
  5. package/Microsoft.Win32/internal/index.d.ts +12 -12
  6. package/Microsoft.Win32.SafeHandles/internal/index.d.ts +19 -19
  7. package/System/bindings.json +114 -114
  8. package/System/internal/index.d.ts +1277 -1289
  9. package/System/internal/metadata.json +73 -73
  10. package/System.Buffers/internal/index.d.ts +13 -13
  11. package/System.CodeDom.Compiler/internal/index.d.ts +13 -13
  12. package/System.Collections/internal/index.d.ts +66 -68
  13. package/System.Collections.Concurrent/internal/index.d.ts +24 -24
  14. package/System.Collections.Frozen/bindings.json +20 -20
  15. package/System.Collections.Frozen/internal/index.d.ts +10 -10
  16. package/System.Collections.Frozen/internal/metadata.json +10 -10
  17. package/System.Collections.Generic/bindings.json +44 -20
  18. package/System.Collections.Generic/internal/index.d.ts +141 -133
  19. package/System.Collections.Generic/internal/metadata.json +26 -10
  20. package/System.Collections.Immutable/internal/index.d.ts +121 -121
  21. package/System.Collections.ObjectModel/internal/index.d.ts +23 -23
  22. package/System.Collections.Specialized/internal/index.d.ts +85 -87
  23. package/System.ComponentModel/internal/index.d.ts +595 -597
  24. package/System.ComponentModel.DataAnnotations/internal/index.d.ts +105 -105
  25. package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +9 -9
  26. package/System.ComponentModel.Design/internal/index.d.ts +90 -90
  27. package/System.ComponentModel.Design.Serialization/internal/index.d.ts +37 -37
  28. package/System.Data/internal/index.d.ts +225 -225
  29. package/System.Data.Common/internal/index.d.ts +62 -62
  30. package/System.Data.SqlTypes/internal/index.d.ts +73 -73
  31. package/System.Diagnostics/internal/index.d.ts +343 -343
  32. package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +50 -50
  33. package/System.Diagnostics.Contracts/internal/index.d.ts +20 -20
  34. package/System.Diagnostics.Metrics/internal/index.d.ts +46 -46
  35. package/System.Diagnostics.SymbolStore/internal/index.d.ts +9 -9
  36. package/System.Diagnostics.Tracing/internal/index.d.ts +44 -44
  37. package/System.Drawing/internal/index.d.ts +99 -99
  38. package/System.Dynamic/internal/index.d.ts +33 -33
  39. package/System.Formats.Asn1/internal/index.d.ts +12 -12
  40. package/System.Formats.Tar/internal/index.d.ts +17 -17
  41. package/System.Globalization/internal/index.d.ts +51 -51
  42. package/System.IO/internal/index.d.ts +172 -172
  43. package/System.IO.Compression/internal/index.d.ts +56 -56
  44. package/System.IO.Enumeration/internal/index.d.ts +6 -6
  45. package/System.IO.IsolatedStorage/internal/index.d.ts +17 -17
  46. package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -11
  47. package/System.IO.Pipelines/internal/index.d.ts +13 -13
  48. package/System.IO.Pipes/internal/index.d.ts +32 -32
  49. package/System.Linq/internal/index.d.ts +187 -187
  50. package/System.Linq.Expressions/internal/index.d.ts +203 -203
  51. package/System.Linq.Expressions.Interpreter/internal/index.d.ts +3 -3
  52. package/System.Net/internal/index.d.ts +218 -220
  53. package/System.Net.Cache/internal/index.d.ts +10 -10
  54. package/System.Net.Http/internal/index.d.ts +89 -89
  55. package/System.Net.Http.Headers/internal/index.d.ts +86 -86
  56. package/System.Net.Http.Json/internal/index.d.ts +59 -59
  57. package/System.Net.Http.Metrics/internal/index.d.ts +2 -2
  58. package/System.Net.Mail/internal/index.d.ts +92 -92
  59. package/System.Net.Mime/internal/index.d.ts +6 -6
  60. package/System.Net.NetworkInformation/internal/index.d.ts +39 -39
  61. package/System.Net.Quic/internal/index.d.ts +13 -13
  62. package/System.Net.Security/internal/index.d.ts +70 -70
  63. package/System.Net.ServerSentEvents/internal/index.d.ts +3 -3
  64. package/System.Net.Sockets/internal/index.d.ts +94 -94
  65. package/System.Net.WebSockets/internal/index.d.ts +46 -46
  66. package/System.Numerics/bindings.json +384 -0
  67. package/System.Numerics/internal/index.d.ts +128 -130
  68. package/System.Numerics/internal/metadata.json +256 -0
  69. package/System.Reflection/internal/index.d.ts +271 -271
  70. package/System.Reflection.Emit/internal/index.d.ts +123 -123
  71. package/System.Reflection.Metadata/bindings.json +48 -0
  72. package/System.Reflection.Metadata/internal/index.d.ts +179 -179
  73. package/System.Reflection.Metadata/internal/metadata.json +32 -0
  74. package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +40 -40
  75. package/System.Reflection.PortableExecutable/internal/index.d.ts +26 -26
  76. package/System.Resources/internal/index.d.ts +38 -38
  77. package/System.Runtime/internal/index.d.ts +9 -9
  78. package/System.Runtime.CompilerServices/internal/index.d.ts +168 -168
  79. package/System.Runtime.ConstrainedExecution/internal/index.d.ts +2 -2
  80. package/System.Runtime.ExceptionServices/internal/index.d.ts +3 -3
  81. package/System.Runtime.InteropServices/bindings.json +22 -22
  82. package/System.Runtime.InteropServices/internal/index.d.ts +184 -184
  83. package/System.Runtime.InteropServices/internal/metadata.json +13 -13
  84. package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +30 -30
  85. package/System.Runtime.InteropServices.Java/internal/index.d.ts +3 -3
  86. package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +50 -50
  87. package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +63 -63
  88. package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +1 -1
  89. package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -4
  90. package/System.Runtime.Intrinsics/internal/index.d.ts +4 -4
  91. package/System.Runtime.Loader/internal/index.d.ts +9 -9
  92. package/System.Runtime.Remoting/internal/index.d.ts +2 -2
  93. package/System.Runtime.Serialization/internal/index.d.ts +113 -115
  94. package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +19 -19
  95. package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
  96. package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +5 -5
  97. package/System.Runtime.Serialization.Json/internal/index.d.ts +28 -28
  98. package/System.Runtime.Versioning/internal/index.d.ts +22 -22
  99. package/System.Security/internal/index.d.ts +63 -63
  100. package/System.Security.AccessControl/internal/index.d.ts +84 -84
  101. package/System.Security.Authentication/internal/index.d.ts +6 -6
  102. package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +13 -13
  103. package/System.Security.Claims/internal/index.d.ts +38 -40
  104. package/System.Security.Cryptography/internal/index.d.ts +378 -378
  105. package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +172 -172
  106. package/System.Security.Permissions/internal/index.d.ts +1 -1
  107. package/System.Security.Policy/internal/index.d.ts +6 -6
  108. package/System.Security.Principal/internal/index.d.ts +29 -31
  109. package/System.Text/internal/index.d.ts +94 -94
  110. package/System.Text.Encodings.Web/internal/index.d.ts +3 -3
  111. package/System.Text.Json/internal/index.d.ts +103 -103
  112. package/System.Text.Json.Nodes/internal/index.d.ts +73 -73
  113. package/System.Text.Json.Schema/internal/index.d.ts +7 -7
  114. package/System.Text.Json.Serialization/internal/index.d.ts +34 -34
  115. package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +57 -57
  116. package/System.Text.RegularExpressions/internal/index.d.ts +29 -29
  117. package/System.Text.Unicode/internal/index.d.ts +6 -6
  118. package/System.Threading/internal/index.d.ts +160 -160
  119. package/System.Threading.Channels/internal/index.d.ts +12 -12
  120. package/System.Threading.Tasks/internal/index.d.ts +125 -135
  121. package/System.Threading.Tasks.Dataflow/internal/index.d.ts +54 -51
  122. package/System.Threading.Tasks.Sources/internal/index.d.ts +5 -5
  123. package/System.Timers/internal/index.d.ts +8 -8
  124. package/System.Transactions/internal/index.d.ts +51 -51
  125. package/System.Web/internal/index.d.ts +32 -32
  126. package/System.Windows.Input/internal/index.d.ts +2 -2
  127. package/System.Windows.Markup/internal/index.d.ts +2 -2
  128. package/System.Xml/internal/index.d.ts +281 -281
  129. package/System.Xml.Linq/internal/index.d.ts +76 -76
  130. package/System.Xml.Resolvers/internal/index.d.ts +8 -8
  131. package/System.Xml.Schema/internal/index.d.ts +173 -173
  132. package/System.Xml.Serialization/internal/index.d.ts +200 -200
  133. package/System.Xml.XPath/internal/index.d.ts +28 -28
  134. package/System.Xml.Xsl/internal/index.d.ts +53 -53
  135. package/System.Xml.Xsl.Runtime/internal/index.d.ts +72 -72
  136. package/__internal/extensions/index.d.ts +415 -414
  137. package/package.json +1 -1
@@ -259,7 +259,7 @@ export interface X509ChainStatus$instance {
259
259
 
260
260
 
261
261
  export const X509ChainStatus: {
262
- new(): X509ChainStatus$instance;
262
+ new(): X509ChainStatus;
263
263
  };
264
264
 
265
265
 
@@ -284,22 +284,22 @@ export interface CertificateRequest$instance {
284
284
 
285
285
 
286
286
  export const CertificateRequest: {
287
- new(subjectName: string, key: ECDsa, hashAlgorithm: HashAlgorithmName): CertificateRequest$instance;
288
- new(subjectName: X500DistinguishedName, key: ECDsa, hashAlgorithm: HashAlgorithmName): CertificateRequest$instance;
289
- new(subjectName: string, key: RSA, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): CertificateRequest$instance;
290
- new(subjectName: X500DistinguishedName, key: RSA, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): CertificateRequest$instance;
291
- new(subjectName: string, key: MLDsa): CertificateRequest$instance;
292
- new(subjectName: X500DistinguishedName, key: MLDsa): CertificateRequest$instance;
293
- new(subjectName: string, key: SlhDsa): CertificateRequest$instance;
294
- new(subjectName: X500DistinguishedName, key: SlhDsa): CertificateRequest$instance;
295
- new(subjectName: string, key: CompositeMLDsa): CertificateRequest$instance;
296
- new(subjectName: X500DistinguishedName, key: CompositeMLDsa): CertificateRequest$instance;
297
- new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName): CertificateRequest$instance;
298
- new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding): CertificateRequest$instance;
299
- loadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
300
- loadSigningRequest(pkcs10: ReadOnlySpan_1<System_Internal.Byte>, signerHashAlgorithm: HashAlgorithmName, bytesConsumed: int, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
301
- loadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<System_Internal.Char>, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
302
- loadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
287
+ new(subjectName: string, key: ECDsa, hashAlgorithm: HashAlgorithmName): CertificateRequest;
288
+ new(subjectName: X500DistinguishedName, key: ECDsa, hashAlgorithm: HashAlgorithmName): CertificateRequest;
289
+ new(subjectName: string, key: RSA, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): CertificateRequest;
290
+ new(subjectName: X500DistinguishedName, key: RSA, hashAlgorithm: HashAlgorithmName, padding: RSASignaturePadding): CertificateRequest;
291
+ new(subjectName: string, key: MLDsa): CertificateRequest;
292
+ new(subjectName: X500DistinguishedName, key: MLDsa): CertificateRequest;
293
+ new(subjectName: string, key: SlhDsa): CertificateRequest;
294
+ new(subjectName: X500DistinguishedName, key: SlhDsa): CertificateRequest;
295
+ new(subjectName: string, key: CompositeMLDsa): CertificateRequest;
296
+ new(subjectName: X500DistinguishedName, key: CompositeMLDsa): CertificateRequest;
297
+ new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName): CertificateRequest;
298
+ new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding | undefined): CertificateRequest;
299
+ loadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
300
+ loadSigningRequest(pkcs10: ReadOnlySpan_1<System_Internal.Byte>, signerHashAlgorithm: HashAlgorithmName, bytesConsumed: int, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
301
+ loadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<System_Internal.Char>, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
302
+ loadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
303
303
  };
304
304
 
305
305
 
@@ -309,7 +309,7 @@ export interface CertificateRevocationListBuilder$instance {
309
309
  addEntry(certificate: X509Certificate2, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
310
310
  addEntry(serialNumber: byte[], revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
311
311
  addEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
312
- build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
312
+ build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding | undefined, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
313
313
  build(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, authorityKeyIdentifier: X509AuthorityKeyIdentifierExtension, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
314
314
  removeEntry(serialNumber: byte[]): boolean;
315
315
  removeEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>): boolean;
@@ -317,7 +317,7 @@ export interface CertificateRevocationListBuilder$instance {
317
317
 
318
318
 
319
319
  export const CertificateRevocationListBuilder: {
320
- new(): CertificateRevocationListBuilder$instance;
320
+ new(): CertificateRevocationListBuilder;
321
321
  buildCrlDistributionPointExtension(uris: IEnumerable_1<System_Internal.String>, critical?: boolean): X509Extension;
322
322
  load(currentCrl: byte[], currentCrlNumber: BigInteger): CertificateRevocationListBuilder;
323
323
  load(currentCrl: ReadOnlySpan_1<System_Internal.Byte>, currentCrlNumber: BigInteger, bytesConsumed: int): CertificateRevocationListBuilder;
@@ -347,8 +347,8 @@ export interface Pkcs12LoaderLimits$instance {
347
347
 
348
348
 
349
349
  export const Pkcs12LoaderLimits: {
350
- new(): Pkcs12LoaderLimits$instance;
351
- new(copyFrom: Pkcs12LoaderLimits): Pkcs12LoaderLimits$instance;
350
+ new(): Pkcs12LoaderLimits;
351
+ new(copyFrom: Pkcs12LoaderLimits): Pkcs12LoaderLimits;
352
352
  readonly defaults: Pkcs12LoaderLimits;
353
353
  readonly dangerousNoLimits: Pkcs12LoaderLimits;
354
354
  };
@@ -362,7 +362,7 @@ export interface Pkcs12LoadLimitExceededException$instance extends Cryptographic
362
362
 
363
363
 
364
364
  export const Pkcs12LoadLimitExceededException: {
365
- new(propertyName: string): Pkcs12LoadLimitExceededException$instance;
365
+ new(propertyName: string): Pkcs12LoadLimitExceededException;
366
366
  };
367
367
 
368
368
 
@@ -375,7 +375,7 @@ export type Pkcs12LoadLimitExceededException = Pkcs12LoadLimitExceededException$
375
375
 
376
376
  export interface PublicKey$instance {
377
377
  readonly encodedKeyValue: AsnEncodedData;
378
- readonly encodedParameters: AsnEncodedData;
378
+ readonly encodedParameters: AsnEncodedData | undefined;
379
379
  readonly key: AsymmetricAlgorithm;
380
380
  readonly oid: Oid;
381
381
  exportSubjectPublicKeyInfo(): byte[];
@@ -392,12 +392,12 @@ export interface PublicKey$instance {
392
392
 
393
393
 
394
394
  export const PublicKey: {
395
- new(oid: Oid, parameters: AsnEncodedData, keyValue: AsnEncodedData): PublicKey$instance;
396
- new(key: AsymmetricAlgorithm): PublicKey$instance;
397
- new(key: MLKem): PublicKey$instance;
398
- new(key: MLDsa): PublicKey$instance;
399
- new(key: SlhDsa): PublicKey$instance;
400
- new(key: CompositeMLDsa): PublicKey$instance;
395
+ new(oid: Oid, parameters: AsnEncodedData | undefined, keyValue: AsnEncodedData): PublicKey;
396
+ new(key: AsymmetricAlgorithm): PublicKey;
397
+ new(key: MLKem): PublicKey;
398
+ new(key: MLDsa): PublicKey;
399
+ new(key: SlhDsa): PublicKey;
400
+ new(key: CompositeMLDsa): PublicKey;
401
401
  createFromSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): PublicKey;
402
402
  };
403
403
 
@@ -415,7 +415,7 @@ export interface SubjectAlternativeNameBuilder$instance {
415
415
 
416
416
 
417
417
  export const SubjectAlternativeNameBuilder: {
418
- new(): SubjectAlternativeNameBuilder$instance;
418
+ new(): SubjectAlternativeNameBuilder;
419
419
  };
420
420
 
421
421
 
@@ -430,12 +430,12 @@ export interface X500DistinguishedName$instance extends AsnEncodedData {
430
430
 
431
431
 
432
432
  export const X500DistinguishedName: {
433
- new(encodedDistinguishedName: byte[]): X500DistinguishedName$instance;
434
- new(encodedDistinguishedName: ReadOnlySpan_1<System_Internal.Byte>): X500DistinguishedName$instance;
435
- new(encodedDistinguishedName: AsnEncodedData): X500DistinguishedName$instance;
436
- new(distinguishedName: X500DistinguishedName): X500DistinguishedName$instance;
437
- new(distinguishedName: string): X500DistinguishedName$instance;
438
- new(distinguishedName: string, flag: X500DistinguishedNameFlags): X500DistinguishedName$instance;
433
+ new(encodedDistinguishedName: byte[]): X500DistinguishedName;
434
+ new(encodedDistinguishedName: ReadOnlySpan_1<System_Internal.Byte>): X500DistinguishedName;
435
+ new(encodedDistinguishedName: AsnEncodedData): X500DistinguishedName;
436
+ new(distinguishedName: X500DistinguishedName): X500DistinguishedName;
437
+ new(distinguishedName: string): X500DistinguishedName;
438
+ new(distinguishedName: string, flag: X500DistinguishedNameFlags): X500DistinguishedName;
439
439
  };
440
440
 
441
441
 
@@ -457,7 +457,7 @@ export interface X500DistinguishedNameBuilder$instance {
457
457
 
458
458
 
459
459
  export const X500DistinguishedNameBuilder: {
460
- new(): X500DistinguishedNameBuilder$instance;
460
+ new(): X500DistinguishedNameBuilder;
461
461
  };
462
462
 
463
463
 
@@ -472,7 +472,7 @@ export interface X500RelativeDistinguishedName$instance {
472
472
 
473
473
 
474
474
  export const X500RelativeDistinguishedName: {
475
- new(): X500RelativeDistinguishedName$instance;
475
+ new(): X500RelativeDistinguishedName;
476
476
  };
477
477
 
478
478
 
@@ -488,10 +488,10 @@ export interface X509AuthorityInformationAccessExtension$instance extends X509Ex
488
488
 
489
489
 
490
490
  export const X509AuthorityInformationAccessExtension: {
491
- new(): X509AuthorityInformationAccessExtension$instance;
492
- new(rawData: byte[], critical: boolean): X509AuthorityInformationAccessExtension$instance;
493
- new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityInformationAccessExtension$instance;
494
- new(ocspUris: IEnumerable_1<System_Internal.String>, caIssuersUris: IEnumerable_1<System_Internal.String>, critical: boolean): X509AuthorityInformationAccessExtension$instance;
491
+ new(): X509AuthorityInformationAccessExtension;
492
+ new(rawData: byte[], critical: boolean): X509AuthorityInformationAccessExtension;
493
+ new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityInformationAccessExtension;
494
+ new(ocspUris: IEnumerable_1<System_Internal.String> | undefined, caIssuersUris: IEnumerable_1<System_Internal.String> | undefined, critical: boolean): X509AuthorityInformationAccessExtension;
495
495
  };
496
496
 
497
497
 
@@ -499,7 +499,7 @@ export type X509AuthorityInformationAccessExtension = X509AuthorityInformationAc
499
499
 
500
500
  export interface X509AuthorityKeyIdentifierExtension$instance extends X509Extension {
501
501
  readonly keyIdentifier: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
502
- readonly namedIssuer: X500DistinguishedName;
502
+ readonly namedIssuer: X500DistinguishedName | undefined;
503
503
  readonly rawIssuer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
504
504
  readonly serialNumber: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
505
505
  copyFrom(asnEncodedData: AsnEncodedData): void;
@@ -507,9 +507,9 @@ export interface X509AuthorityKeyIdentifierExtension$instance extends X509Extens
507
507
 
508
508
 
509
509
  export const X509AuthorityKeyIdentifierExtension: {
510
- new(): X509AuthorityKeyIdentifierExtension$instance;
511
- new(rawData: byte[], critical: boolean): X509AuthorityKeyIdentifierExtension$instance;
512
- new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityKeyIdentifierExtension$instance;
510
+ new(): X509AuthorityKeyIdentifierExtension;
511
+ new(rawData: byte[], critical: boolean): X509AuthorityKeyIdentifierExtension;
512
+ new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityKeyIdentifierExtension;
513
513
  create(keyIdentifier: byte[], issuerName: X500DistinguishedName, serialNumber: byte[]): X509AuthorityKeyIdentifierExtension;
514
514
  create(keyIdentifier: ReadOnlySpan_1<System_Internal.Byte>, issuerName: X500DistinguishedName, serialNumber: ReadOnlySpan_1<System_Internal.Byte>): X509AuthorityKeyIdentifierExtension;
515
515
  createFromCertificate(certificate: X509Certificate2, includeKeyIdentifier: boolean, includeIssuerAndSerial: boolean): X509AuthorityKeyIdentifierExtension;
@@ -532,9 +532,9 @@ export interface X509BasicConstraintsExtension$instance extends X509Extension {
532
532
 
533
533
 
534
534
  export const X509BasicConstraintsExtension: {
535
- new(): X509BasicConstraintsExtension$instance;
536
- new(certificateAuthority: boolean, hasPathLengthConstraint: boolean, pathLengthConstraint: int, critical: boolean): X509BasicConstraintsExtension$instance;
537
- new(encodedBasicConstraints: AsnEncodedData, critical: boolean): X509BasicConstraintsExtension$instance;
535
+ new(): X509BasicConstraintsExtension;
536
+ new(certificateAuthority: boolean, hasPathLengthConstraint: boolean, pathLengthConstraint: int, critical: boolean): X509BasicConstraintsExtension;
537
+ new(encodedBasicConstraints: AsnEncodedData, critical: boolean): X509BasicConstraintsExtension;
538
538
  createForCertificateAuthority(pathLengthConstraint?: Nullable_1<System_Internal.Int32>): X509BasicConstraintsExtension;
539
539
  createForEndEntity(critical?: boolean): X509BasicConstraintsExtension;
540
540
  };
@@ -551,10 +551,10 @@ export interface X509Certificate$instance {
551
551
  equals(obj: unknown): boolean;
552
552
  equals(other: X509Certificate): boolean;
553
553
  export_(contentType: X509ContentType): byte[];
554
- export_(contentType: X509ContentType, password: string): byte[];
555
- export_(contentType: X509ContentType, password: SecureString): byte[];
556
- exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string): byte[];
557
- exportPkcs12(exportParameters: PbeParameters, password: string): byte[];
554
+ export_(contentType: X509ContentType, password: string | undefined): byte[];
555
+ export_(contentType: X509ContentType, password: SecureString | undefined): byte[];
556
+ exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string | undefined): byte[];
557
+ exportPkcs12(exportParameters: PbeParameters, password: string | undefined): byte[];
558
558
  getCertHash(): byte[];
559
559
  getCertHash(hashAlgorithm: HashAlgorithmName): byte[];
560
560
  getCertHashString(): string;
@@ -575,11 +575,11 @@ export interface X509Certificate$instance {
575
575
  getSerialNumber(): byte[];
576
576
  getSerialNumberString(): string;
577
577
  import_(rawData: byte[]): void;
578
- import_(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): void;
579
- import_(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
578
+ import_(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
579
+ import_(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
580
580
  import_(fileName: string): void;
581
- import_(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): void;
582
- import_(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
581
+ import_(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
582
+ import_(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
583
583
  reset(): void;
584
584
  toString(): string;
585
585
  toString(fVerbose: boolean): string;
@@ -588,20 +588,20 @@ export interface X509Certificate$instance {
588
588
 
589
589
 
590
590
  export const X509Certificate: {
591
- new(): X509Certificate$instance;
592
- new(data: byte[]): X509Certificate$instance;
593
- new(rawData: byte[], password: string): X509Certificate$instance;
594
- new(rawData: byte[], password: SecureString): X509Certificate$instance;
595
- new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate$instance;
596
- new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate$instance;
597
- new(handle: nint): X509Certificate$instance;
598
- new(fileName: string): X509Certificate$instance;
599
- new(fileName: string, password: string): X509Certificate$instance;
600
- new(fileName: string, password: SecureString): X509Certificate$instance;
601
- new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate$instance;
602
- new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate$instance;
603
- new(cert: X509Certificate): X509Certificate$instance;
604
- new(info: SerializationInfo, context: StreamingContext): X509Certificate$instance;
591
+ new(): X509Certificate;
592
+ new(data: byte[]): X509Certificate;
593
+ new(rawData: byte[], password: string | undefined): X509Certificate;
594
+ new(rawData: byte[], password: SecureString | undefined): X509Certificate;
595
+ new(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
596
+ new(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
597
+ new(handle: nint): X509Certificate;
598
+ new(fileName: string): X509Certificate;
599
+ new(fileName: string, password: string | undefined): X509Certificate;
600
+ new(fileName: string, password: SecureString | undefined): X509Certificate;
601
+ new(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
602
+ new(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
603
+ new(cert: X509Certificate): X509Certificate;
604
+ new(info: SerializationInfo, context: StreamingContext): X509Certificate;
605
605
  createFromCertFile(filename: string): X509Certificate;
606
606
  createFromSignedFile(filename: string): X509Certificate;
607
607
  };
@@ -626,7 +626,7 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
626
626
  readonly issuerName: X500DistinguishedName;
627
627
  readonly notAfter: DateTime;
628
628
  readonly notBefore: DateTime;
629
- privateKey: AsymmetricAlgorithm;
629
+ privateKey: AsymmetricAlgorithm | undefined;
630
630
  readonly publicKey: PublicKey;
631
631
  readonly rawData: byte[];
632
632
  readonly rawDataMemory: ReadOnlyMemory_1<System_Internal.Byte>;
@@ -655,13 +655,13 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
655
655
  getSlhDsaPrivateKey(): SlhDsa;
656
656
  getSlhDsaPublicKey(): SlhDsa;
657
657
  import_(rawData: byte[]): void;
658
- import_(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): void;
659
- import_(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
658
+ import_(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
659
+ import_(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
660
660
  import_(fileName: string): void;
661
- import_(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): void;
662
- import_(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
661
+ import_(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
662
+ import_(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
663
663
  matchesHostname(hostname: string, allowWildcards?: boolean, allowCommonName?: boolean): boolean;
664
- onDeserialization(sender: unknown): void;
664
+ onDeserialization(sender: unknown | undefined): void;
665
665
  reset(): void;
666
666
  toString(): string;
667
667
  toString(verbose: boolean): string;
@@ -671,27 +671,27 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
671
671
 
672
672
 
673
673
  export const X509Certificate2: {
674
- new(): X509Certificate2$instance;
675
- new(rawData: byte[]): X509Certificate2$instance;
676
- new(rawData: byte[], password: string): X509Certificate2$instance;
677
- new(rawData: byte[], password: SecureString): X509Certificate2$instance;
678
- new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
679
- new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
680
- new(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2$instance;
681
- new(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
682
- new(handle: nint): X509Certificate2$instance;
683
- new(fileName: string): X509Certificate2$instance;
684
- new(fileName: string, password: string): X509Certificate2$instance;
685
- new(fileName: string, password: SecureString): X509Certificate2$instance;
686
- new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
687
- new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
688
- new(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
689
- new(certificate: X509Certificate): X509Certificate2$instance;
674
+ new(): X509Certificate2;
675
+ new(rawData: byte[]): X509Certificate2;
676
+ new(rawData: byte[], password: string | undefined): X509Certificate2;
677
+ new(rawData: byte[], password: SecureString | undefined): X509Certificate2;
678
+ new(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
679
+ new(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
680
+ new(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
681
+ new(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
682
+ new(handle: nint): X509Certificate2;
683
+ new(fileName: string): X509Certificate2;
684
+ new(fileName: string, password: string | undefined): X509Certificate2;
685
+ new(fileName: string, password: SecureString | undefined): X509Certificate2;
686
+ new(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
687
+ new(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
688
+ new(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
689
+ new(certificate: X509Certificate): X509Certificate2;
690
690
  createFromEncryptedPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
691
- createFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<System_Internal.Char>, keyPemFilePath?: string): X509Certificate2;
691
+ createFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<System_Internal.Char>, keyPemFilePath?: string | undefined): X509Certificate2;
692
692
  createFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
693
693
  createFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
694
- createFromPemFile(certPemFilePath: string, keyPemFilePath?: string): X509Certificate2;
694
+ createFromPemFile(certPemFilePath: string, keyPemFilePath?: string | undefined): X509Certificate2;
695
695
  getCertContentType(rawData: byte[]): X509ContentType;
696
696
  getCertContentType(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509ContentType;
697
697
  getCertContentType(fileName: string): X509ContentType;
@@ -711,20 +711,20 @@ export type X509Certificate2 = X509Certificate2$instance & __X509Certificate2$vi
711
711
 
712
712
  export interface X509Certificate2Collection$instance extends X509CertificateCollection$instance {
713
713
  add(value: X509Certificate): int;
714
- add(value: unknown): int;
714
+ add(value: unknown | undefined): int;
715
715
  addRange(certificates: X509Certificate2Collection): void;
716
716
  addRange(value: X509Certificate[]): void;
717
717
  addRange(value: X509CertificateCollection): void;
718
718
  clear(): void;
719
719
  contains(value: X509Certificate): boolean;
720
- contains(value: unknown): boolean;
720
+ contains(value: unknown | undefined): boolean;
721
721
  copyTo(array: X509Certificate[], index: int): void;
722
722
  copyTo(array: ClrArray, index: int): void;
723
723
  export_(contentType: X509ContentType): byte[];
724
724
  export_(contentType: X509ContentType, password: string): byte[];
725
725
  exportCertificatePems(): string;
726
- exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string): byte[];
727
- exportPkcs12(exportParameters: PbeParameters, password: string): byte[];
726
+ exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string | undefined): byte[];
727
+ exportPkcs12(exportParameters: PbeParameters, password: string | undefined): byte[];
728
728
  exportPkcs7Pem(): string;
729
729
  find(findType: X509FindType, findValue: unknown, validOnly: boolean): X509Certificate2Collection;
730
730
  findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: string): X509Certificate2Collection;
@@ -734,19 +734,19 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
734
734
  getEnumerator(): IEnumerator;
735
735
  import_(rawData: byte[]): void;
736
736
  import_(rawData: ReadOnlySpan_1<System_Internal.Byte>): void;
737
- import_(rawData: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags): void;
738
- import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
737
+ import_(rawData: byte[], password: string | undefined, keyStorageFlags?: X509KeyStorageFlags): void;
738
+ import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags): void;
739
739
  import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
740
740
  import_(fileName: string): void;
741
- import_(fileName: string, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
741
+ import_(fileName: string, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags): void;
742
742
  import_(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
743
743
  importFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): void;
744
744
  importFromPemFile(certPemFilePath: string): void;
745
745
  indexOf(value: X509Certificate): int;
746
746
  insert(index: int, value: X509Certificate): void;
747
- insert(index: int, value: unknown): void;
747
+ insert(index: int, value: unknown | undefined): void;
748
748
  remove(value: X509Certificate): void;
749
- remove(value: unknown): void;
749
+ remove(value: unknown | undefined): void;
750
750
  removeAt(index: int): void;
751
751
  removeRange(certificates: X509Certificate2[]): void;
752
752
  removeRange(certificates: X509Certificate2Collection): void;
@@ -756,10 +756,10 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
756
756
 
757
757
 
758
758
  export const X509Certificate2Collection: {
759
- new(): X509Certificate2Collection$instance;
760
- new(certificate: X509Certificate2): X509Certificate2Collection$instance;
761
- new(certificates: X509Certificate2[]): X509Certificate2Collection$instance;
762
- new(certificates: X509Certificate2Collection): X509Certificate2Collection$instance;
759
+ new(): X509Certificate2Collection;
760
+ new(certificate: X509Certificate2): X509Certificate2Collection;
761
+ new(certificates: X509Certificate2[]): X509Certificate2Collection;
762
+ new(certificates: X509Certificate2Collection): X509Certificate2Collection;
763
763
  };
764
764
 
765
765
 
@@ -781,7 +781,7 @@ export interface X509Certificate2Enumerator$instance {
781
781
 
782
782
 
783
783
  export const X509Certificate2Enumerator: {
784
- new(): X509Certificate2Enumerator$instance;
784
+ new(): X509Certificate2Enumerator;
785
785
  };
786
786
 
787
787
 
@@ -796,25 +796,25 @@ export type X509Certificate2Enumerator = X509Certificate2Enumerator$instance & _
796
796
 
797
797
  export interface X509CertificateCollection$instance extends CollectionBase {
798
798
  item: X509Certificate | X509Certificate2;
799
- add(value: unknown): int;
799
+ add(value: unknown | undefined): int;
800
800
  addRange(value: X509Certificate[]): void;
801
801
  addRange(value: X509CertificateCollection): void;
802
802
  clear(): void;
803
- contains(value: unknown): boolean;
803
+ contains(value: unknown | undefined): boolean;
804
804
  copyTo(array: ClrArray, index: int): void;
805
805
  getEnumerator(): IEnumerator;
806
806
  getHashCode(): int;
807
807
  indexOf(value: X509Certificate): int;
808
- insert(index: int, value: unknown): void;
809
- remove(value: unknown): void;
808
+ insert(index: int, value: unknown | undefined): void;
809
+ remove(value: unknown | undefined): void;
810
810
  removeAt(index: int): void;
811
811
  }
812
812
 
813
813
 
814
814
  export const X509CertificateCollection: {
815
- new(): X509CertificateCollection$instance;
816
- new(value: X509Certificate[]): X509CertificateCollection$instance;
817
- new(value: X509CertificateCollection): X509CertificateCollection$instance;
815
+ new(): X509CertificateCollection;
816
+ new(value: X509Certificate[]): X509CertificateCollection;
817
+ new(value: X509CertificateCollection): X509CertificateCollection;
818
818
  };
819
819
 
820
820
 
@@ -828,14 +828,14 @@ export type X509CertificateCollection = X509CertificateCollection$instance & __X
828
828
 
829
829
 
830
830
  export interface X509CertificateCollection_X509CertificateEnumerator$instance {
831
- readonly current: unknown | X509Certificate;
831
+ readonly current: X509Certificate;
832
832
  moveNext(): boolean;
833
833
  reset(): void;
834
834
  }
835
835
 
836
836
 
837
837
  export const X509CertificateCollection_X509CertificateEnumerator: {
838
- new(mappings: X509CertificateCollection): X509CertificateCollection_X509CertificateEnumerator$instance;
838
+ new(mappings: X509CertificateCollection): X509CertificateCollection_X509CertificateEnumerator;
839
839
  };
840
840
 
841
841
 
@@ -859,9 +859,9 @@ export interface X509Chain$instance {
859
859
 
860
860
 
861
861
  export const X509Chain: {
862
- new(): X509Chain$instance;
863
- new(useMachineContext: boolean): X509Chain$instance;
864
- new(chainContext: nint): X509Chain$instance;
862
+ new(): X509Chain;
863
+ new(useMachineContext: boolean): X509Chain;
864
+ new(chainContext: nint): X509Chain;
865
865
  create(): X509Chain;
866
866
  };
867
867
 
@@ -883,7 +883,7 @@ export interface X509ChainElement$instance {
883
883
 
884
884
 
885
885
  export const X509ChainElement: {
886
- new(): X509ChainElement$instance;
886
+ new(): X509ChainElement;
887
887
  };
888
888
 
889
889
 
@@ -900,7 +900,7 @@ export interface X509ChainElementCollection$instance {
900
900
 
901
901
 
902
902
  export const X509ChainElementCollection: {
903
- new(): X509ChainElementCollection$instance;
903
+ new(): X509ChainElementCollection;
904
904
  };
905
905
 
906
906
 
@@ -921,7 +921,7 @@ export interface X509ChainElementEnumerator$instance {
921
921
 
922
922
 
923
923
  export const X509ChainElementEnumerator: {
924
- new(): X509ChainElementEnumerator$instance;
924
+ new(): X509ChainElementEnumerator;
925
925
  };
926
926
 
927
927
 
@@ -953,7 +953,7 @@ export interface X509ChainPolicy$instance {
953
953
 
954
954
 
955
955
  export const X509ChainPolicy: {
956
- new(): X509ChainPolicy$instance;
956
+ new(): X509ChainPolicy;
957
957
  };
958
958
 
959
959
 
@@ -966,9 +966,9 @@ export interface X509EnhancedKeyUsageExtension$instance extends X509Extension {
966
966
 
967
967
 
968
968
  export const X509EnhancedKeyUsageExtension: {
969
- new(): X509EnhancedKeyUsageExtension$instance;
970
- new(encodedEnhancedKeyUsages: AsnEncodedData, critical: boolean): X509EnhancedKeyUsageExtension$instance;
971
- new(enhancedKeyUsages: OidCollection, critical: boolean): X509EnhancedKeyUsageExtension$instance;
969
+ new(): X509EnhancedKeyUsageExtension;
970
+ new(encodedEnhancedKeyUsages: AsnEncodedData, critical: boolean): X509EnhancedKeyUsageExtension;
971
+ new(enhancedKeyUsages: OidCollection, critical: boolean): X509EnhancedKeyUsageExtension;
972
972
  };
973
973
 
974
974
 
@@ -981,11 +981,11 @@ export interface X509Extension$instance extends AsnEncodedData {
981
981
 
982
982
 
983
983
  export const X509Extension: {
984
- new(encodedExtension: AsnEncodedData, critical: boolean): X509Extension$instance;
985
- new(oid: Oid, rawData: byte[], critical: boolean): X509Extension$instance;
986
- new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509Extension$instance;
987
- new(oid: string, rawData: byte[], critical: boolean): X509Extension$instance;
988
- new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509Extension$instance;
984
+ new(encodedExtension: AsnEncodedData, critical: boolean): X509Extension;
985
+ new(oid: Oid, rawData: byte[], critical: boolean): X509Extension;
986
+ new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509Extension;
987
+ new(oid: string, rawData: byte[], critical: boolean): X509Extension;
988
+ new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509Extension;
989
989
  };
990
990
 
991
991
 
@@ -1004,7 +1004,7 @@ export interface X509ExtensionCollection$instance {
1004
1004
 
1005
1005
 
1006
1006
  export const X509ExtensionCollection: {
1007
- new(): X509ExtensionCollection$instance;
1007
+ new(): X509ExtensionCollection;
1008
1008
  };
1009
1009
 
1010
1010
 
@@ -1025,7 +1025,7 @@ export interface X509ExtensionEnumerator$instance {
1025
1025
 
1026
1026
 
1027
1027
  export const X509ExtensionEnumerator: {
1028
- new(): X509ExtensionEnumerator$instance;
1028
+ new(): X509ExtensionEnumerator;
1029
1029
  };
1030
1030
 
1031
1031
 
@@ -1045,9 +1045,9 @@ export interface X509KeyUsageExtension$instance extends X509Extension {
1045
1045
 
1046
1046
 
1047
1047
  export const X509KeyUsageExtension: {
1048
- new(): X509KeyUsageExtension$instance;
1049
- new(encodedKeyUsage: AsnEncodedData, critical: boolean): X509KeyUsageExtension$instance;
1050
- new(keyUsages: X509KeyUsageFlags, critical: boolean): X509KeyUsageExtension$instance;
1048
+ new(): X509KeyUsageExtension;
1049
+ new(encodedKeyUsage: AsnEncodedData, critical: boolean): X509KeyUsageExtension;
1050
+ new(keyUsages: X509KeyUsageFlags, critical: boolean): X509KeyUsageExtension;
1051
1051
  };
1052
1052
 
1053
1053
 
@@ -1088,15 +1088,15 @@ export interface X509Store$instance {
1088
1088
 
1089
1089
 
1090
1090
  export const X509Store: {
1091
- new(): X509Store$instance;
1092
- new(storeName: string): X509Store$instance;
1093
- new(storeName: StoreName): X509Store$instance;
1094
- new(storeLocation: StoreLocation): X509Store$instance;
1095
- new(storeName: StoreName, storeLocation: StoreLocation): X509Store$instance;
1096
- new(storeName: StoreName, storeLocation: StoreLocation, flags: OpenFlags): X509Store$instance;
1097
- new(storeName: string, storeLocation: StoreLocation): X509Store$instance;
1098
- new(storeName: string, storeLocation: StoreLocation, flags: OpenFlags): X509Store$instance;
1099
- new(storeHandle: nint): X509Store$instance;
1091
+ new(): X509Store;
1092
+ new(storeName: string): X509Store;
1093
+ new(storeName: StoreName): X509Store;
1094
+ new(storeLocation: StoreLocation): X509Store;
1095
+ new(storeName: StoreName, storeLocation: StoreLocation): X509Store;
1096
+ new(storeName: StoreName, storeLocation: StoreLocation, flags: OpenFlags): X509Store;
1097
+ new(storeName: string, storeLocation: StoreLocation): X509Store;
1098
+ new(storeName: string, storeLocation: StoreLocation, flags: OpenFlags): X509Store;
1099
+ new(storeHandle: nint): X509Store;
1100
1100
  };
1101
1101
 
1102
1102
 
@@ -1117,29 +1117,29 @@ export interface X509SubjectAlternativeNameExtension$instance extends X509Extens
1117
1117
 
1118
1118
 
1119
1119
  export const X509SubjectAlternativeNameExtension: {
1120
- new(): X509SubjectAlternativeNameExtension$instance;
1121
- new(rawData: byte[], critical: boolean): X509SubjectAlternativeNameExtension$instance;
1122
- new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509SubjectAlternativeNameExtension$instance;
1120
+ new(): X509SubjectAlternativeNameExtension;
1121
+ new(rawData: byte[], critical: boolean): X509SubjectAlternativeNameExtension;
1122
+ new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509SubjectAlternativeNameExtension;
1123
1123
  };
1124
1124
 
1125
1125
 
1126
1126
  export type X509SubjectAlternativeNameExtension = X509SubjectAlternativeNameExtension$instance;
1127
1127
 
1128
1128
  export interface X509SubjectKeyIdentifierExtension$instance extends X509Extension {
1129
- readonly subjectKeyIdentifier: string;
1129
+ readonly subjectKeyIdentifier: string | undefined;
1130
1130
  readonly subjectKeyIdentifierBytes: ReadOnlyMemory_1<System_Internal.Byte>;
1131
1131
  copyFrom(asnEncodedData: AsnEncodedData): void;
1132
1132
  }
1133
1133
 
1134
1134
 
1135
1135
  export const X509SubjectKeyIdentifierExtension: {
1136
- new(): X509SubjectKeyIdentifierExtension$instance;
1137
- new(encodedSubjectKeyIdentifier: AsnEncodedData, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
1138
- new(subjectKeyIdentifier: byte[], critical: boolean): X509SubjectKeyIdentifierExtension$instance;
1139
- new(subjectKeyIdentifier: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
1140
- new(key: PublicKey, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
1141
- new(key: PublicKey, algorithm: X509SubjectKeyIdentifierHashAlgorithm, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
1142
- new(subjectKeyIdentifier: string, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
1136
+ new(): X509SubjectKeyIdentifierExtension;
1137
+ new(encodedSubjectKeyIdentifier: AsnEncodedData, critical: boolean): X509SubjectKeyIdentifierExtension;
1138
+ new(subjectKeyIdentifier: byte[], critical: boolean): X509SubjectKeyIdentifierExtension;
1139
+ new(subjectKeyIdentifier: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509SubjectKeyIdentifierExtension;
1140
+ new(key: PublicKey, critical: boolean): X509SubjectKeyIdentifierExtension;
1141
+ new(key: PublicKey, algorithm: X509SubjectKeyIdentifierHashAlgorithm, critical: boolean): X509SubjectKeyIdentifierExtension;
1142
+ new(subjectKeyIdentifier: string, critical: boolean): X509SubjectKeyIdentifierExtension;
1143
1143
  };
1144
1144
 
1145
1145
 
@@ -1147,8 +1147,8 @@ export type X509SubjectKeyIdentifierExtension = X509SubjectKeyIdentifierExtensio
1147
1147
 
1148
1148
  export abstract class DSACertificateExtensions$instance {
1149
1149
  static copyWithPrivateKey(certificate: X509Certificate2, privateKey: DSA): X509Certificate2;
1150
- static getDSAPrivateKey(certificate: X509Certificate2): DSA;
1151
- static getDSAPublicKey(certificate: X509Certificate2): DSA;
1150
+ static getDSAPrivateKey(certificate: X509Certificate2): DSA | undefined;
1151
+ static getDSAPublicKey(certificate: X509Certificate2): DSA | undefined;
1152
1152
  }
1153
1153
 
1154
1154
 
@@ -1156,8 +1156,8 @@ export type DSACertificateExtensions = DSACertificateExtensions$instance;
1156
1156
 
1157
1157
  export abstract class ECDsaCertificateExtensions$instance {
1158
1158
  static copyWithPrivateKey(certificate: X509Certificate2, privateKey: ECDsa): X509Certificate2;
1159
- static getECDsaPrivateKey(certificate: X509Certificate2): ECDsa;
1160
- static getECDsaPublicKey(certificate: X509Certificate2): ECDsa;
1159
+ static getECDsaPrivateKey(certificate: X509Certificate2): ECDsa | undefined;
1160
+ static getECDsaPublicKey(certificate: X509Certificate2): ECDsa | undefined;
1161
1161
  }
1162
1162
 
1163
1163
 
@@ -1165,8 +1165,8 @@ export type ECDsaCertificateExtensions = ECDsaCertificateExtensions$instance;
1165
1165
 
1166
1166
  export abstract class RSACertificateExtensions$instance {
1167
1167
  static copyWithPrivateKey(certificate: X509Certificate2, privateKey: RSA): X509Certificate2;
1168
- static getRSAPrivateKey(certificate: X509Certificate2): RSA;
1169
- static getRSAPublicKey(certificate: X509Certificate2): RSA;
1168
+ static getRSAPrivateKey(certificate: X509Certificate2): RSA | undefined;
1169
+ static getRSAPublicKey(certificate: X509Certificate2): RSA | undefined;
1170
1170
  }
1171
1171
 
1172
1172
 
@@ -1176,14 +1176,14 @@ export abstract class X509CertificateLoader$instance {
1176
1176
  static loadCertificate(data: byte[]): X509Certificate2;
1177
1177
  static loadCertificate(data: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
1178
1178
  static loadCertificateFromFile(path: string): X509Certificate2;
1179
- static loadPkcs12(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
1180
- static loadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
1181
- static loadPkcs12Collection(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
1182
- static loadPkcs12Collection(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
1183
- static loadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
1184
- static loadPkcs12CollectionFromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
1185
- static loadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
1186
- static loadPkcs12FromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
1179
+ static loadPkcs12(data: byte[], password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
1180
+ static loadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
1181
+ static loadPkcs12Collection(data: byte[], password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
1182
+ static loadPkcs12Collection(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
1183
+ static loadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
1184
+ static loadPkcs12CollectionFromFile(path: string, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
1185
+ static loadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
1186
+ static loadPkcs12FromFile(path: string, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
1187
1187
  }
1188
1188
 
1189
1189