@tsonic/microsoft-extensions 0.1.1 → 10.0.1

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 (165) hide show
  1. package/Microsoft.Extensions.Caching.Distributed/bindings.json +317 -543
  2. package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +38 -38
  3. package/Microsoft.Extensions.Caching.Hybrid/bindings.json +146 -327
  4. package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +26 -26
  5. package/Microsoft.Extensions.Caching.Memory/bindings.json +581 -1255
  6. package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +88 -88
  7. package/Microsoft.Extensions.Configuration/bindings.json +1738 -3009
  8. package/Microsoft.Extensions.Configuration/internal/index.d.ts +195 -195
  9. package/Microsoft.Extensions.Configuration.CommandLine/bindings.json +108 -199
  10. package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +9 -9
  11. package/Microsoft.Extensions.Configuration.EnvironmentVariables/bindings.json +109 -198
  12. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +9 -9
  13. package/Microsoft.Extensions.Configuration.Ini/bindings.json +211 -511
  14. package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +15 -15
  15. package/Microsoft.Extensions.Configuration.Json/bindings.json +205 -500
  16. package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +14 -14
  17. package/Microsoft.Extensions.Configuration.KeyPerFile/bindings.json +145 -266
  18. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +16 -16
  19. package/Microsoft.Extensions.Configuration.Memory/bindings.json +115 -210
  20. package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +10 -10
  21. package/Microsoft.Extensions.Configuration.UserSecrets/bindings.json +26 -50
  22. package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +2 -2
  23. package/Microsoft.Extensions.Configuration.Xml/bindings.json +225 -539
  24. package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +17 -17
  25. package/Microsoft.Extensions.DependencyInjection/bindings.json +1880 -3222
  26. package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +241 -241
  27. package/Microsoft.Extensions.DependencyInjection.Extensions/bindings.json +268 -477
  28. package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +43 -43
  29. package/Microsoft.Extensions.Diagnostics.HealthChecks/bindings.json +250 -568
  30. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +37 -37
  31. package/Microsoft.Extensions.Diagnostics.Metrics/bindings.json +270 -494
  32. package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +44 -44
  33. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/bindings.json +16 -15
  34. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
  35. package/Microsoft.Extensions.FileProviders/bindings.json +519 -991
  36. package/Microsoft.Extensions.FileProviders/internal/index.d.ts +46 -46
  37. package/Microsoft.Extensions.FileProviders.Composite/bindings.json +26 -49
  38. package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +2 -2
  39. package/Microsoft.Extensions.FileProviders.Embedded/bindings.json +89 -171
  40. package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
  41. package/Microsoft.Extensions.FileProviders.Internal/bindings.json +26 -58
  42. package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +2 -2
  43. package/Microsoft.Extensions.FileProviders.Physical/bindings.json +296 -634
  44. package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +27 -27
  45. package/Microsoft.Extensions.FileSystemGlobbing/bindings.json +171 -355
  46. package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +23 -23
  47. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/bindings.json +123 -280
  48. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +15 -15
  49. package/Microsoft.Extensions.FileSystemGlobbing.Internal/bindings.json +158 -268
  50. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +20 -20
  51. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/bindings.json +191 -384
  52. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +17 -17
  53. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +591 -1070
  54. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +50 -50
  55. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/bindings.json +20 -47
  56. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +2 -2
  57. package/Microsoft.Extensions.Hosting/bindings.json +936 -1742
  58. package/Microsoft.Extensions.Hosting/internal/index.d.ts +120 -120
  59. package/Microsoft.Extensions.Hosting.Internal/bindings.json +200 -386
  60. package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
  61. package/Microsoft.Extensions.Http/bindings.json +93 -160
  62. package/Microsoft.Extensions.Http/internal/index.d.ts +12 -12
  63. package/Microsoft.Extensions.Http.Logging/bindings.json +83 -149
  64. package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +9 -9
  65. package/Microsoft.Extensions.Internal/bindings.json +32 -51
  66. package/Microsoft.Extensions.Internal/internal/index.d.ts +2 -2
  67. package/Microsoft.Extensions.Localization/bindings.json +294 -531
  68. package/Microsoft.Extensions.Localization/internal/index.d.ts +21 -21
  69. package/Microsoft.Extensions.Logging/bindings.json +1141 -2182
  70. package/Microsoft.Extensions.Logging/internal/index.d.ts +162 -162
  71. package/Microsoft.Extensions.Logging.Abstractions/bindings.json +285 -526
  72. package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +32 -32
  73. package/Microsoft.Extensions.Logging.Configuration/bindings.json +80 -110
  74. package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +5 -5
  75. package/Microsoft.Extensions.Logging.Console/bindings.json +350 -830
  76. package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +48 -48
  77. package/Microsoft.Extensions.Logging.Debug/bindings.json +29 -48
  78. package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +2 -2
  79. package/Microsoft.Extensions.Logging.EventLog/bindings.json +69 -147
  80. package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +11 -11
  81. package/Microsoft.Extensions.Logging.EventSource/bindings.json +46 -97
  82. package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +6 -6
  83. package/Microsoft.Extensions.Logging.TraceSource/bindings.json +29 -57
  84. package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +2 -2
  85. package/Microsoft.Extensions.ObjectPool/bindings.json +319 -558
  86. package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +25 -25
  87. package/Microsoft.Extensions.Options/bindings.json +1780 -3480
  88. package/Microsoft.Extensions.Options/internal/index.d.ts +206 -206
  89. package/Microsoft.Extensions.Primitives/bindings.json +635 -1246
  90. package/Microsoft.Extensions.Primitives/internal/index.d.ts +91 -91
  91. package/Microsoft.Extensions.Validation/bindings.json +196 -336
  92. package/Microsoft.Extensions.Validation/internal/index.d.ts +21 -21
  93. package/Microsoft.Extensions.WebEncoders/bindings.json +14 -25
  94. package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +2 -2
  95. package/Microsoft.Extensions.WebEncoders.Testing/bindings.json +144 -279
  96. package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +21 -21
  97. package/System.Diagnostics/bindings.json +560 -1240
  98. package/System.Diagnostics/internal/index.d.ts +94 -94
  99. package/System.Diagnostics.Eventing.Reader/bindings.json +1155 -2972
  100. package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +204 -204
  101. package/System.Net.Http/bindings.json +56 -60
  102. package/System.Net.Http/internal/index.d.ts +4 -4
  103. package/System.Security.Cryptography/bindings.json +101 -208
  104. package/System.Security.Cryptography/internal/index.d.ts +14 -14
  105. package/System.Security.Cryptography.Pkcs/bindings.json +1662 -4005
  106. package/System.Security.Cryptography.Pkcs/internal/index.d.ts +259 -259
  107. package/System.Security.Cryptography.Xml/bindings.json +1963 -5427
  108. package/System.Security.Cryptography.Xml/internal/index.d.ts +338 -338
  109. package/__build/scripts/generate.sh +4 -4
  110. package/__internal/extensions/index.d.ts +426 -426
  111. package/package.json +3 -3
  112. package/Microsoft.Extensions.Caching.Distributed/internal/metadata.json +0 -835
  113. package/Microsoft.Extensions.Caching.Hybrid/internal/metadata.json +0 -476
  114. package/Microsoft.Extensions.Caching.Memory/internal/metadata.json +0 -1740
  115. package/Microsoft.Extensions.Configuration/internal/metadata.json +0 -4603
  116. package/Microsoft.Extensions.Configuration.CommandLine/internal/metadata.json +0 -295
  117. package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/metadata.json +0 -301
  118. package/Microsoft.Extensions.Configuration.Ini/internal/metadata.json +0 -568
  119. package/Microsoft.Extensions.Configuration.Json/internal/metadata.json +0 -552
  120. package/Microsoft.Extensions.Configuration.KeyPerFile/internal/metadata.json +0 -402
  121. package/Microsoft.Extensions.Configuration.Memory/internal/metadata.json +0 -312
  122. package/Microsoft.Extensions.Configuration.UserSecrets/internal/metadata.json +0 -85
  123. package/Microsoft.Extensions.Configuration.Xml/internal/metadata.json +0 -611
  124. package/Microsoft.Extensions.DependencyInjection/internal/metadata.json +0 -4903
  125. package/Microsoft.Extensions.DependencyInjection.Extensions/internal/metadata.json +0 -713
  126. package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/metadata.json +0 -802
  127. package/Microsoft.Extensions.Diagnostics.Metrics/internal/metadata.json +0 -785
  128. package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/metadata.json +0 -41
  129. package/Microsoft.Extensions.FileProviders/internal/metadata.json +0 -1423
  130. package/Microsoft.Extensions.FileProviders.Composite/internal/metadata.json +0 -79
  131. package/Microsoft.Extensions.FileProviders.Embedded/internal/metadata.json +0 -251
  132. package/Microsoft.Extensions.FileProviders.Internal/internal/metadata.json +0 -84
  133. package/Microsoft.Extensions.FileProviders.Physical/internal/metadata.json +0 -879
  134. package/Microsoft.Extensions.FileSystemGlobbing/internal/metadata.json +0 -511
  135. package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/metadata.json +0 -352
  136. package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/metadata.json +0 -443
  137. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/metadata.json +0 -550
  138. package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/metadata.json +0 -1527
  139. package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/metadata.json +0 -68
  140. package/Microsoft.Extensions.Hosting/internal/metadata.json +0 -2577
  141. package/Microsoft.Extensions.Hosting.Internal/internal/metadata.json +0 -559
  142. package/Microsoft.Extensions.Http/internal/metadata.json +0 -266
  143. package/Microsoft.Extensions.Http.Logging/internal/metadata.json +0 -240
  144. package/Microsoft.Extensions.Internal/internal/metadata.json +0 -94
  145. package/Microsoft.Extensions.Localization/internal/metadata.json +0 -831
  146. package/Microsoft.Extensions.Logging/internal/metadata.json +0 -3222
  147. package/Microsoft.Extensions.Logging.Abstractions/internal/metadata.json +0 -782
  148. package/Microsoft.Extensions.Logging.Configuration/internal/metadata.json +0 -212
  149. package/Microsoft.Extensions.Logging.Console/internal/metadata.json +0 -1119
  150. package/Microsoft.Extensions.Logging.Debug/internal/metadata.json +0 -80
  151. package/Microsoft.Extensions.Logging.EventLog/internal/metadata.json +0 -206
  152. package/Microsoft.Extensions.Logging.EventSource/internal/metadata.json +0 -149
  153. package/Microsoft.Extensions.Logging.TraceSource/internal/metadata.json +0 -85
  154. package/Microsoft.Extensions.ObjectPool/internal/metadata.json +0 -867
  155. package/Microsoft.Extensions.Options/internal/metadata.json +0 -4965
  156. package/Microsoft.Extensions.Primitives/internal/metadata.json +0 -1830
  157. package/Microsoft.Extensions.Validation/internal/metadata.json +0 -577
  158. package/Microsoft.Extensions.WebEncoders/internal/metadata.json +0 -46
  159. package/Microsoft.Extensions.WebEncoders.Testing/internal/metadata.json +0 -431
  160. package/System.Diagnostics/internal/metadata.json +0 -1694
  161. package/System.Diagnostics.Eventing.Reader/internal/metadata.json +0 -3706
  162. package/System.Net.Http/internal/metadata.json +0 -141
  163. package/System.Security.Cryptography/internal/metadata.json +0 -302
  164. package/System.Security.Cryptography.Pkcs/internal/metadata.json +0 -5125
  165. package/System.Security.Cryptography.Xml/internal/metadata.json +0 -5727
