@tsonic/microsoft-extensions 10.0.39 → 10.0.41

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 (62) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +11 -10
  2. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +10 -12
  3. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +38 -40
  4. package/Microsoft.Extensions.Configuration/internal/index.d.ts +69 -71
  5. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +6 -5
  6. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +6 -5
  7. package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +4 -3
  8. package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +3 -2
  9. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +5 -4
  10. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
  11. package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
  12. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +5 -4
  13. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +103 -102
  14. package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +24 -23
  15. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +22 -21
  16. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +30 -32
  17. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
  18. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
  19. package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
  20. package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
  21. package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
  22. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
  23. package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
  24. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
  25. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
  26. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
  27. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
  28. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +45 -44
  29. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +2 -2
  30. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
  31. package/Microsoft.Extensions.Hosting/internal/index.d.ts +30 -29
  32. package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
  33. package/Microsoft.Extensions.Http/internal/index.d.ts +5 -4
  34. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +12 -11
  35. package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
  36. package/Microsoft.Extensions.Localization/internal/index.d.ts +15 -14
  37. package/Microsoft.Extensions.Logging/internal/index.d.ts +78 -77
  38. package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
  39. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +13 -12
  40. package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +3 -2
  41. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
  42. package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
  43. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
  44. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
  45. package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
  46. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +4 -3
  47. package/Microsoft.Extensions.Options/internal/index.d.ts +104 -103
  48. package/Microsoft.Extensions.Primitives/bindings.json +0 -20
  49. package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -33
  50. package/Microsoft.Extensions.Primitives.d.ts +1 -1
  51. package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
  52. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
  53. package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
  54. package/README.md +45 -15
  55. package/System.Diagnostics/internal/index.d.ts +11 -10
  56. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +7 -6
  57. package/System.Net.Http/internal/index.d.ts +3 -2
  58. package/System.Security.Cryptography/internal/index.d.ts +5 -4
  59. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +48 -50
  60. package/System.Security.Cryptography.Xml/internal/index.d.ts +148 -150
  61. package/__internal/extensions/index.d.ts +186 -188
  62. package/package.json +3 -3
@@ -2,11 +2,9 @@
2
2
  // Namespace: System.Security.Cryptography.Pkcs
3
3
  // Assembly: System.Security.Cryptography.Pkcs
4
4
 
5
- // Primitive type aliases from @tsonic/core
6
- import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
5
+ // Core type aliases from @tsonic/core
6
+ import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
7
7
 
8
- // Import support types from @tsonic/core
9
- import type { ptr } from "@tsonic/core/types.js";
10
8
 
11
9
  // Import types from other namespaces
12
10
  import type { CryptographicAttributeObject, CryptographicAttributeObjectCollection } from "../../System.Security.Cryptography/internal/index.js";
@@ -82,7 +80,7 @@ export interface CmsRecipient$instance {
82
80
 
83
81
  readonly Certificate: X509Certificate2;
84
82
  readonly RecipientIdentifierType: SubjectIdentifierType;
85
- readonly RSAEncryptionPadding: RSAEncryptionPadding | undefined;
83
+ readonly RSAEncryptionPadding: RSAEncryptionPadding | null;
86
84
  }
87
85
 
88
86
 
