@tsonic/microsoft-extensions 10.0.2 → 10.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +3 -3
  2. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +1 -2
  3. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +7 -11
  4. package/Microsoft.Extensions.Configuration/internal/index.d.ts +25 -37
  5. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +1 -1
  6. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +1 -1
  7. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +1 -1
  8. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +1 -1
  9. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +3 -8
  10. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +1 -2
  11. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +2 -3
  12. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +7 -7
  13. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +2 -7
  14. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +4 -12
  15. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +3 -6
  16. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +1 -1
  17. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +5 -8
  18. package/Microsoft.Extensions.Hosting/internal/index.d.ts +13 -13
  19. package/Microsoft.Extensions.Http/internal/index.d.ts +3 -3
  20. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +6 -14
  21. package/Microsoft.Extensions.Localization/internal/index.d.ts +8 -12
  22. package/Microsoft.Extensions.Logging/internal/index.d.ts +4 -8
  23. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +2 -5
  24. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +6 -7
  25. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +4 -4
  26. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +2 -7
  27. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +3 -6
  28. package/Microsoft.Extensions.Options/internal/index.d.ts +24 -27
  29. package/Microsoft.Extensions.Primitives/internal/index.d.ts +3 -4
  30. package/Microsoft.Extensions.Validation/internal/index.d.ts +11 -26
  31. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +1 -1
  32. package/System.Diagnostics/internal/index.d.ts +9 -22
  33. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +26 -76
  34. package/System.Security.Cryptography/internal/index.d.ts +1 -2
  35. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +11 -27
  36. package/System.Security.Cryptography.Xml/internal/index.d.ts +77 -115
  37. package/package.json +1 -1