@@ -21,48 +21,48 @@ import type { AsnEncodedData, AsymmetricAlgorithm, CompositeMLDsa, CspParameters
21
21
  import type { X509Certificate2, X509Certificate2Collection, X509ExtensionCollection, X509IncludeOption } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates.js";
22
22
 
23
23
  export enum Pkcs12ConfidentialityMode {
24
- unknown_ = 0,
25
- none = 1,
26
- password = 2,
27
- publicKey = 3
24
+ Unknown = 0,
25
+ None = 1,
26
+ Password = 2,
27
+ PublicKey = 3
28
28
  }
29
29
 
30
30
 
31
31
  export enum Pkcs12IntegrityMode {
32
- unknown_ = 0,
33
- none = 1,
34
- password = 2,
35
- publicKey = 3
32
+ Unknown = 0,
33
+ None = 1,
34
+ Password = 2,
35
+ PublicKey = 3
36
36
  }
37
37
 
38
38
 
39
39
  export enum RecipientInfoType {
40
- unknown_ = 0,
41
- keyTransport = 1,
42
- keyAgreement = 2
40
+ Unknown = 0,
41
+ KeyTransport = 1,
42
+ KeyAgreement = 2
43
43
  }
44
44
 
45
45
 
46
46
  export enum SubjectIdentifierOrKeyType {
47
- unknown_ = 0,
48
- issuerAndSerialNumber = 1,
49
- subjectKeyIdentifier = 2,
50
- publicKeyInfo = 3
47
+ Unknown = 0,
48
+ IssuerAndSerialNumber = 1,
49
+ SubjectKeyIdentifier = 2,
50
+ PublicKeyInfo = 3
51
51
  }
52
52
 
53
53
 
54
54
  export enum SubjectIdentifierType {
55
- unknown_ = 0,
56
- issuerAndSerialNumber = 1,
57
- subjectKeyIdentifier = 2,
58
- noSignature = 3
55
+ Unknown = 0,
56
+ IssuerAndSerialNumber = 1,
57
+ SubjectKeyIdentifier = 2,
58
+ NoSignature = 3
59
59
  }
60
60
 
61
61
 
62
62
  export interface AlgorithmIdentifier$instance {
63
- keyLength: int;
64
- oid: Oid;
65
- parameters: byte[];
63
+ KeyLength: int;
64
+ Oid: Oid;
65
+ Parameters: byte[];
66
66
  }
67
67
 
68
68
 
@@ -76,9 +76,9 @@ export const AlgorithmIdentifier: {
76
76
  export type AlgorithmIdentifier = AlgorithmIdentifier$instance;
77
77
 
78
78
  export interface CmsRecipient$instance {
79
- readonly certificate: X509Certificate2;
80
- readonly recipientIdentifierType: SubjectIdentifierType;
81
- readonly rsaEncryptionPadding: RSAEncryptionPadding | undefined;
79
+ readonly Certificate: X509Certificate2;
80
+ readonly RecipientIdentifierType: SubjectIdentifierType;
81
+ readonly RSAEncryptionPadding: RSAEncryptionPadding | undefined;
82
82
  }
83
83
 
84
84
 
@@ -93,15 +93,15 @@ export const CmsRecipient: {
93
93
  export type CmsRecipient = CmsRecipient$instance;
94
94
 
95
95
  export interface CmsRecipientCollection$instance {
96
- readonly count: int;
97
- readonly isSynchronized: boolean;
98
- readonly item: CmsRecipient;
99
- readonly syncRoot: unknown;
100
- add(recipient: CmsRecipient): int;
101
- copyTo(array: ClrArray, index: int): void;
102
- copyTo(array: CmsRecipient[], index: int): void;
103
- getEnumerator(): CmsRecipientEnumerator;
104
- remove(recipient: CmsRecipient): void;
96
+ readonly Count: int;
97
+ readonly IsSynchronized: boolean;
98
+ readonly Item: CmsRecipient;
99
+ readonly SyncRoot: unknown;
100
+ Add(recipient: CmsRecipient): int;
101
+ CopyTo(array: ClrArray, index: int): void;
102
+ CopyTo(array: CmsRecipient[], index: int): void;
103
+ GetEnumerator(): CmsRecipientEnumerator;
104
+ Remove(recipient: CmsRecipient): void;
105
105
  }
106
106
 
107
107
 
@@ -115,9 +115,9 @@ export const CmsRecipientCollection: {
115
115
  export type CmsRecipientCollection = CmsRecipientCollection$instance;
116
116
 
117
117
  export interface CmsRecipientEnumerator$instance {
118
- readonly current: CmsRecipient;
119
- moveNext(): boolean;
120
- reset(): void;
118
+ readonly Current: CmsRecipient;
119
+ MoveNext(): boolean;
120
+ Reset(): void;
121
121
  }
122
122
 
123
123
 
@@ -129,17 +129,17 @@ export const CmsRecipientEnumerator: {
129
129
  export type CmsRecipientEnumerator = CmsRecipientEnumerator$instance;
130
130
 
131
131
  export interface CmsSigner$instance {
132
- certificate: X509Certificate2;
133
- readonly certificates: X509Certificate2Collection;
134
- digestAlgorithm: Oid;
135
- includeOption: X509IncludeOption;
136
- get privateKey(): AsymmetricAlgorithm | undefined;
137
- set privateKey(value: AsymmetricAlgorithm);
138
- get signaturePadding(): RSASignaturePadding | undefined;
139
- set signaturePadding(value: RSASignaturePadding);
140
- readonly signedAttributes: CryptographicAttributeObjectCollection;
141
- signerIdentifierType: SubjectIdentifierType;
142
- readonly unsignedAttributes: CryptographicAttributeObjectCollection;
132
+ Certificate: X509Certificate2;
133
+ readonly Certificates: X509Certificate2Collection;
134
+ DigestAlgorithm: Oid;
135
+ IncludeOption: X509IncludeOption;
136
+ get PrivateKey(): AsymmetricAlgorithm | undefined;
137
+ set PrivateKey(value: AsymmetricAlgorithm);
138
+ get SignaturePadding(): RSASignaturePadding | undefined;
139
+ set SignaturePadding(value: RSASignaturePadding);
140
+ readonly SignedAttributes: CryptographicAttributeObjectCollection;
141
+ SignerIdentifierType: SubjectIdentifierType;
142
+ readonly UnsignedAttributes: CryptographicAttributeObjectCollection;
143
143
  }
144
144
 
145
145
 
@@ -160,38 +160,38 @@ export const CmsSigner: {
160
160
  export type CmsSigner = CmsSigner$instance;
161
161
 
162
162
  export interface ContentInfo$instance {
163
- readonly content: byte[];
164
- readonly contentType: Oid;
163
+ readonly Content: byte[];
164
+ readonly ContentType: Oid;
165
165
  }
166
166
 
167
167
 
168
168
  export const ContentInfo: {
169
169
  new(content: byte[]): ContentInfo;
170
170
  new(contentType: Oid, content: byte[]): ContentInfo;
171
- getContentType(encodedMessage: byte[]): Oid;
172
- getContentType(encodedMessage: ReadOnlySpan<System_Internal.Byte>): Oid;
171
+ GetContentType(encodedMessage: byte[]): Oid;
172
+ GetContentType(encodedMessage: ReadOnlySpan<System_Internal.Byte>): Oid;
173
173
  };
174
174
 
175
175
 
176
176
  export type ContentInfo = ContentInfo$instance;
177
177
 
178
178
  export interface EnvelopedCms$instance {
179
- readonly certificates: X509Certificate2Collection;
180
- readonly contentEncryptionAlgorithm: AlgorithmIdentifier;
181
- readonly contentInfo: ContentInfo;
182
- readonly recipientInfos: RecipientInfoCollection;
183
- readonly unprotectedAttributes: CryptographicAttributeObjectCollection;
184
- readonly version: int;
185
- decode(encodedMessage: byte[]): void;
186
- decode(encodedMessage: ReadOnlySpan<System_Internal.Byte>): void;
187
- decrypt(): void;
188
- decrypt(recipientInfo: RecipientInfo): void;
189
- decrypt(recipientInfo: RecipientInfo, extraStore: X509Certificate2Collection): void;
190
- decrypt(extraStore: X509Certificate2Collection): void;
191
- decrypt(recipientInfo: RecipientInfo, privateKey: AsymmetricAlgorithm): void;
192
- encode(): byte[];
193
- encrypt(recipient: CmsRecipient): void;
194
- encrypt(recipients: CmsRecipientCollection): void;
179
+ readonly Certificates: X509Certificate2Collection;
180
+ readonly ContentEncryptionAlgorithm: AlgorithmIdentifier;
181
+ readonly ContentInfo: ContentInfo;
182
+ readonly RecipientInfos: RecipientInfoCollection;
183
+ readonly UnprotectedAttributes: CryptographicAttributeObjectCollection;
184
+ readonly Version: int;
185
+ Decode(encodedMessage: byte[]): void;
186
+ Decode(encodedMessage: ReadOnlySpan<System_Internal.Byte>): void;
187
+ Decrypt(): void;
188
+ Decrypt(recipientInfo: RecipientInfo): void;
189
+ Decrypt(recipientInfo: RecipientInfo, extraStore: X509Certificate2Collection): void;
190
+ Decrypt(extraStore: X509Certificate2Collection): void;
191
+ Decrypt(recipientInfo: RecipientInfo, privateKey: AsymmetricAlgorithm): void;
192
+ Encode(): byte[];
193
+ Encrypt(recipient: CmsRecipient): void;
194
+ Encrypt(recipients: CmsRecipientCollection): void;
195
195
  }
196
196
 
197
197
 
@@ -205,13 +205,13 @@ export const EnvelopedCms: {
205
205
  export type EnvelopedCms = EnvelopedCms$instance;
206
206
 
207
207
  export interface KeyAgreeRecipientInfo$instance extends RecipientInfo {
208
- readonly date: DateTime;
209
- readonly encryptedKey: byte[];
210
- readonly keyEncryptionAlgorithm: AlgorithmIdentifier;
211
- readonly originatorIdentifierOrKey: SubjectIdentifierOrKey;
212
- readonly otherKeyAttribute: CryptographicAttributeObject | undefined;
213
- readonly recipientIdentifier: SubjectIdentifier;
214
- readonly version: int;
208
+ readonly Date: DateTime;
209
+ readonly EncryptedKey: byte[];
210
+ readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
211
+ readonly OriginatorIdentifierOrKey: SubjectIdentifierOrKey;
212
+ readonly OtherKeyAttribute: CryptographicAttributeObject | undefined;
213
+ readonly RecipientIdentifier: SubjectIdentifier;
214
+ readonly Version: int;
215
215
  }
216
216
 
217
217
 
@@ -223,10 +223,10 @@ export const KeyAgreeRecipientInfo: {
223
223
  export type KeyAgreeRecipientInfo = KeyAgreeRecipientInfo$instance;
224
224
 
225
225
  export interface KeyTransRecipientInfo$instance extends RecipientInfo {
226
- readonly encryptedKey: byte[];
227
- readonly keyEncryptionAlgorithm: AlgorithmIdentifier;
228
- readonly recipientIdentifier: SubjectIdentifier;
229
- readonly version: int;
226
+ readonly EncryptedKey: byte[];
227
+ readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
228
+ readonly RecipientIdentifier: SubjectIdentifier;
229
+ readonly Version: int;
230
230
  }
231
231
 
232
232
 
@@ -238,17 +238,17 @@ export const KeyTransRecipientInfo: {
238
238
  export type KeyTransRecipientInfo = KeyTransRecipientInfo$instance;
239
239
 
240
240
  export interface Pkcs12Builder$instance {
241
- readonly isSealed: boolean;
242
- addSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: byte[], pbeParameters: PbeParameters): void;
243
- addSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters): void;
244
- addSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: string, pbeParameters: PbeParameters): void;
245
- addSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters): void;
246
- addSafeContentsUnencrypted(safeContents: Pkcs12SafeContents): void;
247
- encode(): byte[];
248
- sealWithMac(password: string, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
249
- sealWithMac(password: ReadOnlySpan<System_Internal.Char>, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
250
- sealWithoutIntegrity(): void;
251
- tryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
241
+ readonly IsSealed: boolean;
242
+ AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: byte[], pbeParameters: PbeParameters): void;
243
+ AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters): void;
244
+ AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: string, pbeParameters: PbeParameters): void;
245
+ AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters): void;
246
+ AddSafeContentsUnencrypted(safeContents: Pkcs12SafeContents): void;
247
+ Encode(): byte[];
248
+ SealWithMac(password: string, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
249
+ SealWithMac(password: ReadOnlySpan<System_Internal.Char>, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
250
+ SealWithoutIntegrity(): void;
251
+ TryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
252
252
  }
253
253
 
254
254
 
@@ -260,10 +260,10 @@ export const Pkcs12Builder: {
260
260
  export type Pkcs12Builder = Pkcs12Builder$instance;
261
261
 
262
262
  export interface Pkcs12CertBag$instance extends Pkcs12SafeBag {
263
- readonly encodedCertificate: ReadOnlyMemory<System_Internal.Byte>;
264
- readonly isX509Certificate: boolean;
265
- getCertificate(): X509Certificate2;
266
- getCertificateType(): Oid;
263
+ readonly EncodedCertificate: ReadOnlyMemory<System_Internal.Byte>;
264
+ readonly IsX509Certificate: boolean;
265
+ GetCertificate(): X509Certificate2;
266
+ GetCertificateType(): Oid;
267
267
  }
268
268
 
269
269
 
@@ -275,23 +275,23 @@ export const Pkcs12CertBag: {
275
275
  export type Pkcs12CertBag = Pkcs12CertBag$instance;
276
276
 
277
277
  export interface Pkcs12Info$instance {
278
- readonly authenticatedSafe: ReadOnlyCollection<Pkcs12SafeContents>;
279
- readonly integrityMode: Pkcs12IntegrityMode;
280
- verifyMac(password: string): boolean;
281
- verifyMac(password: ReadOnlySpan<System_Internal.Char>): boolean;
278
+ readonly AuthenticatedSafe: ReadOnlyCollection<Pkcs12SafeContents>;
279
+ readonly IntegrityMode: Pkcs12IntegrityMode;
280
+ VerifyMac(password: string): boolean;
281
+ VerifyMac(password: ReadOnlySpan<System_Internal.Char>): boolean;
282
282
  }
283
283
 
284
284
 
285
285
  export const Pkcs12Info: {
286
286
  new(): Pkcs12Info;
287
- decode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, bytesConsumed: int, skipCopy?: boolean): Pkcs12Info;
287
+ Decode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, bytesConsumed: int, skipCopy?: boolean): Pkcs12Info;
288
288
  };
289
289
 
290
290
 
291
291
  export type Pkcs12Info = Pkcs12Info$instance;
292
292
 
293
293
  export interface Pkcs12KeyBag$instance extends Pkcs12SafeBag {
294
- readonly pkcs8PrivateKey: ReadOnlyMemory<System_Internal.Byte>;
294
+ readonly Pkcs8PrivateKey: ReadOnlyMemory<System_Internal.Byte>;
295
295
  }
296
296
 
297
297
 
@@ -303,11 +303,11 @@ export const Pkcs12KeyBag: {
303
303
  export type Pkcs12KeyBag = Pkcs12KeyBag$instance;
304
304
 
305
305
  export interface Pkcs12SafeBag$instance {
306
- readonly attributes: CryptographicAttributeObjectCollection;
307
- readonly encodedBagValue: ReadOnlyMemory<System_Internal.Byte>;
308
- encode(): byte[];
309
- getBagId(): Oid;
310
- tryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
306
+ readonly Attributes: CryptographicAttributeObjectCollection;
307
+ readonly EncodedBagValue: ReadOnlyMemory<System_Internal.Byte>;
308
+ Encode(): byte[];
309
+ GetBagId(): Oid;
310
+ TryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
311
311
  }
312
312
 
313
313
 
@@ -318,22 +318,22 @@ export const Pkcs12SafeBag: {
318
318
  export type Pkcs12SafeBag = Pkcs12SafeBag$instance;
319
319
 
320
320
  export interface Pkcs12SafeContents$instance {
321
- readonly confidentialityMode: Pkcs12ConfidentialityMode;
322
- readonly isReadOnly: boolean;
323
- addCertificate(certificate: X509Certificate2): Pkcs12CertBag;
324
- addKeyUnencrypted(key: AsymmetricAlgorithm): Pkcs12KeyBag;
325
- addNestedContents(safeContents: Pkcs12SafeContents): Pkcs12SafeContentsBag;
326
- addSafeBag(safeBag: Pkcs12SafeBag): void;
327
- addSecret(secretType: Oid, secretValue: ReadOnlyMemory<System_Internal.Byte>): Pkcs12SecretBag;
328
- addShroudedKey(key: AsymmetricAlgorithm, passwordBytes: byte[], pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
329
- addShroudedKey(key: AsymmetricAlgorithm, passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
330
- addShroudedKey(key: AsymmetricAlgorithm, password: string, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
331
- addShroudedKey(key: AsymmetricAlgorithm, password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
332
- decrypt(passwordBytes: byte[]): void;
333
- decrypt(passwordBytes: ReadOnlySpan<System_Internal.Byte>): void;
334
- decrypt(password: string): void;
335
- decrypt(password: ReadOnlySpan<System_Internal.Char>): void;
336
- getBags(): IEnumerable__System_Collections_Generic<Pkcs12SafeBag>;
321
+ readonly ConfidentialityMode: Pkcs12ConfidentialityMode;
322
+ readonly IsReadOnly: boolean;
323
+ AddCertificate(certificate: X509Certificate2): Pkcs12CertBag;
324
+ AddKeyUnencrypted(key: AsymmetricAlgorithm): Pkcs12KeyBag;
325
+ AddNestedContents(safeContents: Pkcs12SafeContents): Pkcs12SafeContentsBag;
326
+ AddSafeBag(safeBag: Pkcs12SafeBag): void;
327
+ AddSecret(secretType: Oid, secretValue: ReadOnlyMemory<System_Internal.Byte>): Pkcs12SecretBag;
328
+ AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: byte[], pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
329
+ AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
330
+ AddShroudedKey(key: AsymmetricAlgorithm, password: string, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
331
+ AddShroudedKey(key: AsymmetricAlgorithm, password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
332
+ Decrypt(passwordBytes: byte[]): void;
333
+ Decrypt(passwordBytes: ReadOnlySpan<System_Internal.Byte>): void;
334
+ Decrypt(password: string): void;
335
+ Decrypt(password: ReadOnlySpan<System_Internal.Char>): void;
336
+ GetBags(): IEnumerable__System_Collections_Generic<Pkcs12SafeBag>;
337
337
  }
338
338
 
339
339
 
@@ -345,7 +345,7 @@ export const Pkcs12SafeContents: {
345
345
  export type Pkcs12SafeContents = Pkcs12SafeContents$instance;
346
346
 
347
347
  export interface Pkcs12SafeContentsBag$instance extends Pkcs12SafeBag {
348
- readonly safeContents: Pkcs12SafeContents | undefined;
348
+ readonly SafeContents: Pkcs12SafeContents | undefined;
349
349
  }
350
350
 
351
351
 
@@ -357,8 +357,8 @@ export const Pkcs12SafeContentsBag: {
357
357
  export type Pkcs12SafeContentsBag = Pkcs12SafeContentsBag$instance;
358
358
 
359
359
  export interface Pkcs12SecretBag$instance extends Pkcs12SafeBag {
360
- readonly secretValue: ReadOnlyMemory<System_Internal.Byte>;
361
- getSecretType(): Oid;
360
+ readonly SecretValue: ReadOnlyMemory<System_Internal.Byte>;
361
+ GetSecretType(): Oid;
362
362
  }
363
363
 
364
364
 
@@ -370,7 +370,7 @@ export const Pkcs12SecretBag: {
370
370
  export type Pkcs12SecretBag = Pkcs12SecretBag$instance;
371
371
 
372
372
  export interface Pkcs12ShroudedKeyBag$instance extends Pkcs12SafeBag {
373
- readonly encryptedPkcs8PrivateKey: ReadOnlyMemory<System_Internal.Byte>;
373
+ readonly EncryptedPkcs8PrivateKey: ReadOnlyMemory<System_Internal.Byte>;
374
374
  }
375
375
 
376
376
 
@@ -382,33 +382,33 @@ export const Pkcs12ShroudedKeyBag: {
382
382
  export type Pkcs12ShroudedKeyBag = Pkcs12ShroudedKeyBag$instance;
383
383
 
384
384
  export interface Pkcs8PrivateKeyInfo$instance {
385
- readonly algorithmId: Oid;
386
- readonly algorithmParameters: Nullable<ReadOnlyMemory<System_Internal.Byte>>;
387
- readonly attributes: CryptographicAttributeObjectCollection;
388
- readonly privateKeyBytes: ReadOnlyMemory<System_Internal.Byte>;
389
- encode(): byte[];
390
- encrypt(password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
391
- encrypt(passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
392
- tryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
393
- tryEncrypt(password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
394
- tryEncrypt(passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
385
+ readonly AlgorithmId: Oid;
386
+ readonly AlgorithmParameters: Nullable<ReadOnlyMemory<System_Internal.Byte>>;
387
+ readonly Attributes: CryptographicAttributeObjectCollection;
388
+ readonly PrivateKeyBytes: ReadOnlyMemory<System_Internal.Byte>;
389
+ Encode(): byte[];
390
+ Encrypt(password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
391
+ Encrypt(passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
392
+ TryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
393
+ TryEncrypt(password: ReadOnlySpan<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
394
+ TryEncrypt(passwordBytes: ReadOnlySpan<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
395
395
  }
396
396
 
397
397
 
398
398
  export const Pkcs8PrivateKeyInfo: {
399
399
  new(algorithmId: Oid, algorithmParameters: Nullable<ReadOnlyMemory<System_Internal.Byte>>, privateKey: ReadOnlyMemory<System_Internal.Byte>, skipCopies: boolean): Pkcs8PrivateKeyInfo;
400
- create(privateKey: AsymmetricAlgorithm): Pkcs8PrivateKeyInfo;
401
- decode(source: ReadOnlyMemory<System_Internal.Byte>, bytesRead: int, skipCopy?: boolean): Pkcs8PrivateKeyInfo;
402
- decryptAndDecode(passwordBytes: ReadOnlySpan<System_Internal.Byte>, source: ReadOnlyMemory<System_Internal.Byte>, bytesRead: int): Pkcs8PrivateKeyInfo;
403
- decryptAndDecode(password: ReadOnlySpan<System_Internal.Char>, source: ReadOnlyMemory<System_Internal.Byte>, bytesRead: int): Pkcs8PrivateKeyInfo;
400
+ Create(privateKey: AsymmetricAlgorithm): Pkcs8PrivateKeyInfo;
401
+ Decode(source: ReadOnlyMemory<System_Internal.Byte>, bytesRead: int, skipCopy?: boolean): Pkcs8PrivateKeyInfo;
402
+ DecryptAndDecode(passwordBytes: ReadOnlySpan<System_Internal.Byte>, source: ReadOnlyMemory<System_Internal.Byte>, bytesRead: int): Pkcs8PrivateKeyInfo;
403
+ DecryptAndDecode(password: ReadOnlySpan<System_Internal.Char>, source: ReadOnlyMemory<System_Internal.Byte>, bytesRead: int): Pkcs8PrivateKeyInfo;
404
404
  };
405
405
 
406
406
 
407
407
  export type Pkcs8PrivateKeyInfo = Pkcs8PrivateKeyInfo$instance;
408
408
 
409
409
  export interface Pkcs9AttributeObject$instance extends AsnEncodedData {
410
- readonly oid: Oid | undefined;
411
- copyFrom(asnEncodedData: AsnEncodedData): void;
410
+ readonly Oid: Oid | undefined;
411
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
412
412
  }
413
413
 
414
414
 
@@ -423,8 +423,8 @@ export const Pkcs9AttributeObject: {
423
423
  export type Pkcs9AttributeObject = Pkcs9AttributeObject$instance;
424
424
 
425
425
  export interface Pkcs9ContentType$instance extends Pkcs9AttributeObject {
426
- readonly contentType: Oid;
427
- copyFrom(asnEncodedData: AsnEncodedData): void;
426
+ readonly ContentType: Oid;
427
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
428
428
  }
429
429
 
430
430
 
@@ -436,8 +436,8 @@ export const Pkcs9ContentType: {
436
436
  export type Pkcs9ContentType = Pkcs9ContentType$instance;
437
437
 
438
438
  export interface Pkcs9DocumentDescription$instance extends Pkcs9AttributeObject {
439
- readonly documentDescription: string;
440
- copyFrom(asnEncodedData: AsnEncodedData): void;
439
+ readonly DocumentDescription: string;
440
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
441
441
  }
442
442
 
443
443
 
@@ -451,8 +451,8 @@ export const Pkcs9DocumentDescription: {
451
451
  export type Pkcs9DocumentDescription = Pkcs9DocumentDescription$instance;
452
452
 
453
453
  export interface Pkcs9DocumentName$instance extends Pkcs9AttributeObject {
454
- readonly documentName: string;
455
- copyFrom(asnEncodedData: AsnEncodedData): void;
454
+ readonly DocumentName: string;
455
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
456
456
  }
457
457
 
458
458
 
@@ -466,8 +466,8 @@ export const Pkcs9DocumentName: {
466
466
  export type Pkcs9DocumentName = Pkcs9DocumentName$instance;
467
467
 
468
468
  export interface Pkcs9LocalKeyId$instance extends Pkcs9AttributeObject {
469
- readonly keyId: ReadOnlyMemory<System_Internal.Byte>;
470
- copyFrom(asnEncodedData: AsnEncodedData): void;
469
+ readonly KeyId: ReadOnlyMemory<System_Internal.Byte>;
470
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
471
471
  }
472
472
 
473
473
 
@@ -481,8 +481,8 @@ export const Pkcs9LocalKeyId: {
481
481
  export type Pkcs9LocalKeyId = Pkcs9LocalKeyId$instance;
482
482
 
483
483
  export interface Pkcs9MessageDigest$instance extends Pkcs9AttributeObject {
484
- readonly messageDigest: byte[];
485
- copyFrom(asnEncodedData: AsnEncodedData): void;
484
+ readonly MessageDigest: byte[];
485
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
486
486
  }
487
487
 
488
488
 
@@ -494,8 +494,8 @@ export const Pkcs9MessageDigest: {
494
494
  export type Pkcs9MessageDigest = Pkcs9MessageDigest$instance;
495
495
 
496
496
  export interface Pkcs9SigningTime$instance extends Pkcs9AttributeObject {
497
- readonly signingTime: DateTime;
498
- copyFrom(asnEncodedData: AsnEncodedData): void;
497
+ readonly SigningTime: DateTime;
498
+ CopyFrom(asnEncodedData: AsnEncodedData): void;
499
499
  }
500
500
 
501
501
 
@@ -509,8 +509,8 @@ export const Pkcs9SigningTime: {
509
509
  export type Pkcs9SigningTime = Pkcs9SigningTime$instance;
510
510
 
511
511
  export interface PublicKeyInfo$instance {
512
- readonly algorithm: AlgorithmIdentifier;
513
- readonly keyValue: byte[];
512
+ readonly Algorithm: AlgorithmIdentifier;
513
+ readonly KeyValue: byte[];
514
514
  }
515
515
 
516
516
 
@@ -522,11 +522,11 @@ export const PublicKeyInfo: {
522
522
  export type PublicKeyInfo = PublicKeyInfo$instance;
523
523
 
524
524
  export interface RecipientInfo$instance {
525
- readonly encryptedKey: byte[];
526
- readonly keyEncryptionAlgorithm: AlgorithmIdentifier;
527
- readonly recipientIdentifier: SubjectIdentifier;
528
- readonly type_: RecipientInfoType;
529
- readonly version: int;
525
+ readonly EncryptedKey: byte[];
526
+ readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
527
+ readonly RecipientIdentifier: SubjectIdentifier;
528
+ readonly Type: RecipientInfoType;
529
+ readonly Version: int;
530
530
  }
531
531
 
532
532
 
@@ -537,13 +537,13 @@ export const RecipientInfo: {
537
537
  export type RecipientInfo = RecipientInfo$instance;
538
538
 
539
539
  export interface RecipientInfoCollection$instance {
540
- readonly count: int;
541
- readonly isSynchronized: boolean;
542
- readonly item: RecipientInfo;
543
- readonly syncRoot: unknown;
544
- copyTo(array: ClrArray, index: int): void;
545
- copyTo(array: RecipientInfo[], index: int): void;
546
- getEnumerator(): RecipientInfoEnumerator;
540
+ readonly Count: int;
541
+ readonly IsSynchronized: boolean;
542
+ readonly Item: RecipientInfo;
543
+ readonly SyncRoot: unknown;
544
+ CopyTo(array: ClrArray, index: int): void;
545
+ CopyTo(array: RecipientInfo[], index: int): void;
546
+ GetEnumerator(): RecipientInfoEnumerator;
547
547
  }
548
548
 
549
549
 
@@ -555,9 +555,9 @@ export const RecipientInfoCollection: {
555
555
  export type RecipientInfoCollection = RecipientInfoCollection$instance;
556
556
 
557
557
  export interface RecipientInfoEnumerator$instance {
558
- readonly current: RecipientInfo;
559
- moveNext(): boolean;
560
- reset(): void;
558
+ readonly Current: RecipientInfo;
559
+ MoveNext(): boolean;
560
+ Reset(): void;
561
561
  }
562
562
 
563
563
 
@@ -569,95 +569,95 @@ export const RecipientInfoEnumerator: {
569
569
  export type RecipientInfoEnumerator = RecipientInfoEnumerator$instance;
570
570
 
571
571
  export interface Rfc3161TimestampRequest$instance {
572
- readonly hasExtensions: boolean;
573
- readonly hashAlgorithmId: Oid;
574
- readonly requestedPolicyId: Oid | undefined;
575
- readonly requestSignerCertificate: boolean;
576
- readonly version: int;
577
- encode(): byte[];
578
- getExtensions(): X509ExtensionCollection;
579
- getMessageHash(): ReadOnlyMemory<System_Internal.Byte>;
580
- getNonce(): Nullable<ReadOnlyMemory<System_Internal.Byte>>;
581
- processResponse(responseBytes: ReadOnlyMemory<System_Internal.Byte>, bytesConsumed: int): Rfc3161TimestampToken;
582
- tryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
572
+ readonly HasExtensions: boolean;
573
+ readonly HashAlgorithmId: Oid;
574
+ readonly RequestedPolicyId: Oid | undefined;
575
+ readonly RequestSignerCertificate: boolean;
576
+ readonly Version: int;
577
+ Encode(): byte[];
578
+ GetExtensions(): X509ExtensionCollection;
579
+ GetMessageHash(): ReadOnlyMemory<System_Internal.Byte>;
580
+ GetNonce(): Nullable<ReadOnlyMemory<System_Internal.Byte>>;
581
+ ProcessResponse(responseBytes: ReadOnlyMemory<System_Internal.Byte>, bytesConsumed: int): Rfc3161TimestampToken;
582
+ TryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
583
583
  }
584
584
 
585
585
 
586
586
  export const Rfc3161TimestampRequest: {
587
587
  new(): Rfc3161TimestampRequest;
588
- createFromData(data: ReadOnlySpan<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
589
- createFromHash(hash: ReadOnlyMemory<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
590
- createFromHash(hash: ReadOnlyMemory<System_Internal.Byte>, hashAlgorithmId: Oid, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
591
- createFromSignerInfo(signerInfo: SignerInfo, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
592
- tryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, request: Rfc3161TimestampRequest, bytesConsumed: int): boolean;
588
+ CreateFromData(data: ReadOnlySpan<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
589
+ CreateFromHash(hash: ReadOnlyMemory<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
590
+ CreateFromHash(hash: ReadOnlyMemory<System_Internal.Byte>, hashAlgorithmId: Oid, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
591
+ CreateFromSignerInfo(signerInfo: SignerInfo, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?: Nullable<ReadOnlyMemory<System_Internal.Byte>>, requestSignerCertificates?: boolean, extensions?: X509ExtensionCollection): Rfc3161TimestampRequest;
592
+ TryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, request: Rfc3161TimestampRequest, bytesConsumed: int): boolean;
593
593
  };
594
594
 
595
595
 
596
596
  export type Rfc3161TimestampRequest = Rfc3161TimestampRequest$instance;
597
597
 
598
598
  export interface Rfc3161TimestampToken$instance {
599
- readonly tokenInfo: Rfc3161TimestampTokenInfo;
600
- asSignedCms(): SignedCms;
601
- verifySignatureForData(data: ReadOnlySpan<System_Internal.Byte>, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
602
- verifySignatureForHash(hash: ReadOnlySpan<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
603
- verifySignatureForHash(hash: ReadOnlySpan<System_Internal.Byte>, hashAlgorithmId: Oid, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
604
- verifySignatureForSignerInfo(signerInfo: SignerInfo, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
599
+ readonly TokenInfo: Rfc3161TimestampTokenInfo;
600
+ AsSignedCms(): SignedCms;
601
+ VerifySignatureForData(data: ReadOnlySpan<System_Internal.Byte>, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
602
+ VerifySignatureForHash(hash: ReadOnlySpan<System_Internal.Byte>, hashAlgorithm: HashAlgorithmName, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
603
+ VerifySignatureForHash(hash: ReadOnlySpan<System_Internal.Byte>, hashAlgorithmId: Oid, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
604
+ VerifySignatureForSignerInfo(signerInfo: SignerInfo, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
605
605
  }
606
606
 
607
607
 
608
608
  export const Rfc3161TimestampToken: {
609
609
  new(): Rfc3161TimestampToken;
610
- tryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, token: Rfc3161TimestampToken, bytesConsumed: int): boolean;
610
+ TryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, token: Rfc3161TimestampToken, bytesConsumed: int): boolean;
611
611
  };
612
612
 
613
613
 
614
614
  export type Rfc3161TimestampToken = Rfc3161TimestampToken$instance;
615
615
 
616
616
  export interface Rfc3161TimestampTokenInfo$instance {
617
- readonly accuracyInMicroseconds: Nullable<System_Internal.Int64>;
618
- readonly hasExtensions: boolean;
619
- readonly hashAlgorithmId: Oid;
620
- readonly isOrdering: boolean;
621
- readonly policyId: Oid;
622
- readonly timestamp: DateTimeOffset;
623
- readonly version: int;
624
- encode(): byte[];
625
- getExtensions(): X509ExtensionCollection;
626
- getMessageHash(): ReadOnlyMemory<System_Internal.Byte>;
627
- getNonce(): Nullable<ReadOnlyMemory<System_Internal.Byte>>;
628
- getSerialNumber(): ReadOnlyMemory<System_Internal.Byte>;
629
- getTimestampAuthorityName(): Nullable<ReadOnlyMemory<System_Internal.Byte>>;
630
- tryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
617
+ readonly AccuracyInMicroseconds: Nullable<System_Internal.Int64>;
618
+ readonly HasExtensions: boolean;
619
+ readonly HashAlgorithmId: Oid;
620
+ readonly IsOrdering: boolean;
621
+ readonly PolicyId: Oid;
622
+ readonly Timestamp: DateTimeOffset;
623
+ readonly Version: int;
624
+ Encode(): byte[];
625
+ GetExtensions(): X509ExtensionCollection;
626
+ GetMessageHash(): ReadOnlyMemory<System_Internal.Byte>;
627
+ GetNonce(): Nullable<ReadOnlyMemory<System_Internal.Byte>>;
628
+ GetSerialNumber(): ReadOnlyMemory<System_Internal.Byte>;
629
+ GetTimestampAuthorityName(): Nullable<ReadOnlyMemory<System_Internal.Byte>>;
630
+ TryEncode(destination: Span<System_Internal.Byte>, bytesWritten: int): boolean;
631
631
  }
632
632
 
633
633
 
634
634
  export const Rfc3161TimestampTokenInfo: {
635
635
  new(policyId: Oid, hashAlgorithmId: Oid, messageHash: ReadOnlyMemory<System_Internal.Byte>, serialNumber: ReadOnlyMemory<System_Internal.Byte>, timestamp: DateTimeOffset, accuracyInMicroseconds: Nullable<System_Internal.Int64>, isOrdering: boolean, nonce: Nullable<ReadOnlyMemory<System_Internal.Byte>>, timestampAuthorityName: Nullable<ReadOnlyMemory<System_Internal.Byte>>, extensions: X509ExtensionCollection): Rfc3161TimestampTokenInfo;
636
- tryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, timestampTokenInfo: Rfc3161TimestampTokenInfo, bytesConsumed: int): boolean;
636
+ TryDecode(encodedBytes: ReadOnlyMemory<System_Internal.Byte>, timestampTokenInfo: Rfc3161TimestampTokenInfo, bytesConsumed: int): boolean;
637
637
  };
638
638
 
639
639
 
640
640
  export type Rfc3161TimestampTokenInfo = Rfc3161TimestampTokenInfo$instance;
641
641
 
642
642
  export interface SignedCms$instance {
643
- readonly certificates: X509Certificate2Collection;
644
- readonly contentInfo: ContentInfo;
645
- readonly detached: boolean;
646
- readonly signerInfos: SignerInfoCollection;
647
- readonly version: int;
648
- addCertificate(certificate: X509Certificate2): void;
649
- checkHash(): void;
650
- checkSignature(verifySignatureOnly: boolean): void;
651
- checkSignature(extraStore: X509Certificate2Collection, verifySignatureOnly: boolean): void;
652
- computeSignature(): void;
653
- computeSignature(signer: CmsSigner): void;
654
- computeSignature(signer: CmsSigner, silent: boolean): void;
655
- decode(encodedMessage: byte[]): void;
656
- decode(encodedMessage: ReadOnlySpan<System_Internal.Byte>): void;
657
- encode(): byte[];
658
- removeCertificate(certificate: X509Certificate2): void;
659
- removeSignature(index: int): void;
660
- removeSignature(signerInfo: SignerInfo): void;
643
+ readonly Certificates: X509Certificate2Collection;
644
+ readonly ContentInfo: ContentInfo;
645
+ readonly Detached: boolean;
646
+ readonly SignerInfos: SignerInfoCollection;
647
+ readonly Version: int;
648
+ AddCertificate(certificate: X509Certificate2): void;
649
+ CheckHash(): void;
650
+ CheckSignature(verifySignatureOnly: boolean): void;
651
+ CheckSignature(extraStore: X509Certificate2Collection, verifySignatureOnly: boolean): void;
652
+ ComputeSignature(): void;
653
+ ComputeSignature(signer: CmsSigner): void;
654
+ ComputeSignature(signer: CmsSigner, silent: boolean): void;
655
+ Decode(encodedMessage: byte[]): void;
656
+ Decode(encodedMessage: ReadOnlySpan<System_Internal.Byte>): void;
657
+ Encode(): byte[];
658
+ RemoveCertificate(certificate: X509Certificate2): void;
659
+ RemoveSignature(index: int): void;
660
+ RemoveSignature(signerInfo: SignerInfo): void;
661
661
  }
662
662
 
663
663
 
@@ -674,24 +674,24 @@ export const SignedCms: {
674
674
  export type SignedCms = SignedCms$instance;
675
675
 
676
676
  export interface SignerInfo$instance {
677
- readonly certificate: X509Certificate2;
678
- readonly counterSignerInfos: SignerInfoCollection;
679
- readonly digestAlgorithm: Oid;
680
- readonly signatureAlgorithm: Oid;
681
- readonly signedAttributes: CryptographicAttributeObjectCollection;
682
- readonly signerIdentifier: SubjectIdentifier;
683
- readonly unsignedAttributes: CryptographicAttributeObjectCollection;
684
- readonly version: int;
685
- addUnsignedAttribute(unsignedAttribute: AsnEncodedData): void;
686
- checkHash(): void;
687
- checkSignature(verifySignatureOnly: boolean): void;
688
- checkSignature(extraStore: X509Certificate2Collection, verifySignatureOnly: boolean): void;
689
- computeCounterSignature(): void;
690
- computeCounterSignature(signer: CmsSigner): void;
691
- getSignature(): byte[];
692
- removeCounterSignature(index: int): void;
693
- removeCounterSignature(counterSignerInfo: SignerInfo): void;
694
- removeUnsignedAttribute(unsignedAttribute: AsnEncodedData): void;
677
+ readonly Certificate: X509Certificate2;
678
+ readonly CounterSignerInfos: SignerInfoCollection;
679
+ readonly DigestAlgorithm: Oid;
680
+ readonly SignatureAlgorithm: Oid;
681
+ readonly SignedAttributes: CryptographicAttributeObjectCollection;
682
+ readonly SignerIdentifier: SubjectIdentifier;
683
+ readonly UnsignedAttributes: CryptographicAttributeObjectCollection;
684
+ readonly Version: int;
685
+ AddUnsignedAttribute(unsignedAttribute: AsnEncodedData): void;
686
+ CheckHash(): void;
687
+ CheckSignature(verifySignatureOnly: boolean): void;
688
+ CheckSignature(extraStore: X509Certificate2Collection, verifySignatureOnly: boolean): void;
689
+ ComputeCounterSignature(): void;
690
+ ComputeCounterSignature(signer: CmsSigner): void;
691
+ GetSignature(): byte[];
692
+ RemoveCounterSignature(index: int): void;
693
+ RemoveCounterSignature(counterSignerInfo: SignerInfo): void;
694
+ RemoveUnsignedAttribute(unsignedAttribute: AsnEncodedData): void;
695
695
  }
696
696
 
697
697
 
@@ -703,13 +703,13 @@ export const SignerInfo: {
703
703
  export type SignerInfo = SignerInfo$instance;
704
704
 
705
705
  export interface SignerInfoCollection$instance {
706
- readonly count: int;
707
- readonly isSynchronized: boolean;
708
- readonly item: SignerInfo;
709
- readonly syncRoot: unknown;
710
- copyTo(array: ClrArray, index: int): void;
711
- copyTo(array: SignerInfo[], index: int): void;
712
- getEnumerator(): SignerInfoEnumerator;
706
+ readonly Count: int;
707
+ readonly IsSynchronized: boolean;
708
+ readonly Item: SignerInfo;
709
+ readonly SyncRoot: unknown;
710
+ CopyTo(array: ClrArray, index: int): void;
711
+ CopyTo(array: SignerInfo[], index: int): void;
712
+ GetEnumerator(): SignerInfoEnumerator;
713
713
  }
714
714
 
715
715
 
@@ -721,9 +721,9 @@ export const SignerInfoCollection: {
721
721
  export type SignerInfoCollection = SignerInfoCollection$instance;
722
722
 
723
723
  export interface SignerInfoEnumerator$instance {
724
- readonly current: SignerInfo;
725
- moveNext(): boolean;
726
- reset(): void;
724
+ readonly Current: SignerInfo;
725
+ MoveNext(): boolean;
726
+ Reset(): void;
727
727
  }
728
728
 
729
729
 
@@ -735,9 +735,9 @@ export const SignerInfoEnumerator: {
735
735
  export type SignerInfoEnumerator = SignerInfoEnumerator$instance;
736
736
 
737
737
  export interface SubjectIdentifier$instance {
738
- readonly type_: SubjectIdentifierType;
739
- readonly value: unknown;
740
- matchesCertificate(certificate: X509Certificate2): boolean;
738
+ readonly Type: SubjectIdentifierType;
739
+ readonly Value: unknown;
740
+ MatchesCertificate(certificate: X509Certificate2): boolean;
741
741
  }
742
742
 
743
743
 
@@ -749,8 +749,8 @@ export const SubjectIdentifier: {
749
749
  export type SubjectIdentifier = SubjectIdentifier$instance;
750
750
 
751
751
  export interface SubjectIdentifierOrKey$instance {
752
- readonly type_: SubjectIdentifierOrKeyType;
753
- readonly value: unknown;
752
+ readonly Type: SubjectIdentifierOrKeyType;
753
+ readonly Value: unknown;
754
754
  }
755
755
 
756
756