@@ -104,7 +102,7 @@ export interface CmsRecipientCollection$instance {
104
102
 
105
103
  readonly Count: int;
106
104
  readonly IsSynchronized: boolean;
107
- readonly SyncRoot: unknown;
105
+ readonly SyncRoot: JsValue;
108
106
  Add(recipient: CmsRecipient): int;
109
107
  CopyTo(array: ClrArray, index: int): void;
110
108
  CopyTo(array: CmsRecipient[], index: int): void;
@@ -142,15 +140,15 @@ export type CmsRecipientEnumerator = CmsRecipientEnumerator$instance;
142
140
  export interface CmsSigner$instance {
143
141
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_CmsSigner: never;
144
142
 
145
- get Certificate(): X509Certificate2 | undefined;
146
- set Certificate(value: X509Certificate2 | undefined);
143
+ get Certificate(): X509Certificate2 | null;
144
+ set Certificate(value: X509Certificate2 | null);
147
145
  readonly Certificates: X509Certificate2Collection;
148
146
  DigestAlgorithm: Oid;
149
147
  IncludeOption: X509IncludeOption;
150
- get PrivateKey(): AsymmetricAlgorithm | undefined;
151
- set PrivateKey(value: AsymmetricAlgorithm | undefined);
152
- get SignaturePadding(): RSASignaturePadding | undefined;
153
- set SignaturePadding(value: RSASignaturePadding | undefined);
148
+ get PrivateKey(): AsymmetricAlgorithm | null;
149
+ set PrivateKey(value: AsymmetricAlgorithm | null);
150
+ get SignaturePadding(): RSASignaturePadding | null;
151
+ set SignaturePadding(value: RSASignaturePadding | null);
154
152
  readonly SignedAttributes: CryptographicAttributeObjectCollection;
155
153
  SignerIdentifierType: SubjectIdentifierType;
156
154
  readonly UnsignedAttributes: CryptographicAttributeObjectCollection;
@@ -160,14 +158,14 @@ export interface CmsSigner$instance {
160
158
  export const CmsSigner: {
161
159
  new(): CmsSigner;
162
160
  new(signerIdentifierType: SubjectIdentifierType): CmsSigner;
163
- new(certificate: X509Certificate2): CmsSigner;
161
+ new(certificate: X509Certificate2 | null): CmsSigner;
164
162
  new(parameters: CspParameters): CmsSigner;
165
- new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2): CmsSigner;
166
- new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2, privateKey: AsymmetricAlgorithm): CmsSigner;
167
- new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2, privateKey: MLDsa): CmsSigner;
168
- new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2, privateKey: SlhDsa): CmsSigner;
169
- new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2, privateKey: CompositeMLDsa): CmsSigner;
170
- new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2, privateKey: RSA, signaturePadding: RSASignaturePadding): CmsSigner;
163
+ new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2 | null): CmsSigner;
164
+ new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2 | null, privateKey: AsymmetricAlgorithm | null): CmsSigner;
165
+ new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2 | null, privateKey: MLDsa | null): CmsSigner;
166
+ new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2 | null, privateKey: SlhDsa | null): CmsSigner;
167
+ new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2 | null, privateKey: CompositeMLDsa | null): CmsSigner;
168
+ new(signerIdentifierType: SubjectIdentifierType, certificate: X509Certificate2 | null, privateKey: RSA | null, signaturePadding: RSASignaturePadding | null): CmsSigner;
171
169
  };
172
170
 
173
171
 
@@ -206,7 +204,7 @@ export interface EnvelopedCms$instance {
206
204
  Decrypt(recipientInfo: RecipientInfo): void;
207
205
  Decrypt(recipientInfo: RecipientInfo, extraStore: X509Certificate2Collection): void;
208
206
  Decrypt(extraStore: X509Certificate2Collection): void;
209
- Decrypt(recipientInfo: RecipientInfo, privateKey: AsymmetricAlgorithm): void;
207
+ Decrypt(recipientInfo: RecipientInfo, privateKey: AsymmetricAlgorithm | null): void;
210
208
  Encode(): byte[];
211
209
  Encrypt(recipient: CmsRecipient): void;
212
210
  Encrypt(recipients: CmsRecipientCollection): void;
@@ -229,7 +227,7 @@ export interface KeyAgreeRecipientInfo$instance extends RecipientInfo {
229
227
  readonly EncryptedKey: byte[];
230
228
  readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
231
229
  readonly OriginatorIdentifierOrKey: SubjectIdentifierOrKey;
232
- readonly OtherKeyAttribute: CryptographicAttributeObject | undefined;
230
+ readonly OtherKeyAttribute: CryptographicAttributeObject | null;
233
231
  readonly RecipientIdentifier: SubjectIdentifier;
234
232
  readonly Version: int;
235
233
  }
@@ -261,13 +259,13 @@ export interface Pkcs12Builder$instance {
261
259
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12Builder: never;
262
260
 
263
261
  readonly IsSealed: boolean;
264
- AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: byte[], pbeParameters: PbeParameters): void;
262
+ AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: byte[] | null, pbeParameters: PbeParameters): void;
265
263
  AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): void;
266
- AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: string, pbeParameters: PbeParameters): void;
264
+ AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: string | null, pbeParameters: PbeParameters): void;
267
265
  AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): void;
268
266
  AddSafeContentsUnencrypted(safeContents: Pkcs12SafeContents): void;
269
267
  Encode(): byte[];