@@ -116,7 +116,6 @@ export interface EventKeyword$instance {
116
116
 
117
117
 
118
118
  export const EventKeyword: {
119
- new(): EventKeyword;
120
119
  };
121
120
 
122
121
 
@@ -130,24 +129,18 @@ export interface EventLevel$instance {
130
129
 
131
130
 
132
131
  export const EventLevel: {
133
- new(): EventLevel;
134
132
  };
135
133
 
136
134
 
137
135
  export type EventLevel = EventLevel$instance;
138
136
 
139
- export abstract class EventLogConfiguration$protected {
140
- protected Dispose(disposing: boolean): void;
141
- }
142
-
143
-
144
- export interface EventLogConfiguration$instance extends EventLogConfiguration$protected {
137
+ export interface EventLogConfiguration$instance {
145
138
  readonly IsClassicLog: boolean;
146
139
  IsEnabled: boolean;
147
140
  LogFilePath: string;
148
141
  readonly LogIsolation: EventLogIsolation;
149
142
  LogMode: EventLogMode;
150
- readonly LogName: string | undefined;
143
+ readonly LogName: string;
151
144
  readonly LogType: EventLogType;
152
145
  MaximumSizeInBytes: long;
153
146
  readonly OwningProviderName: string;
@@ -161,6 +154,7 @@ export interface EventLogConfiguration$instance extends EventLogConfiguration$pr
161
154
  readonly ProviderNames: IEnumerable<System_Internal.String>;
162
155
  SecurityDescriptor: string;
163
156
  Dispose(): void;
157
+ Dispose(disposing: boolean): void;
164
158
  SaveChanges(): void;
165
159
  }
166
160
 
@@ -181,8 +175,6 @@ export interface EventLogException$instance extends Exception {
181
175
 
182
176
  export const EventLogException: {
183
177
  new(): EventLogException;
184
- new(errorCode: int): EventLogException;
185
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogException;
186
178
  new(message: string): EventLogException;
187
179
  new(message: string, innerException: Exception): EventLogException;
188
180
  };
@@ -203,7 +195,6 @@ export interface EventLogInformation$instance {
203
195
 
204
196
 
205
197
  export const EventLogInformation: {
206
- new(): EventLogInformation;
207
198
  };
208
199
 
209
200
 
@@ -215,7 +206,6 @@ export interface EventLogInvalidDataException$instance extends EventLogException
215
206
 
216
207
  export const EventLogInvalidDataException: {
217
208
  new(): EventLogInvalidDataException;
218
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogInvalidDataException;
219
209
  new(message: string): EventLogInvalidDataException;
220
210
  new(message: string, innerException: Exception): EventLogInvalidDataException;
221
211
  };
@@ -226,12 +216,11 @@ export type EventLogInvalidDataException = EventLogInvalidDataException$instance
226
216
  export interface EventLogLink$instance {
227
217
  readonly DisplayName: string;
228
218
  readonly IsImported: boolean;
229
- readonly LogName: string | undefined;
219
+ readonly LogName: string;
230
220
  }
231
221
 
232
222
 
233
223
  export const EventLogLink: {
234
- new(): EventLogLink;
235
224
  };
236
225
 
237
226
 
@@ -243,7 +232,6 @@ export interface EventLogNotFoundException$instance extends EventLogException {
243
232
 
244
233
  export const EventLogNotFoundException: {
245
234
  new(): EventLogNotFoundException;
246
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogNotFoundException;
247
235
  new(message: string): EventLogNotFoundException;
248
236
  new(message: string, innerException: Exception): EventLogNotFoundException;
249
237
  };
@@ -251,13 +239,9 @@ export const EventLogNotFoundException: {
251
239
 
252
240
  export type EventLogNotFoundException = EventLogNotFoundException$instance;
253
241
 
254
- export abstract class EventLogPropertySelector$protected {
255
- protected Dispose(disposing: boolean): void;
256
- }
257
-
258
-
259
- export interface EventLogPropertySelector$instance extends EventLogPropertySelector$protected {
242
+ export interface EventLogPropertySelector$instance {
260
243
  Dispose(): void;
244
+ Dispose(disposing: boolean): void;
261
245
  }
262
246
 
263
247
 
@@ -274,7 +258,6 @@ export interface EventLogProviderDisabledException$instance extends EventLogExce
274
258
 
275
259
  export const EventLogProviderDisabledException: {
276
260
  new(): EventLogProviderDisabledException;
277
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogProviderDisabledException;
278
261
  new(message: string): EventLogProviderDisabledException;
279
262
  new(message: string, innerException: Exception): EventLogProviderDisabledException;
280
263
  };
@@ -297,16 +280,12 @@ export const EventLogQuery: {
297
280
 
298
281
  export type EventLogQuery = EventLogQuery$instance;
299
282
 
300
- export abstract class EventLogReader$protected {
301
- protected Dispose(disposing: boolean): void;
302
- }
303
-
304
-
305
- export interface EventLogReader$instance extends EventLogReader$protected {
283
+ export interface EventLogReader$instance {
306
284
  BatchSize: int;
307
285
  readonly LogStatus: IList<EventLogStatus>;
308
286
  CancelReading(): void;
309
287
  Dispose(): void;
288
+ Dispose(disposing: boolean): void;
310
289
  ReadEvent(): EventRecord;
311
290
  ReadEvent(timeout: TimeSpan): EventRecord;
312
291
  Seek(bookmark: EventBookmark): void;
@@ -331,7 +310,6 @@ export interface EventLogReadingException$instance extends EventLogException {
331
310
 
332
311
  export const EventLogReadingException: {
333
312
  new(): EventLogReadingException;
334
- new(serializationInfo: SerializationInfo, streamingContext: StreamingContext): EventLogReadingException;
335
313
  new(message: string): EventLogReadingException;
336
314
  new(message: string, innerException: Exception): EventLogReadingException;
337
315
  };
@@ -339,12 +317,7 @@ export const EventLogReadingException: {
339
317
 
340
318
  export type EventLogReadingException = EventLogReadingException$instance;
341
319
 
342
- export abstract class EventLogRecord$protected {
343
- protected Dispose2(disposing: boolean): void;
344
- }
345
-
346
-
347
- export interface EventLogRecord$instance extends EventLogRecord$protected, EventRecord {
320
+ export interface EventLogRecord$instance extends EventRecord {
348
321
  readonly ActivityId: Nullable<Guid>;
349
322
  readonly Bookmark: EventBookmark;
350
323
  readonly ContainerLog: string;
@@ -353,15 +326,15 @@ export interface EventLogRecord$instance extends EventLogRecord$protected, Event
353
326
  readonly KeywordsDisplayNames: IEnumerable<System_Internal.String>;
354
327
  readonly Level: Nullable<System_Internal.Byte>;
355
328
  readonly LevelDisplayName: string;
356
- readonly LogName: string | undefined;
357
- readonly MachineName: string | undefined;
329
+ readonly LogName: string;
330
+ readonly MachineName: string;
358
331
  readonly MatchedQueryIds: IEnumerable<System_Internal.Int32>;
359
332
  readonly Opcode: Nullable<System_Internal.Int16>;
360
333
  readonly OpcodeDisplayName: string;
361
334
  readonly ProcessId: Nullable<System_Internal.Int32>;
362
335
  readonly Properties: IList<EventProperty>;
363
336
  readonly ProviderId: Nullable<Guid>;
364
- readonly ProviderName: string | undefined;
337
+ readonly ProviderName: string;
365
338
  readonly Qualifiers: Nullable<System_Internal.Int32>;
366
339
  readonly RecordId: Nullable<System_Internal.Int64>;
367
340
  readonly RelatedActivityId: Nullable<Guid>;
@@ -371,6 +344,7 @@ export interface EventLogRecord$instance extends EventLogRecord$protected, Event
371
344
  readonly TimeCreated: Nullable<DateTime>;
372
345
  readonly UserId: SecurityIdentifier;
373
346
  readonly Version: Nullable<System_Internal.Byte>;
347
+ Dispose(disposing: boolean): void;
374
348
  Dispose(): void;
375
349
  FormatDescription(): string;
376
350
  FormatDescription(values: IEnumerable<unknown>): string;
@@ -380,22 +354,17 @@ export interface EventLogRecord$instance extends EventLogRecord$protected, Event
380
354
 
381
355
 
382
356
  export const EventLogRecord: {
383
- new(): EventLogRecord;
384
357
  };
385
358
 
386
359
 
387
360
  export type EventLogRecord = EventLogRecord$instance;
388
361
 
389
- export abstract class EventLogSession$protected {
390
- protected Dispose(disposing: boolean): void;
391
- }
392
-
393
-
394
- export interface EventLogSession$instance extends EventLogSession$protected {
362
+ export interface EventLogSession$instance {
395
363
  CancelCurrentOperations(): void;
396
364
  ClearLog(logName: string): void;
397
365
  ClearLog(logName: string, backupPath: string): void;
398
366
  Dispose(): void;
367
+ Dispose(disposing: boolean): void;
399
368
  ExportLog(path: string, pathType: PathType, query: string, targetFilePath: string): void;
400
369
  ExportLog(path: string, pathType: PathType, query: string, targetFilePath: string, tolerateQueryErrors: boolean): void;
401
370
  ExportLogAndMessages(path: string, pathType: PathType, query: string, targetFilePath: string): void;
@@ -417,26 +386,21 @@ export const EventLogSession: {
417
386
  export type EventLogSession = EventLogSession$instance;
418
387
 
419
388
  export interface EventLogStatus$instance {
420
- readonly LogName: string | undefined;
389
+ readonly LogName: string;
421
390
  readonly StatusCode: int;
422
391
  }
423
392
 
424
393
 
425
394
  export const EventLogStatus: {
426
- new(): EventLogStatus;
427
395
  };
428
396
 
429
397
 
430
398
  export type EventLogStatus = EventLogStatus$instance;
431
399
 
432
- export abstract class EventLogWatcher$protected {
433
- protected Dispose(disposing: boolean): void;
434
- }
435
-
436
-
437
- export interface EventLogWatcher$instance extends EventLogWatcher$protected {
400
+ export interface EventLogWatcher$instance {
438
401
  Enabled: boolean;
439
402
  Dispose(): void;
403
+ Dispose(disposing: boolean): void;
440
404
  }
441
405
 
442
406
 
@@ -464,7 +428,6 @@ export interface EventMetadata$instance {
464
428
 
465
429
 
466
430
  export const EventMetadata: {
467
- new(): EventMetadata;
468
431
  };
469
432
 
470
433
 
@@ -478,7 +441,6 @@ export interface EventOpcode$instance {
478
441
 
479
442
 
480
443
  export const EventOpcode: {
481
- new(): EventOpcode;
482
444
  };
483
445
 
484
446
 
@@ -490,18 +452,12 @@ export interface EventProperty$instance {
490
452
 
491
453
 
492
454
  export const EventProperty: {
493
- new(): EventProperty;
494
455
  };
495
456
 
496
457
 
497
458
  export type EventProperty = EventProperty$instance;
498
459
 
499
- export abstract class EventRecord$protected {
500
- protected Dispose(disposing: boolean): void;
501
- }
502
-
503
-
504
- export interface EventRecord$instance extends EventRecord$protected {
460
+ export interface EventRecord$instance {
505
461
  readonly ActivityId: Nullable<Guid>;
506
462
  readonly Bookmark: EventBookmark;
507
463
  readonly Id: int;
@@ -509,14 +465,14 @@ export interface EventRecord$instance extends EventRecord$protected {
509
465
  readonly KeywordsDisplayNames: IEnumerable<System_Internal.String>;
510
466
  readonly Level: Nullable<System_Internal.Byte>;
511
467
  readonly LevelDisplayName: string;
512
- readonly LogName: string | undefined;
513
- readonly MachineName: string | undefined;
468
+ readonly LogName: string;
469
+ readonly MachineName: string;
514
470
  readonly Opcode: Nullable<System_Internal.Int16>;
515
471
  readonly OpcodeDisplayName: string;
516
472
  readonly ProcessId: Nullable<System_Internal.Int32>;
517
473
  readonly Properties: IList<EventProperty>;
518
474
  readonly ProviderId: Nullable<Guid>;
519
- readonly ProviderName: string | undefined;
475
+ readonly ProviderName: string;
520
476
  readonly Qualifiers: Nullable<System_Internal.Int32>;
521
477
  readonly RecordId: Nullable<System_Internal.Int64>;
522
478
  readonly RelatedActivityId: Nullable<Guid>;
@@ -527,14 +483,14 @@ export interface EventRecord$instance extends EventRecord$protected {
527
483
  readonly UserId: SecurityIdentifier;
528
484
  readonly Version: Nullable<System_Internal.Byte>;
529
485
  Dispose(): void;
486
+ Dispose(disposing: boolean): void;
530
487
  FormatDescription(): string;
531
488
  FormatDescription(values: IEnumerable<unknown>): string;
532
489
  ToXml(): string;
533
490
  }
534
491
 
535
492
 
536
- export const EventRecord: {
537
- new(): EventRecord;
493
+ export const EventRecord: (abstract new() => EventRecord) & {
538
494
  };
539
495
 
540
496
 
@@ -547,7 +503,6 @@ export interface EventRecordWrittenEventArgs$instance extends EventArgs {
547
503
 
548
504
 
549
505
  export const EventRecordWrittenEventArgs: {
550
- new(): EventRecordWrittenEventArgs;
551
506
  };
552
507
 
553
508
 
@@ -562,18 +517,12 @@ export interface EventTask$instance {
562
517
 
563
518
 
564
519
  export const EventTask: {
565
- new(): EventTask;
566
520
  };
567
521
 
568
522
 
569
523
  export type EventTask = EventTask$instance;
570
524
 
571
- export abstract class ProviderMetadata$protected {
572
- protected Dispose(disposing: boolean): void;
573
- }
574
-
575
-
576
- export interface ProviderMetadata$instance extends ProviderMetadata$protected {
525
+ export interface ProviderMetadata$instance {
577
526
  readonly DisplayName: string;
578
527
  readonly Events: IEnumerable<EventMetadata>;
579
528
  readonly HelpLink: Uri;
@@ -588,6 +537,7 @@ export interface ProviderMetadata$instance extends ProviderMetadata$protected {
588
537
  readonly ResourceFilePath: string;
589
538
  readonly Tasks: IList<EventTask>;
590
539
  Dispose(): void;
540
+ Dispose(disposing: boolean): void;
591
541
  }
592
542
 
593
543
 
@@ -29,7 +29,7 @@ export type CryptographicAttributeObject = CryptographicAttributeObject$instance
29
29
  export interface CryptographicAttributeObjectCollection$instance {
30
30
  readonly Count: int;
31
31
  readonly IsSynchronized: boolean;
32
- readonly Item: CryptographicAttributeObject;
32
+ readonly [index: number]: CryptographicAttributeObject;
33
33
  readonly SyncRoot: unknown;
34
34
  Add(asnEncodedData: AsnEncodedData): int;
35
35
  Add(attribute: CryptographicAttributeObject): int;
@@ -55,7 +55,6 @@ export interface CryptographicAttributeObjectEnumerator$instance {
55
55
 
56
56
 
57
57
  export const CryptographicAttributeObjectEnumerator: {
58
- new(): CryptographicAttributeObjectEnumerator;
59
58
  };
60
59
 
61
60
 
@@ -95,7 +95,7 @@ export type CmsRecipient = CmsRecipient$instance;
95
95
  export interface CmsRecipientCollection$instance {
96
96
  readonly Count: int;
97
97
  readonly IsSynchronized: boolean;
98
- readonly Item: CmsRecipient;
98
+ readonly [index: number]: CmsRecipient;
99
99
  readonly SyncRoot: unknown;
100
100
  Add(recipient: CmsRecipient): int;
101
101
  CopyTo(array: ClrArray, index: int): void;
@@ -122,21 +122,21 @@ export interface CmsRecipientEnumerator$instance {
122
122
 
123
123
 
124
124
  export const CmsRecipientEnumerator: {
125
- new(): CmsRecipientEnumerator;
126
125
  };
127
126
 
128
127
 
129
128
  export type CmsRecipientEnumerator = CmsRecipientEnumerator$instance;
130
129
 
131
130
  export interface CmsSigner$instance {
132
- Certificate: X509Certificate2;
131
+ get Certificate(): X509Certificate2 | undefined;
132
+ set Certificate(value: X509Certificate2 | undefined);
133
133
  readonly Certificates: X509Certificate2Collection;
134
134
  DigestAlgorithm: Oid;
135
135
  IncludeOption: X509IncludeOption;
136
136
  get PrivateKey(): AsymmetricAlgorithm | undefined;
137
- set PrivateKey(value: AsymmetricAlgorithm);
137
+ set PrivateKey(value: AsymmetricAlgorithm | undefined);
138
138
  get SignaturePadding(): RSASignaturePadding | undefined;
139
- set SignaturePadding(value: RSASignaturePadding);
139
+ set SignaturePadding(value: RSASignaturePadding | undefined);
140
140
  readonly SignedAttributes: CryptographicAttributeObjectCollection;
141
141
  SignerIdentifierType: SubjectIdentifierType;
142
142
  readonly UnsignedAttributes: CryptographicAttributeObjectCollection;
@@ -216,7 +216,6 @@ export interface KeyAgreeRecipientInfo$instance extends RecipientInfo {
216
216
 
217
217
 
218
218
  export const KeyAgreeRecipientInfo: {
219
- new(): KeyAgreeRecipientInfo;
220
219
  };
221
220
 
222
221
 
@@ -231,7 +230,6 @@ export interface KeyTransRecipientInfo$instance extends RecipientInfo {
231
230
 
232
231
 
233
232
  export const KeyTransRecipientInfo: {
234
- new(): KeyTransRecipientInfo;
235
233
  };
236
234
 
237
235
 
@@ -283,7 +281,6 @@ export interface Pkcs12Info$instance {
283
281
 
284
282
 
285
283
  export const Pkcs12Info: {
286
- new(): Pkcs12Info;
287
284
  Decode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, bytesConsumed: int, skipCopy?: boolean): Pkcs12Info;
288
285
  };
289
286
 
@@ -311,8 +308,7 @@ export interface Pkcs12SafeBag$instance {
311
308
  }
312
309
 
313
310
 
314
- export const Pkcs12SafeBag: {
315
- new(bagIdValue: string, encodedBagValue: ReadOnlyMemory<System_Internal.Byte>, skipCopy: boolean): Pkcs12SafeBag;
311
+ export const Pkcs12SafeBag: (abstract new(bagIdValue: string, encodedBagValue: ReadOnlyMemory<System_Internal.Byte>, skipCopy: boolean) => Pkcs12SafeBag) & {
316
312
  };
317
313
 
318
314
 
@@ -347,12 +343,11 @@ export type Pkcs12SafeContents = Pkcs12SafeContents$instance;
347
343
 
348
344
  export interface Pkcs12SafeContentsBag$instance extends Pkcs12SafeBag {
349
345
  get SafeContents(): Pkcs12SafeContents | undefined;
350
- set SafeContents(value: Pkcs12SafeContents);
346
+ set SafeContents(value: Pkcs12SafeContents | undefined);
351
347
  }
352
348
 
353
349
 
354
350
  export const Pkcs12SafeContentsBag: {
355
- new(): Pkcs12SafeContentsBag;
356
351
  };
357
352
 
358
353
 
@@ -365,7 +360,6 @@ export interface Pkcs12SecretBag$instance extends Pkcs12SafeBag {
365
360
 
366
361
 
367
362
  export const Pkcs12SecretBag: {
368
- new(): Pkcs12SecretBag;
369
363
  };
370
364
 
371
365
 
@@ -517,7 +511,6 @@ export interface PublicKeyInfo$instance {
517
511
 
518
512
 
519
513
  export const PublicKeyInfo: {
520
- new(): PublicKeyInfo;
521
514
  };
522
515
 
523
516
 
@@ -541,7 +534,7 @@ export type RecipientInfo = RecipientInfo$instance;
541
534
  export interface RecipientInfoCollection$instance {
542
535
  readonly Count: int;
543
536
  readonly IsSynchronized: boolean;
544
- readonly Item: RecipientInfo;
537
+ readonly [index: number]: RecipientInfo;
545
538
  readonly SyncRoot: unknown;
546
539
  CopyTo(array: ClrArray, index: int): void;
547
540
  CopyTo(array: RecipientInfo[], index: int): void;
@@ -550,7 +543,6 @@ export interface RecipientInfoCollection$instance {
550
543
 
551
544
 
552
545
  export const RecipientInfoCollection: {
553
- new(): RecipientInfoCollection;
554
546
  };
555
547
 
556
548
 
@@ -564,7 +556,6 @@ export interface RecipientInfoEnumerator$instance {
564
556
 
565
557
 
566
558
  export const RecipientInfoEnumerator: {
567
- new(): RecipientInfoEnumerator;
568
559
  };
569
560
 
570
561
 
@@ -586,7 +577,6 @@ export interface Rfc3161TimestampRequest$instance {
586
577
 
587
578
 
588
579
  export const Rfc3161TimestampRequest: {
589
- new(): Rfc3161TimestampRequest;
590
580
  CreateFromData(data: ReadOnlySpan<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
591
581
  CreateFromHash(hash: ReadOnlyMemory<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
592
582
  CreateFromHash(hash: ReadOnlyMemory<System_Internal.Byte>, hashAlgorithmId: Oid, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
@@ -608,7 +598,6 @@ export interface Rfc3161TimestampToken$instance {
608
598
 
609
599
 
610
600
  export const Rfc3161TimestampToken: {
611
- new(): Rfc3161TimestampToken;
612
601
  TryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, token: Rfc3161TimestampToken, bytesConsumed: int): boolean;
613
602
  };
614
603
 
@@ -676,7 +665,7 @@ export const SignedCms: {
676
665
  export type SignedCms = SignedCms$instance;
677
666
 
678
667
  export interface SignerInfo$instance {
679
- readonly Certificate: X509Certificate2;
668
+ readonly Certificate: X509Certificate2 | undefined;
680
669
  readonly CounterSignerInfos: SignerInfoCollection;
681
670
  readonly DigestAlgorithm: Oid;
682
671
  readonly SignatureAlgorithm: Oid;
@@ -698,7 +687,6 @@ export interface SignerInfo$instance {
698
687
 
699
688
 
700
689
  export const SignerInfo: {
701
- new(): SignerInfo;
702
690
  };
703
691
 
704
692
 
@@ -707,7 +695,7 @@ export type SignerInfo = SignerInfo$instance;
707
695
  export interface SignerInfoCollection$instance {
708
696
  readonly Count: int;
709
697
  readonly IsSynchronized: boolean;
710
- readonly Item: SignerInfo;
698
+ readonly [index: number]: SignerInfo;
711
699
  readonly SyncRoot: unknown;
712
700
  CopyTo(array: ClrArray, index: int): void;
713
701
  CopyTo(array: SignerInfo[], index: int): void;
@@ -716,7 +704,6 @@ export interface SignerInfoCollection$instance {
716
704
 
717
705
 
718
706
  export const SignerInfoCollection: {
719
- new(): SignerInfoCollection;
720
707
  };
721
708
 
722
709
 
@@ -730,7 +717,6 @@ export interface SignerInfoEnumerator$instance {
730
717
 
731
718
 
732
719
  export const SignerInfoEnumerator: {
733
- new(): SignerInfoEnumerator;
734
720
  };
735
721
 
736
722
 
@@ -738,13 +724,12 @@ export type SignerInfoEnumerator = SignerInfoEnumerator$instance;
738
724
 
739
725
  export interface SubjectIdentifier$instance {
740
726
  readonly Type: SubjectIdentifierType;
741
- readonly Value: unknown;
727
+ readonly Value: unknown | undefined;
742
728
  MatchesCertificate(certificate: X509Certificate2): boolean;
743
729
  }
744
730
 
745
731
 
746
732
  export const SubjectIdentifier: {
747
- new(): SubjectIdentifier;
748
733
  };
749
734
 
750
735
 
@@ -757,7 +742,6 @@ export interface SubjectIdentifierOrKey$instance {
757
742
 
758
743
 
759
744
  export const SubjectIdentifierOrKey: {
760
- new(): SubjectIdentifierOrKey;
761
745
  };
762
746
 
763
747