@tsonic/microsoft-extensions 10.0.5 → 10.0.8
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.
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +21 -19
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +25 -21
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +41 -33
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +98 -89
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +13 -11
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +16 -10
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +15 -9
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +17 -17
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +6 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +19 -11
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +129 -118
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +18 -18
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +47 -31
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +25 -19
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +1 -1
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +39 -39
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +12 -12
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +7 -7
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +11 -11
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +21 -15
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +21 -13
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +16 -6
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +20 -20
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +33 -15
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +53 -39
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +13 -13
- package/Microsoft.Extensions.Http/internal/index.d.ts +14 -10
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +13 -9
- package/Microsoft.Extensions.Internal/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Localization/internal/index.d.ts +31 -19
- package/Microsoft.Extensions.Logging/internal/index.d.ts +80 -66
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +28 -22
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +4 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +24 -10
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +5 -5
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +9 -7
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +6 -6
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +23 -7
- package/Microsoft.Extensions.Options/internal/index.d.ts +168 -128
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +40 -26
- package/Microsoft.Extensions.Validation/internal/index.d.ts +31 -21
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -3
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +10 -4
- package/System.Diagnostics/internal/index.d.ts +25 -12
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +120 -70
- package/System.Net.Http/internal/index.d.ts +3 -3
- package/System.Security.Cryptography/internal/index.d.ts +12 -7
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +150 -75
- package/System.Security.Cryptography.Xml/internal/index.d.ts +101 -22
- package/__internal/extensions/index.d.ts +614 -505
- package/package.json +3 -3
|
@@ -10,15 +10,15 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { CryptographicAttributeObject, CryptographicAttributeObjectCollection } from "../../System.Security.Cryptography/internal/index.js";
|
|
13
|
-
import type {
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import
|
|
21
|
-
import type {
|
|
13
|
+
import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
14
|
+
import type { ReadOnlyCollection_1 } from "@tsonic/dotnet/System.Collections.ObjectModel/internal/index.js";
|
|
15
|
+
import * as System_Collections_Internal from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
16
|
+
import type { ICollection, IEnumerable, IEnumerator } from "@tsonic/dotnet/System.Collections/internal/index.js";
|
|
17
|
+
import type { X509Certificate2, X509Certificate2Collection, X509ExtensionCollection, X509IncludeOption } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
18
|
+
import * as System_Security_Cryptography_Lib from "@tsonic/dotnet/System.Security.Cryptography/internal/index.js";
|
|
19
|
+
import type { AsnEncodedData, AsymmetricAlgorithm, CompositeMLDsa, CspParameters, HashAlgorithmName, MLDsa, Oid, PbeParameters, RSA, RSAEncryptionPadding, RSASignaturePadding, SlhDsa } from "@tsonic/dotnet/System.Security.Cryptography/internal/index.js";
|
|
20
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
21
|
+
import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeOffset, Enum, IComparable, IConvertible, IFormattable, Int32, Int64, ISpanFormattable, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
22
22
|
|
|
23
23
|
export enum Pkcs12ConfidentialityMode {
|
|
24
24
|
Unknown = 0,
|
|
@@ -60,6 +60,8 @@ export enum SubjectIdentifierType {
|
|
|
60
60
|
|
|
61
61
|
|
|
62
62
|
export interface AlgorithmIdentifier$instance {
|
|
63
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_AlgorithmIdentifier: never;
|
|
64
|
+
|
|
63
65
|
KeyLength: int;
|
|
64
66
|
Oid: Oid;
|
|
65
67
|
Parameters: byte[];
|
|
@@ -76,6 +78,8 @@ export const AlgorithmIdentifier: {
|
|
|
76
78
|
export type AlgorithmIdentifier = AlgorithmIdentifier$instance;
|
|
77
79
|
|
|
78
80
|
export interface CmsRecipient$instance {
|
|
81
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_CmsRecipient: never;
|
|
82
|
+
|
|
79
83
|
readonly Certificate: X509Certificate2;
|
|
80
84
|
readonly RecipientIdentifierType: SubjectIdentifierType;
|
|
81
85
|
readonly RSAEncryptionPadding: RSAEncryptionPadding | undefined;
|
|
@@ -93,12 +97,13 @@ export const CmsRecipient: {
|
|
|
93
97
|
export type CmsRecipient = CmsRecipient$instance;
|
|
94
98
|
|
|
95
99
|
export interface CmsRecipientCollection$instance {
|
|
100
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_CmsRecipientCollection: never;
|
|
101
|
+
|
|
96
102
|
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
97
103
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
98
104
|
|
|
99
105
|
readonly Count: int;
|
|
100
106
|
readonly IsSynchronized: boolean;
|
|
101
|
-
readonly [index: number]: CmsRecipient;
|
|
102
107
|
readonly SyncRoot: unknown;
|
|
103
108
|
Add(recipient: CmsRecipient): int;
|
|
104
109
|
CopyTo(array: ClrArray, index: int): void;
|
|
@@ -115,9 +120,11 @@ export const CmsRecipientCollection: {
|
|
|
115
120
|
};
|
|
116
121
|
|
|
117
122
|
|
|
118
|
-
export type CmsRecipientCollection = CmsRecipientCollection$instance;
|
|
123
|
+
export type CmsRecipientCollection = CmsRecipientCollection$instance & { readonly [index: number]: CmsRecipient; };
|
|
119
124
|
|
|
120
125
|
export interface CmsRecipientEnumerator$instance {
|
|
126
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_CmsRecipientEnumerator: never;
|
|
127
|
+
|
|
121
128
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
122
129
|
|
|
123
130
|
readonly Current: CmsRecipient;
|
|
@@ -133,6 +140,8 @@ export const CmsRecipientEnumerator: {
|
|
|
133
140
|
export type CmsRecipientEnumerator = CmsRecipientEnumerator$instance;
|
|
134
141
|
|
|
135
142
|
export interface CmsSigner$instance {
|
|
143
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_CmsSigner: never;
|
|
144
|
+
|
|
136
145
|
get Certificate(): X509Certificate2 | undefined;
|
|
137
146
|
set Certificate(value: X509Certificate2 | undefined);
|
|
138
147
|
readonly Certificates: X509Certificate2Collection;
|
|
@@ -165,6 +174,8 @@ export const CmsSigner: {
|
|
|
165
174
|
export type CmsSigner = CmsSigner$instance;
|
|
166
175
|
|
|
167
176
|
export interface ContentInfo$instance {
|
|
177
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_ContentInfo: never;
|
|
178
|
+
|
|
168
179
|
readonly Content: byte[];
|
|
169
180
|
readonly ContentType: Oid;
|
|
170
181
|
}
|
|
@@ -174,13 +185,15 @@ export const ContentInfo: {
|
|
|
174
185
|
new(content: byte[]): ContentInfo;
|
|
175
186
|
new(contentType: Oid, content: byte[]): ContentInfo;
|
|
176
187
|
GetContentType(encodedMessage: byte[]): Oid;
|
|
177
|
-
GetContentType(encodedMessage:
|
|
188
|
+
GetContentType(encodedMessage: ReadOnlySpan_1<System_Internal.Byte>): Oid;
|
|
178
189
|
};
|
|
179
190
|
|
|
180
191
|
|
|
181
192
|
export type ContentInfo = ContentInfo$instance;
|
|
182
193
|
|
|
183
194
|
export interface EnvelopedCms$instance {
|
|
195
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_EnvelopedCms: never;
|
|
196
|
+
|
|
184
197
|
Certificates: X509Certificate2Collection;
|
|
185
198
|
ContentEncryptionAlgorithm: AlgorithmIdentifier;
|
|
186
199
|
ContentInfo: ContentInfo;
|
|
@@ -188,7 +201,7 @@ export interface EnvelopedCms$instance {
|
|
|
188
201
|
UnprotectedAttributes: CryptographicAttributeObjectCollection;
|
|
189
202
|
Version: int;
|
|
190
203
|
Decode(encodedMessage: byte[]): void;
|
|
191
|
-
Decode(encodedMessage:
|
|
204
|
+
Decode(encodedMessage: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
192
205
|
Decrypt(): void;
|
|
193
206
|
Decrypt(recipientInfo: RecipientInfo): void;
|
|
194
207
|
Decrypt(recipientInfo: RecipientInfo, extraStore: X509Certificate2Collection): void;
|
|
@@ -210,6 +223,8 @@ export const EnvelopedCms: {
|
|
|
210
223
|
export type EnvelopedCms = EnvelopedCms$instance;
|
|
211
224
|
|
|
212
225
|
export interface KeyAgreeRecipientInfo$instance extends RecipientInfo {
|
|
226
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_KeyAgreeRecipientInfo: never;
|
|
227
|
+
|
|
213
228
|
readonly Date: DateTime;
|
|
214
229
|
readonly EncryptedKey: byte[];
|
|
215
230
|
readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
|
|
@@ -227,6 +242,8 @@ export const KeyAgreeRecipientInfo: {
|
|
|
227
242
|
export type KeyAgreeRecipientInfo = KeyAgreeRecipientInfo$instance;
|
|
228
243
|
|
|
229
244
|
export interface KeyTransRecipientInfo$instance extends RecipientInfo {
|
|
245
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_KeyTransRecipientInfo: never;
|
|
246
|
+
|
|
230
247
|
readonly EncryptedKey: byte[];
|
|
231
248
|
readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
|
|
232
249
|
readonly RecipientIdentifier: SubjectIdentifier;
|
|
@@ -241,17 +258,19 @@ export const KeyTransRecipientInfo: {
|
|
|
241
258
|
export type KeyTransRecipientInfo = KeyTransRecipientInfo$instance;
|
|
242
259
|
|
|
243
260
|
export interface Pkcs12Builder$instance {
|
|
261
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12Builder: never;
|
|
262
|
+
|
|
244
263
|
readonly IsSealed: boolean;
|
|
245
264
|
AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: byte[], pbeParameters: PbeParameters): void;
|
|
246
|
-
AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes:
|
|
265
|
+
AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): void;
|
|
247
266
|
AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: string, pbeParameters: PbeParameters): void;
|
|
248
|
-
AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password:
|
|
267
|
+
AddSafeContentsEncrypted(safeContents: Pkcs12SafeContents, password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): void;
|
|
249
268
|
AddSafeContentsUnencrypted(safeContents: Pkcs12SafeContents): void;
|
|
250
269
|
Encode(): byte[];
|
|
251
270
|
SealWithMac(password: string, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
|
|
252
|
-
SealWithMac(password:
|
|
271
|
+
SealWithMac(password: ReadOnlySpan_1<System_Internal.Char>, hashAlgorithm: HashAlgorithmName, iterationCount: int): void;
|
|
253
272
|
SealWithoutIntegrity(): void;
|
|
254
|
-
TryEncode(destination:
|
|
273
|
+
TryEncode(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
255
274
|
}
|
|
256
275
|
|
|
257
276
|
|
|
@@ -263,7 +282,9 @@ export const Pkcs12Builder: {
|
|
|
263
282
|
export type Pkcs12Builder = Pkcs12Builder$instance;
|
|
264
283
|
|
|
265
284
|
export interface Pkcs12CertBag$instance extends Pkcs12SafeBag {
|
|
266
|
-
readonly
|
|
285
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12CertBag: never;
|
|
286
|
+
|
|
287
|
+
readonly EncodedCertificate: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
267
288
|
readonly IsX509Certificate: boolean;
|
|
268
289
|
GetCertificate(): X509Certificate2;
|
|
269
290
|
GetCertificateType(): Oid;
|
|
@@ -271,71 +292,79 @@ export interface Pkcs12CertBag$instance extends Pkcs12SafeBag {
|
|
|
271
292
|
|
|
272
293
|
|
|
273
294
|
export const Pkcs12CertBag: {
|
|
274
|
-
new(certificateType: Oid, encodedCertificate:
|
|
295
|
+
new(certificateType: Oid, encodedCertificate: ReadOnlyMemory_1<System_Internal.Byte>): Pkcs12CertBag;
|
|
275
296
|
};
|
|
276
297
|
|
|
277
298
|
|
|
278
299
|
export type Pkcs12CertBag = Pkcs12CertBag$instance;
|
|
279
300
|
|
|
280
301
|
export interface Pkcs12Info$instance {
|
|
281
|
-
|
|
302
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12Info: never;
|
|
303
|
+
|
|
304
|
+
AuthenticatedSafe: ReadOnlyCollection_1<Pkcs12SafeContents>;
|
|
282
305
|
IntegrityMode: Pkcs12IntegrityMode;
|
|
283
306
|
VerifyMac(password: string): boolean;
|
|
284
|
-
VerifyMac(password:
|
|
307
|
+
VerifyMac(password: ReadOnlySpan_1<System_Internal.Char>): boolean;
|
|
285
308
|
}
|
|
286
309
|
|
|
287
310
|
|
|
288
311
|
export const Pkcs12Info: {
|
|
289
|
-
Decode(encodedBytes:
|
|
312
|
+
Decode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, bytesConsumed: int, skipCopy?: boolean): Pkcs12Info;
|
|
290
313
|
};
|
|
291
314
|
|
|
292
315
|
|
|
293
316
|
export type Pkcs12Info = Pkcs12Info$instance;
|
|
294
317
|
|
|
295
318
|
export interface Pkcs12KeyBag$instance extends Pkcs12SafeBag {
|
|
296
|
-
readonly
|
|
319
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12KeyBag: never;
|
|
320
|
+
|
|
321
|
+
readonly Pkcs8PrivateKey: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
297
322
|
}
|
|
298
323
|
|
|
299
324
|
|
|
300
325
|
export const Pkcs12KeyBag: {
|
|
301
|
-
new(pkcs8PrivateKey:
|
|
326
|
+
new(pkcs8PrivateKey: ReadOnlyMemory_1<System_Internal.Byte>, skipCopy: boolean): Pkcs12KeyBag;
|
|
302
327
|
};
|
|
303
328
|
|
|
304
329
|
|
|
305
330
|
export type Pkcs12KeyBag = Pkcs12KeyBag$instance;
|
|
306
331
|
|
|
307
332
|
export interface Pkcs12SafeBag$instance {
|
|
333
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12SafeBag: never;
|
|
334
|
+
|
|
308
335
|
Attributes: CryptographicAttributeObjectCollection;
|
|
309
|
-
readonly EncodedBagValue:
|
|
336
|
+
readonly EncodedBagValue: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
310
337
|
Encode(): byte[];
|
|
311
338
|
GetBagId(): Oid;
|
|
312
|
-
TryEncode(destination:
|
|
339
|
+
TryEncode(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
313
340
|
}
|
|
314
341
|
|
|
315
342
|
|
|
316
|
-
export const Pkcs12SafeBag: (abstract new(bagIdValue: string, encodedBagValue:
|
|
343
|
+
export const Pkcs12SafeBag: (abstract new(bagIdValue: string, encodedBagValue: ReadOnlyMemory_1<System_Internal.Byte>, skipCopy: boolean) => Pkcs12SafeBag) & {
|
|
317
344
|
};
|
|
318
345
|
|
|
319
346
|
|
|
320
347
|
export type Pkcs12SafeBag = Pkcs12SafeBag$instance;
|
|
321
348
|
|
|
322
349
|
export interface Pkcs12SafeContents$instance {
|
|
350
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12SafeContents: never;
|
|
351
|
+
|
|
323
352
|
ConfidentialityMode: Pkcs12ConfidentialityMode;
|
|
324
353
|
readonly IsReadOnly: boolean;
|
|
325
354
|
AddCertificate(certificate: X509Certificate2): Pkcs12CertBag;
|
|
326
355
|
AddKeyUnencrypted(key: AsymmetricAlgorithm): Pkcs12KeyBag;
|
|
327
356
|
AddNestedContents(safeContents: Pkcs12SafeContents): Pkcs12SafeContentsBag;
|
|
328
357
|
AddSafeBag(safeBag: Pkcs12SafeBag): void;
|
|
329
|
-
AddSecret(secretType: Oid, secretValue:
|
|
358
|
+
AddSecret(secretType: Oid, secretValue: ReadOnlyMemory_1<System_Internal.Byte>): Pkcs12SecretBag;
|
|
330
359
|
AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: byte[], pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
|
|
331
|
-
AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes:
|
|
360
|
+
AddShroudedKey(key: AsymmetricAlgorithm, passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
|
|
332
361
|
AddShroudedKey(key: AsymmetricAlgorithm, password: string, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
|
|
333
|
-
AddShroudedKey(key: AsymmetricAlgorithm, password:
|
|
362
|
+
AddShroudedKey(key: AsymmetricAlgorithm, password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): Pkcs12ShroudedKeyBag;
|
|
334
363
|
Decrypt(passwordBytes: byte[]): void;
|
|
335
|
-
Decrypt(passwordBytes:
|
|
364
|
+
Decrypt(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
336
365
|
Decrypt(password: string): void;
|
|
337
|
-
Decrypt(password:
|
|
338
|
-
GetBags():
|
|
366
|
+
Decrypt(password: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
367
|
+
GetBags(): IEnumerable_1<Pkcs12SafeBag>;
|
|
339
368
|
}
|
|
340
369
|
|
|
341
370
|
|
|
@@ -347,6 +376,8 @@ export const Pkcs12SafeContents: {
|
|
|
347
376
|
export type Pkcs12SafeContents = Pkcs12SafeContents$instance;
|
|
348
377
|
|
|
349
378
|
export interface Pkcs12SafeContentsBag$instance extends Pkcs12SafeBag {
|
|
379
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12SafeContentsBag: never;
|
|
380
|
+
|
|
350
381
|
get SafeContents(): Pkcs12SafeContents | undefined;
|
|
351
382
|
set SafeContents(value: Pkcs12SafeContents | undefined);
|
|
352
383
|
}
|
|
@@ -359,7 +390,9 @@ export const Pkcs12SafeContentsBag: {
|
|
|
359
390
|
export type Pkcs12SafeContentsBag = Pkcs12SafeContentsBag$instance;
|
|
360
391
|
|
|
361
392
|
export interface Pkcs12SecretBag$instance extends Pkcs12SafeBag {
|
|
362
|
-
readonly
|
|
393
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12SecretBag: never;
|
|
394
|
+
|
|
395
|
+
readonly SecretValue: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
363
396
|
GetSecretType(): Oid;
|
|
364
397
|
}
|
|
365
398
|
|
|
@@ -371,43 +404,49 @@ export const Pkcs12SecretBag: {
|
|
|
371
404
|
export type Pkcs12SecretBag = Pkcs12SecretBag$instance;
|
|
372
405
|
|
|
373
406
|
export interface Pkcs12ShroudedKeyBag$instance extends Pkcs12SafeBag {
|
|
374
|
-
readonly
|
|
407
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs12ShroudedKeyBag: never;
|
|
408
|
+
|
|
409
|
+
readonly EncryptedPkcs8PrivateKey: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
375
410
|
}
|
|
376
411
|
|
|
377
412
|
|
|
378
413
|
export const Pkcs12ShroudedKeyBag: {
|
|
379
|
-
new(encryptedPkcs8PrivateKey:
|
|
414
|
+
new(encryptedPkcs8PrivateKey: ReadOnlyMemory_1<System_Internal.Byte>, skipCopy: boolean): Pkcs12ShroudedKeyBag;
|
|
380
415
|
};
|
|
381
416
|
|
|
382
417
|
|
|
383
418
|
export type Pkcs12ShroudedKeyBag = Pkcs12ShroudedKeyBag$instance;
|
|
384
419
|
|
|
385
420
|
export interface Pkcs8PrivateKeyInfo$instance {
|
|
421
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs8PrivateKeyInfo: never;
|
|
422
|
+
|
|
386
423
|
readonly AlgorithmId: Oid;
|
|
387
|
-
readonly AlgorithmParameters:
|
|
424
|
+
readonly AlgorithmParameters: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
388
425
|
readonly Attributes: CryptographicAttributeObjectCollection;
|
|
389
|
-
readonly PrivateKeyBytes:
|
|
426
|
+
readonly PrivateKeyBytes: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
390
427
|
Encode(): byte[];
|
|
391
|
-
Encrypt(password:
|
|
392
|
-
Encrypt(passwordBytes:
|
|
393
|
-
TryEncode(destination:
|
|
394
|
-
TryEncrypt(password:
|
|
395
|
-
TryEncrypt(passwordBytes:
|
|
428
|
+
Encrypt(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters): byte[];
|
|
429
|
+
Encrypt(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters): byte[];
|
|
430
|
+
TryEncode(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
431
|
+
TryEncrypt(password: ReadOnlySpan_1<System_Internal.Char>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
432
|
+
TryEncrypt(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, pbeParameters: PbeParameters, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
396
433
|
}
|
|
397
434
|
|
|
398
435
|
|
|
399
436
|
export const Pkcs8PrivateKeyInfo: {
|
|
400
|
-
new(algorithmId: Oid, algorithmParameters:
|
|
437
|
+
new(algorithmId: Oid, algorithmParameters: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>, privateKey: ReadOnlyMemory_1<System_Internal.Byte>, skipCopies: boolean): Pkcs8PrivateKeyInfo;
|
|
401
438
|
Create(privateKey: AsymmetricAlgorithm): Pkcs8PrivateKeyInfo;
|
|
402
|
-
Decode(source:
|
|
403
|
-
DecryptAndDecode(passwordBytes:
|
|
404
|
-
DecryptAndDecode(password:
|
|
439
|
+
Decode(source: ReadOnlyMemory_1<System_Internal.Byte>, bytesRead: int, skipCopy?: boolean): Pkcs8PrivateKeyInfo;
|
|
440
|
+
DecryptAndDecode(passwordBytes: ReadOnlySpan_1<System_Internal.Byte>, source: ReadOnlyMemory_1<System_Internal.Byte>, bytesRead: int): Pkcs8PrivateKeyInfo;
|
|
441
|
+
DecryptAndDecode(password: ReadOnlySpan_1<System_Internal.Char>, source: ReadOnlyMemory_1<System_Internal.Byte>, bytesRead: int): Pkcs8PrivateKeyInfo;
|
|
405
442
|
};
|
|
406
443
|
|
|
407
444
|
|
|
408
445
|
export type Pkcs8PrivateKeyInfo = Pkcs8PrivateKeyInfo$instance;
|
|
409
446
|
|
|
410
447
|
export interface Pkcs9AttributeObject$instance extends AsnEncodedData {
|
|
448
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9AttributeObject: never;
|
|
449
|
+
|
|
411
450
|
readonly Oid: Oid | undefined;
|
|
412
451
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
413
452
|
}
|
|
@@ -424,6 +463,8 @@ export const Pkcs9AttributeObject: {
|
|
|
424
463
|
export type Pkcs9AttributeObject = Pkcs9AttributeObject$instance;
|
|
425
464
|
|
|
426
465
|
export interface Pkcs9ContentType$instance extends Pkcs9AttributeObject {
|
|
466
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9ContentType: never;
|
|
467
|
+
|
|
427
468
|
readonly ContentType: Oid;
|
|
428
469
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
429
470
|
}
|
|
@@ -437,6 +478,8 @@ export const Pkcs9ContentType: {
|
|
|
437
478
|
export type Pkcs9ContentType = Pkcs9ContentType$instance;
|
|
438
479
|
|
|
439
480
|
export interface Pkcs9DocumentDescription$instance extends Pkcs9AttributeObject {
|
|
481
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9DocumentDescription: never;
|
|
482
|
+
|
|
440
483
|
readonly DocumentDescription: string;
|
|
441
484
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
442
485
|
}
|
|
@@ -452,6 +495,8 @@ export const Pkcs9DocumentDescription: {
|
|
|
452
495
|
export type Pkcs9DocumentDescription = Pkcs9DocumentDescription$instance;
|
|
453
496
|
|
|
454
497
|
export interface Pkcs9DocumentName$instance extends Pkcs9AttributeObject {
|
|
498
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9DocumentName: never;
|
|
499
|
+
|
|
455
500
|
readonly DocumentName: string;
|
|
456
501
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
457
502
|
}
|
|
@@ -467,7 +512,9 @@ export const Pkcs9DocumentName: {
|
|
|
467
512
|
export type Pkcs9DocumentName = Pkcs9DocumentName$instance;
|
|
468
513
|
|
|
469
514
|
export interface Pkcs9LocalKeyId$instance extends Pkcs9AttributeObject {
|
|
470
|
-
readonly
|
|
515
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9LocalKeyId: never;
|
|
516
|
+
|
|
517
|
+
readonly KeyId: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
471
518
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
472
519
|
}
|
|
473
520
|
|
|
@@ -475,13 +522,15 @@ export interface Pkcs9LocalKeyId$instance extends Pkcs9AttributeObject {
|
|
|
475
522
|
export const Pkcs9LocalKeyId: {
|
|
476
523
|
new(): Pkcs9LocalKeyId;
|
|
477
524
|
new(keyId: byte[]): Pkcs9LocalKeyId;
|
|
478
|
-
new(keyId:
|
|
525
|
+
new(keyId: ReadOnlySpan_1<System_Internal.Byte>): Pkcs9LocalKeyId;
|
|
479
526
|
};
|
|
480
527
|
|
|
481
528
|
|
|
482
529
|
export type Pkcs9LocalKeyId = Pkcs9LocalKeyId$instance;
|
|
483
530
|
|
|
484
531
|
export interface Pkcs9MessageDigest$instance extends Pkcs9AttributeObject {
|
|
532
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9MessageDigest: never;
|
|
533
|
+
|
|
485
534
|
readonly MessageDigest: byte[];
|
|
486
535
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
487
536
|
}
|
|
@@ -495,6 +544,8 @@ export const Pkcs9MessageDigest: {
|
|
|
495
544
|
export type Pkcs9MessageDigest = Pkcs9MessageDigest$instance;
|
|
496
545
|
|
|
497
546
|
export interface Pkcs9SigningTime$instance extends Pkcs9AttributeObject {
|
|
547
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Pkcs9SigningTime: never;
|
|
548
|
+
|
|
498
549
|
readonly SigningTime: DateTime;
|
|
499
550
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
500
551
|
}
|
|
@@ -510,6 +561,8 @@ export const Pkcs9SigningTime: {
|
|
|
510
561
|
export type Pkcs9SigningTime = Pkcs9SigningTime$instance;
|
|
511
562
|
|
|
512
563
|
export interface PublicKeyInfo$instance {
|
|
564
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_PublicKeyInfo: never;
|
|
565
|
+
|
|
513
566
|
readonly Algorithm: AlgorithmIdentifier;
|
|
514
567
|
readonly KeyValue: byte[];
|
|
515
568
|
}
|
|
@@ -522,6 +575,8 @@ export const PublicKeyInfo: {
|
|
|
522
575
|
export type PublicKeyInfo = PublicKeyInfo$instance;
|
|
523
576
|
|
|
524
577
|
export interface RecipientInfo$instance {
|
|
578
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_RecipientInfo: never;
|
|
579
|
+
|
|
525
580
|
readonly EncryptedKey: byte[];
|
|
526
581
|
readonly KeyEncryptionAlgorithm: AlgorithmIdentifier;
|
|
527
582
|
readonly RecipientIdentifier: SubjectIdentifier;
|
|
@@ -537,12 +592,13 @@ export const RecipientInfo: {
|
|
|
537
592
|
export type RecipientInfo = RecipientInfo$instance;
|
|
538
593
|
|
|
539
594
|
export interface RecipientInfoCollection$instance {
|
|
595
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_RecipientInfoCollection: never;
|
|
596
|
+
|
|
540
597
|
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
541
598
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
542
599
|
|
|
543
600
|
readonly Count: int;
|
|
544
601
|
readonly IsSynchronized: boolean;
|
|
545
|
-
readonly [index: number]: RecipientInfo;
|
|
546
602
|
readonly SyncRoot: unknown;
|
|
547
603
|
CopyTo(array: ClrArray, index: int): void;
|
|
548
604
|
CopyTo(array: RecipientInfo[], index: int): void;
|
|
@@ -554,9 +610,11 @@ export const RecipientInfoCollection: {
|
|
|
554
610
|
};
|
|
555
611
|
|
|
556
612
|
|
|
557
|
-
export type RecipientInfoCollection = RecipientInfoCollection$instance;
|
|
613
|
+
export type RecipientInfoCollection = RecipientInfoCollection$instance & { readonly [index: number]: RecipientInfo; };
|
|
558
614
|
|
|
559
615
|
export interface RecipientInfoEnumerator$instance {
|
|
616
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_RecipientInfoEnumerator: never;
|
|
617
|
+
|
|
560
618
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
561
619
|
|
|
562
620
|
readonly Current: RecipientInfo;
|
|
@@ -572,6 +630,8 @@ export const RecipientInfoEnumerator: {
|
|
|
572
630
|
export type RecipientInfoEnumerator = RecipientInfoEnumerator$instance;
|
|
573
631
|
|
|
574
632
|
export interface Rfc3161TimestampRequest$instance {
|
|
633
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Rfc3161TimestampRequest: never;
|
|
634
|
+
|
|
575
635
|
readonly HasExtensions: boolean;
|
|
576
636
|
readonly HashAlgorithmId: Oid;
|
|
577
637
|
readonly RequestedPolicyId: Oid | undefined;
|
|
@@ -579,43 +639,47 @@ export interface Rfc3161TimestampRequest$instance {
|
|
|
579
639
|
readonly Version: int;
|
|
580
640
|
Encode(): byte[];
|
|
581
641
|
GetExtensions(): X509ExtensionCollection;
|
|
582
|
-
GetMessageHash():
|
|
583
|
-
GetNonce():
|
|
584
|
-
ProcessResponse(responseBytes:
|
|
585
|
-
TryEncode(destination:
|
|
642
|
+
GetMessageHash(): ReadOnlyMemory_1<System_Internal.Byte>;
|
|
643
|
+
GetNonce(): Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
644
|
+
ProcessResponse(responseBytes: ReadOnlyMemory_1<System_Internal.Byte>, bytesConsumed: int): Rfc3161TimestampToken;
|
|
645
|
+
TryEncode(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
586
646
|
}
|
|
587
647
|
|
|
588
648
|
|
|
589
649
|
export const Rfc3161TimestampRequest: {
|
|
590
|
-
CreateFromData(data:
|
|
591
|
-
CreateFromHash(hash:
|
|
592
|
-
CreateFromHash(hash:
|
|
593
|
-
CreateFromSignerInfo(signerInfo: SignerInfo, hashAlgorithm: HashAlgorithmName, requestedPolicyId?: Oid, nonce?:
|
|
594
|
-
TryDecode(encodedBytes:
|
|
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;
|
|
595
655
|
};
|
|
596
656
|
|
|
597
657
|
|
|
598
658
|
export type Rfc3161TimestampRequest = Rfc3161TimestampRequest$instance;
|
|
599
659
|
|
|
600
660
|
export interface Rfc3161TimestampToken$instance {
|
|
661
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Rfc3161TimestampToken: never;
|
|
662
|
+
|
|
601
663
|
TokenInfo: Rfc3161TimestampTokenInfo;
|
|
602
664
|
AsSignedCms(): SignedCms;
|
|
603
|
-
VerifySignatureForData(data:
|
|
604
|
-
VerifySignatureForHash(hash:
|
|
605
|
-
VerifySignatureForHash(hash:
|
|
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;
|
|
606
668
|
VerifySignatureForSignerInfo(signerInfo: SignerInfo, signerCertificate: X509Certificate2, extraCandidates?: X509Certificate2Collection): boolean;
|
|
607
669
|
}
|
|
608
670
|
|
|
609
671
|
|
|
610
672
|
export const Rfc3161TimestampToken: {
|
|
611
|
-
TryDecode(encodedBytes:
|
|
673
|
+
TryDecode(encodedBytes: ReadOnlyMemory_1<System_Internal.Byte>, token: Rfc3161TimestampToken, bytesConsumed: int): boolean;
|
|
612
674
|
};
|
|
613
675
|
|
|
614
676
|
|
|
615
677
|
export type Rfc3161TimestampToken = Rfc3161TimestampToken$instance;
|
|
616
678
|
|
|
617
679
|
export interface Rfc3161TimestampTokenInfo$instance {
|
|
618
|
-
readonly
|
|
680
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_Rfc3161TimestampTokenInfo: never;
|
|
681
|
+
|
|
682
|
+
readonly AccuracyInMicroseconds: Nullable_1<System_Internal.Int64>;
|
|
619
683
|
readonly HasExtensions: boolean;
|
|
620
684
|
readonly HashAlgorithmId: Oid;
|
|
621
685
|
readonly IsOrdering: boolean;
|
|
@@ -624,23 +688,25 @@ export interface Rfc3161TimestampTokenInfo$instance {
|
|
|
624
688
|
readonly Version: int;
|
|
625
689
|
Encode(): byte[];
|
|
626
690
|
GetExtensions(): X509ExtensionCollection;
|
|
627
|
-
GetMessageHash():
|
|
628
|
-
GetNonce():
|
|
629
|
-
GetSerialNumber():
|
|
630
|
-
GetTimestampAuthorityName():
|
|
631
|
-
TryEncode(destination:
|
|
691
|
+
GetMessageHash(): ReadOnlyMemory_1<System_Internal.Byte>;
|
|
692
|
+
GetNonce(): Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
693
|
+
GetSerialNumber(): ReadOnlyMemory_1<System_Internal.Byte>;
|
|
694
|
+
GetTimestampAuthorityName(): Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
695
|
+
TryEncode(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
632
696
|
}
|
|
633
697
|
|
|
634
698
|
|
|
635
699
|
export const Rfc3161TimestampTokenInfo: {
|
|
636
|
-
new(policyId: Oid, hashAlgorithmId: Oid, messageHash:
|
|
637
|
-
TryDecode(encodedBytes:
|
|
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;
|
|
638
702
|
};
|
|
639
703
|
|
|
640
704
|
|
|
641
705
|
export type Rfc3161TimestampTokenInfo = Rfc3161TimestampTokenInfo$instance;
|
|
642
706
|
|
|
643
707
|
export interface SignedCms$instance {
|
|
708
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_SignedCms: never;
|
|
709
|
+
|
|
644
710
|
readonly Certificates: X509Certificate2Collection;
|
|
645
711
|
ContentInfo: ContentInfo;
|
|
646
712
|
Detached: boolean;
|
|
@@ -654,7 +720,7 @@ export interface SignedCms$instance {
|
|
|
654
720
|
ComputeSignature(signer: CmsSigner): void;
|
|
655
721
|
ComputeSignature(signer: CmsSigner, silent: boolean): void;
|
|
656
722
|
Decode(encodedMessage: byte[]): void;
|
|
657
|
-
Decode(encodedMessage:
|
|
723
|
+
Decode(encodedMessage: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
658
724
|
Encode(): byte[];
|
|
659
725
|
RemoveCertificate(certificate: X509Certificate2): void;
|
|
660
726
|
RemoveSignature(index: int): void;
|
|
@@ -675,6 +741,8 @@ export const SignedCms: {
|
|
|
675
741
|
export type SignedCms = SignedCms$instance;
|
|
676
742
|
|
|
677
743
|
export interface SignerInfo$instance {
|
|
744
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_SignerInfo: never;
|
|
745
|
+
|
|
678
746
|
readonly Certificate: X509Certificate2 | undefined;
|
|
679
747
|
readonly CounterSignerInfos: SignerInfoCollection;
|
|
680
748
|
readonly DigestAlgorithm: Oid;
|
|
@@ -703,12 +771,13 @@ export const SignerInfo: {
|
|
|
703
771
|
export type SignerInfo = SignerInfo$instance;
|
|
704
772
|
|
|
705
773
|
export interface SignerInfoCollection$instance {
|
|
774
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_SignerInfoCollection: never;
|
|
775
|
+
|
|
706
776
|
readonly __tsonic_iface_System_Collections_ICollection: never;
|
|
707
777
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
708
778
|
|
|
709
779
|
readonly Count: int;
|
|
710
780
|
readonly IsSynchronized: boolean;
|
|
711
|
-
readonly [index: number]: SignerInfo;
|
|
712
781
|
readonly SyncRoot: unknown;
|
|
713
782
|
CopyTo(array: ClrArray, index: int): void;
|
|
714
783
|
CopyTo(array: SignerInfo[], index: int): void;
|
|
@@ -720,9 +789,11 @@ export const SignerInfoCollection: {
|
|
|
720
789
|
};
|
|
721
790
|
|
|
722
791
|
|
|
723
|
-
export type SignerInfoCollection = SignerInfoCollection$instance;
|
|
792
|
+
export type SignerInfoCollection = SignerInfoCollection$instance & { readonly [index: number]: SignerInfo; };
|
|
724
793
|
|
|
725
794
|
export interface SignerInfoEnumerator$instance {
|
|
795
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_SignerInfoEnumerator: never;
|
|
796
|
+
|
|
726
797
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
727
798
|
|
|
728
799
|
readonly Current: SignerInfo;
|
|
@@ -738,6 +809,8 @@ export const SignerInfoEnumerator: {
|
|
|
738
809
|
export type SignerInfoEnumerator = SignerInfoEnumerator$instance;
|
|
739
810
|
|
|
740
811
|
export interface SubjectIdentifier$instance {
|
|
812
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_SubjectIdentifier: never;
|
|
813
|
+
|
|
741
814
|
readonly Type: SubjectIdentifierType;
|
|
742
815
|
readonly Value: unknown | undefined;
|
|
743
816
|
MatchesCertificate(certificate: X509Certificate2): boolean;
|
|
@@ -751,6 +824,8 @@ export const SubjectIdentifier: {
|
|
|
751
824
|
export type SubjectIdentifier = SubjectIdentifier$instance;
|
|
752
825
|
|
|
753
826
|
export interface SubjectIdentifierOrKey$instance {
|
|
827
|
+
readonly __tsonic_type_System_Security_Cryptography_Pkcs_SubjectIdentifierOrKey: never;
|
|
828
|
+
|
|
754
829
|
readonly Type: SubjectIdentifierOrKeyType;
|
|
755
830
|
readonly Value: unknown;
|
|
756
831
|
}
|