270
- SealWithMac(password: string, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
268
+ SealWithMac(password: string | null, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
271
269
  SealWithMac(password: ReadOnlySpan_1<System_Internal.Char>, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
272
270
  SealWithoutIntegrity(): void;
273
271
  TryEncode(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
@@ -303,7 +301,7 @@ export interface Pkcs12Info$instance {
303
301
 
304
302
  AuthenticatedSafe: ReadOnlyCollection_1<Pkcs12SafeContents>;
305
303
  IntegrityMode: Pkcs12IntegrityMode;
306
- VerifyMac(password: string): boolean;
304
+ VerifyMac(password: string | null): boolean;
307
305
  VerifyMac(password: ReadOnlySpan_1<System_Internal.Char>): boolean;
308
306
  }
309
307
 
@@ -356,13 +354,13 @@ export interface Pkcs12SafeContents$instance {
356
354
  AddNestedContents(safeContents: Pkcs12SafeContents): Pkcs12SafeContentsBag;
357
355
  AddSafeBag(safeBag: Pkcs12SafeBag): void;
358
356
  AddSecret(secretType: Oid, secretValue: ReadOnlyMemory_1<System_Internal.Byte>): Pkcs12SecretBag;
359
- AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: byte[], pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
357
+ AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: byte[] | null, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
360
358
  AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
361
- AddShroudedKey(key: AsymmetricAlgorithm, password: string, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
359
+ AddShroudedKey(key: AsymmetricAlgorithm, password: string | null, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
362
360
  AddShroudedKey(key: AsymmetricAlgorithm, password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
363
- Decrypt(passwordBytes: byte[]): void;
361
+ Decrypt(passwordBytes: byte[] | null): void;
364
362
  Decrypt(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): void;
365
- Decrypt(password: string): void;
363
+ Decrypt(password: string | null): void;
366
364
  Decrypt(password: ReadOnlySpan_1<System_Internal.Char>): void;
367
365
  GetBags(): IEnumerable_1<Pkcs12SafeBag>;
368
366
  }
@@ -378,8 +376,8 @@ export type Pkcs12SafeContents = Pkcs12SafeContents$instance;
378
376
  export interface Pkcs12SafeContentsBag$instance extends Pkcs12SafeBag {
379
377
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12SafeContentsBag: never;
380
378
 
381
- get SafeContents(): Pkcs12SafeContents | undefined;
382
- set SafeContents(value: Pkcs12SafeContents | undefined);
379
+ get SafeContents(): Pkcs12SafeContents | null;
380
+ set SafeContents(value: Pkcs12SafeContents | null);
383
381
  }
384
382
 
385
383
 
@@ -447,7 +445,7 @@ export type Pkcs8PrivateKeyInfo = Pkcs8PrivateKeyInfo$instance;
447
445
  export interface Pkcs9AttributeObject$instance extends AsnEncodedData {
448
446
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9AttributeObject: never;
449
447
 
450
- readonly Oid: Oid | undefined;
448
+ readonly Oid: Oid | null;
451
449
  CopyFrom(asnEncodedData: AsnEncodedData): void;
452
450
  }
453
451
 
@@ -599,7 +597,7 @@ export interface RecipientInfoCollection$instance {
599
597
 
600
598
  readonly Count: int;
601
599
  readonly IsSynchronized: boolean;
602
- readonly SyncRoot: unknown;
600
+ readonly SyncRoot: JsValue;
603
601
  CopyTo(array: ClrArray, index: int): void;
604
602
  CopyTo(array: RecipientInfo[], index: int): void;
605
603
  GetEnumerator(): RecipientInfoEnumerator;
@@ -634,7 +632,7 @@ export interface Rfc3161TimestampRequest$instance {
634
632
 
635
633
  readonly HasExtensions: boolean;
636
634
  readonly HashAlgorithmId: Oid;
637
- readonly RequestedPolicyId: Oid | undefined;
635
+ readonly RequestedPolicyId: Oid | null;
638
636
  readonly RequestSignerCertificate: boolean;
639
637
  readonly Version: int;
640
638
  Encode(): byte[];
@@ -647,11 +645,11 @@ export interface Rfc3161TimestampRequest$instance {
647
645
 
648
646
 
649
647
  export const Rfc3161TimestampRequest: {
650
- CreateFromData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
651
- CreateFromHash(hash: ReadOnlyMemory_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
652
- CreateFromHash(hash: ReadOnlyMemory_1<System_Internal.Byte>, hashAlgorithmId: Oid, requestedPolicyId?: Oid, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
653
- CreateFromSignerInfo(signerInfo: SignerInfo, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
654
- TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, request: Rfc3161TimestampRequest, bytesConsumed: int): boolean;
648
+ CreateFromData(data: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid | null, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection | null): Rfc3161TimestampRequest;
649
+ CreateFromHash(hash: ReadOnlyMemory_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid | null, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection | null): Rfc3161TimestampRequest;
650
+ CreateFromHash(hash: ReadOnlyMemory_1<System_Internal.Byte>, hashAlgorithmId: Oid, requestedPolicyId?: Oid | null, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection | null): Rfc3161TimestampRequest;
651
+ CreateFromSignerInfo(signerInfo: SignerInfo, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid | null, nonce?: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection | null): Rfc3161TimestampRequest;
652
+ TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, request: Rfc3161TimestampRequest | null, bytesConsumed: int): boolean;
655
653
  };
656
654
 
657
655
 
@@ -662,15 +660,15 @@ export interface Rfc3161TimestampToken$instance {
662
660
 
663
661
  TokenInfo: Rfc3161TimestampTokenInfo;
664
662
  AsSignedCms(): SignedCms;
665
- VerifySignatureForData(data: ReadOnlySpan_1<System_Internal.Byte>, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
666
- VerifySignatureForHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
667
- VerifySignatureForHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmId: Oid, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
668
- VerifySignatureForSignerInfo(signerInfo: SignerInfo, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
663
+ VerifySignatureForData(data: ReadOnlySpan_1<System_Internal.Byte>, signerCertificate: X509Certificate2 | null, extraCandidates?: X509Certificate2Collection | null): boolean;
664
+ VerifySignatureForHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signerCertificate: X509Certificate2 | null, extraCandidates?: X509Certificate2Collection | null): boolean;
665
+ VerifySignatureForHash(hash: ReadOnlySpan_1<System_Internal.Byte>, hashAlgorithmId: Oid, signerCertificate: X509Certificate2 | null, extraCandidates?: X509Certificate2Collection | null): boolean;
666
+ VerifySignatureForSignerInfo(signerInfo: SignerInfo, signerCertificate: X509Certificate2 | null, extraCandidates?: X509Certificate2Collection | null): boolean;
669
667
  }
670
668
 
671
669
 
672
670
  export const Rfc3161TimestampToken: {
673
- TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, token: Rfc3161TimestampToken, bytesConsumed: int): boolean;
671
+ TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, token: Rfc3161TimestampToken | null, bytesConsumed: int): boolean;
674
672
  };
675
673
 
676
674
 
@@ -697,8 +695,8 @@ export interface Rfc3161TimestampTokenInfo$instance {
697
695
 
698
696
 
699
697
  export const Rfc3161TimestampTokenInfo: {
700
- new(policyId: Oid, hashAlgorithmId: Oid, messageHash: ReadOnlyMemory_1<System_Internal.Byte>, serialNumber: ReadOnlyMemory_1<System_Internal.Byte>, timestamp: DateTimeOffset, accuracyInMicroseconds: Nullable_1<System_Internal.Int64>, isOrdering: boolean, nonce: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, timestampAuthorityName: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, extensions: X509ExtensionCollection): Rfc3161TimestampTokenInfo;
701
- TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, timestampTokenInfo: Rfc3161TimestampTokenInfo, bytesConsumed: int): boolean;
698
+ new(policyId: Oid, hashAlgorithmId: Oid, messageHash: ReadOnlyMemory_1<System_Internal.Byte>, serialNumber: ReadOnlyMemory_1<System_Internal.Byte>, timestamp: DateTimeOffset, accuracyInMicroseconds: Nullable_1<System_Internal.Int64>, isOrdering: boolean, nonce: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, timestampAuthorityName: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, extensions: X509ExtensionCollection | null): Rfc3161TimestampTokenInfo;
699
+ TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, timestampTokenInfo: Rfc3161TimestampTokenInfo | null, bytesConsumed: int): boolean;
702
700
  };
703
701
 
704
702
 
@@ -743,7 +741,7 @@ export type SignedCms = SignedCms$instance;
743
741
  export interface SignerInfo$instance {
744
742
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_SignerInfo: never;
745
743
 
746
- readonly Certificate: X509Certificate2 | undefined;
744
+ readonly Certificate: X509Certificate2 | null;
747
745
  readonly CounterSignerInfos: SignerInfoCollection;
748
746
  readonly DigestAlgorithm: Oid;
749
747
  readonly SignatureAlgorithm: Oid;
@@ -778,7 +776,7 @@ export interface SignerInfoCollection$instance {
778
776
 
779
777
  readonly Count: int;
780
778
  readonly IsSynchronized: boolean;
781
- readonly SyncRoot: unknown;
779
+ readonly SyncRoot: JsValue;
782
780
  CopyTo(array: ClrArray, index: int): void;
783
781
  CopyTo(array: SignerInfo[], index: int): void;
784
782
  GetEnumerator(): SignerInfoEnumerator;
@@ -812,7 +810,7 @@ export interface SubjectIdentifier$instance {
812
810
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_SubjectIdentifier: never;
813
811
 
814
812
  readonly Type: SubjectIdentifierType;
815
- readonly Value: unknown | undefined;
813
+ readonly Value: JsValue | null;
816
814
  MatchesCertificate(certificate: X509Certificate2): boolean;
817
815
  }
818
816
 
@@ -827,7 +825,7 @@ export interface SubjectIdentifierOrKey$instance {
827
825
  readonly __tsonic_type_System_Security_Cryptography_Pkcs_SubjectIdentifierOrKey: never;
828
826
 
829
827
  readonly Type: SubjectIdentifierOrKeyType;
830
- readonly Value: unknown;
828
+ readonly Value: JsValue;
831
829
  }
832
830
 
833
831