@tsonic/microsoft-extensions 10.0.40 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.Extensions.Caching.Distributed/internal/index.d.ts +11 -10
- package/Microsoft.Extensions.Caching.Hybrid/internal/index.d.ts +10 -12
- package/Microsoft.Extensions.Caching.Memory/internal/index.d.ts +38 -40
- package/Microsoft.Extensions.Configuration/internal/index.d.ts +69 -71
- package/Microsoft.Extensions.Configuration.CommandLine/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.EnvironmentVariables/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.Ini/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.Configuration.Json/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Configuration.KeyPerFile/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.Configuration.Memory/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.Configuration.UserSecrets/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Configuration.Xml/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +103 -102
- package/Microsoft.Extensions.DependencyInjection.Extensions/internal/index.d.ts +24 -23
- package/Microsoft.Extensions.Diagnostics.HealthChecks/internal/index.d.ts +22 -21
- package/Microsoft.Extensions.Diagnostics.Metrics/internal/index.d.ts +30 -32
- package/Microsoft.Extensions.Diagnostics.Metrics.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.FileProviders.Composite/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Embedded/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.FileProviders.Physical/internal/index.d.ts +6 -5
- package/Microsoft.Extensions.FileSystemGlobbing/internal/index.d.ts +9 -8
- package/Microsoft.Extensions.FileSystemGlobbing.Abstractions/internal/index.d.ts +9 -8
- package/Microsoft.Extensions.FileSystemGlobbing.Internal/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PathSegments/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/bindings.json +230 -230
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts/internal/index.d.ts +45 -44
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.PatternContexts.d.ts +2 -2
- package/Microsoft.Extensions.FileSystemGlobbing.Internal.Patterns/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +30 -29
- package/Microsoft.Extensions.Hosting.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Http/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.Http.Logging/internal/index.d.ts +12 -11
- package/Microsoft.Extensions.Internal/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Localization/internal/index.d.ts +15 -14
- package/Microsoft.Extensions.Logging/internal/index.d.ts +78 -77
- package/Microsoft.Extensions.Logging.Abstractions/bindings.json +4 -1
- package/Microsoft.Extensions.Logging.Abstractions/internal/index.d.ts +13 -12
- package/Microsoft.Extensions.Logging.Configuration/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.Console/internal/index.d.ts +15 -17
- package/Microsoft.Extensions.Logging.Debug/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.EventLog/internal/index.d.ts +12 -11
- package/Microsoft.Extensions.Logging.EventSource/internal/index.d.ts +3 -2
- package/Microsoft.Extensions.Logging.TraceSource/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.ObjectPool/internal/index.d.ts +4 -3
- package/Microsoft.Extensions.Options/internal/index.d.ts +104 -103
- package/Microsoft.Extensions.Primitives/bindings.json +0 -20
- package/Microsoft.Extensions.Primitives/internal/index.d.ts +30 -33
- package/Microsoft.Extensions.Primitives.d.ts +1 -1
- package/Microsoft.Extensions.Validation/internal/index.d.ts +14 -16
- package/Microsoft.Extensions.WebEncoders/internal/index.d.ts +5 -4
- package/Microsoft.Extensions.WebEncoders.Testing/internal/index.d.ts +2 -4
- package/README.md +45 -15
- package/System.Diagnostics/internal/index.d.ts +11 -10
- package/System.Diagnostics.Eventing.Reader/internal/index.d.ts +7 -6
- package/System.Net.Http/internal/index.d.ts +3 -2
- package/System.Security.Cryptography/internal/index.d.ts +5 -4
- package/System.Security.Cryptography.Pkcs/internal/index.d.ts +48 -50
- package/System.Security.Cryptography.Xml/internal/index.d.ts +148 -150
- package/__internal/extensions/index.d.ts +186 -188
- package/package.json +3 -3
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Security.Cryptography.Xml
|
|
3
3
|
// Assembly: System.Security.Cryptography.Pkcs, System.Security.Cryptography.Xml
|
|
4
4
|
|
|
5
|
-
//
|
|
6
|
-
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
5
|
+
// Core type aliases from @tsonic/core
|
|
6
|
+
import type { JsValue, fnptr, ptr, sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/core/types.js';
|
|
7
7
|
|
|
8
|
-
// Import support types from @tsonic/core
|
|
9
|
-
import type { ptr } from "@tsonic/core/types.js";
|
|
10
8
|
|
|
11
9
|
// Import types from other namespaces
|
|
12
10
|
import type { Collection_1 } from "@tsonic/dotnet/System.Collections.ObjectModel/internal/index.js";
|
|
@@ -51,10 +49,10 @@ export type X509IssuerSerial = X509IssuerSerial$instance;
|
|
|
51
49
|
export interface CipherData$instance {
|
|
52
50
|
readonly __tsonic_type_System_Security_Cryptography_Xml_CipherData: never;
|
|
53
51
|
|
|
54
|
-
get CipherReference(): CipherReference |
|
|
55
|
-
set CipherReference(value: CipherReference |
|
|
56
|
-
get CipherValue(): byte[] |
|
|
57
|
-
set CipherValue(value: byte[] |
|
|
52
|
+
get CipherReference(): CipherReference | null;
|
|
53
|
+
set CipherReference(value: CipherReference | null);
|
|
54
|
+
get CipherValue(): byte[] | null;
|
|
55
|
+
set CipherValue(value: byte[] | null);
|
|
58
56
|
GetXml(): XmlElement;
|
|
59
57
|
LoadXml(value: XmlElement): void;
|
|
60
58
|
}
|
|
@@ -107,12 +105,12 @@ export interface DataObject$instance {
|
|
|
107
105
|
readonly __tsonic_type_System_Security_Cryptography_Xml_DataObject: never;
|
|
108
106
|
|
|
109
107
|
Data: XmlNodeList;
|
|
110
|
-
get Encoding(): string |
|
|
111
|
-
set Encoding(value: string |
|
|
112
|
-
get Id(): string |
|
|
113
|
-
set Id(value: string |
|
|
114
|
-
get MimeType(): string |
|
|
115
|
-
set MimeType(value: string |
|
|
108
|
+
get Encoding(): string | null;
|
|
109
|
+
set Encoding(value: string | null);
|
|
110
|
+
get Id(): string | null;
|
|
111
|
+
set Id(value: string | null);
|
|
112
|
+
get MimeType(): string | null;
|
|
113
|
+
set MimeType(value: string | null);
|
|
116
114
|
GetXml(): XmlElement;
|
|
117
115
|
LoadXml(value: XmlElement): void;
|
|
118
116
|
}
|
|
@@ -176,8 +174,8 @@ export type EncryptedData = EncryptedData$instance;
|
|
|
176
174
|
export interface EncryptedKey$instance extends EncryptedType {
|
|
177
175
|
readonly __tsonic_type_System_Security_Cryptography_Xml_EncryptedKey: never;
|
|
178
176
|
|
|
179
|
-
get CarriedKeyName(): string |
|
|
180
|
-
set CarriedKeyName(value: string |
|
|
177
|
+
get CarriedKeyName(): string | null;
|
|
178
|
+
set CarriedKeyName(value: string | null);
|
|
181
179
|
Recipient: string;
|
|
182
180
|
readonly ReferenceList: ReferenceList;
|
|
183
181
|
AddReference(dataReference: DataReference): void;
|
|
@@ -215,18 +213,18 @@ export interface EncryptedType$instance {
|
|
|
215
213
|
readonly __tsonic_type_System_Security_Cryptography_Xml_EncryptedType: never;
|
|
216
214
|
|
|
217
215
|
CipherData: CipherData;
|
|
218
|
-
get Encoding(): string |
|
|
219
|
-
set Encoding(value: string |
|
|
220
|
-
get EncryptionMethod(): EncryptionMethod |
|
|
221
|
-
set EncryptionMethod(value: EncryptionMethod |
|
|
216
|
+
get Encoding(): string | null;
|
|
217
|
+
set Encoding(value: string | null);
|
|
218
|
+
get EncryptionMethod(): EncryptionMethod | null;
|
|
219
|
+
set EncryptionMethod(value: EncryptionMethod | null);
|
|
222
220
|
readonly EncryptionProperties: EncryptionPropertyCollection;
|
|
223
|
-
get Id(): string |
|
|
224
|
-
set Id(value: string |
|
|
221
|
+
get Id(): string | null;
|
|
222
|
+
set Id(value: string | null);
|
|
225
223
|
KeyInfo: KeyInfo;
|
|
226
|
-
get MimeType(): string |
|
|
227
|
-
set MimeType(value: string |
|
|
228
|
-
get Type(): string |
|
|
229
|
-
set Type(value: string |
|
|
224
|
+
get MimeType(): string | null;
|
|
225
|
+
set MimeType(value: string | null);
|
|
226
|
+
get Type(): string | null;
|
|
227
|
+
set Type(value: string | null);
|
|
230
228
|
AddProperty(ep: EncryptionProperty): void;
|
|
231
229
|
GetXml(): XmlElement;
|
|
232
230
|
LoadXml(value: XmlElement): void;
|
|
@@ -242,27 +240,27 @@ export type EncryptedType = EncryptedType$instance;
|
|
|
242
240
|
export interface EncryptedXml$instance {
|
|
243
241
|
readonly __tsonic_type_System_Security_Cryptography_Xml_EncryptedXml: never;
|
|
244
242
|
|
|
245
|
-
get DocumentEvidence(): Evidence |
|
|
246
|
-
set DocumentEvidence(value: Evidence |
|
|
243
|
+
get DocumentEvidence(): Evidence | null;
|
|
244
|
+
set DocumentEvidence(value: Evidence | null);
|
|
247
245
|
Encoding: Encoding;
|
|
248
246
|
Mode: CipherMode;
|
|
249
247
|
Padding: PaddingMode;
|
|
250
248
|
Recipient: string;
|
|
251
|
-
get Resolver(): XmlResolver |
|
|
252
|
-
set Resolver(value: XmlResolver |
|
|
249
|
+
get Resolver(): XmlResolver | null;
|
|
250
|
+
set Resolver(value: XmlResolver | null);
|
|
253
251
|
XmlDSigSearchDepth: int;
|
|
254
|
-
AddKeyNameMapping(keyName: string, keyObject:
|
|
252
|
+
AddKeyNameMapping(keyName: string, keyObject: JsValue): void;
|
|
255
253
|
ClearKeyNameMappings(): void;
|
|
256
254
|
DecryptData(encryptedData: EncryptedData, symmetricAlgorithm: SymmetricAlgorithm): byte[];
|
|
257
255
|
DecryptDocument(): void;
|
|
258
|
-
DecryptEncryptedKey(encryptedKey: EncryptedKey): byte[] |
|
|
256
|
+
DecryptEncryptedKey(encryptedKey: EncryptedKey): byte[] | null;
|
|
259
257
|
Encrypt(inputElement: XmlElement, certificate: X509Certificate2): EncryptedData;
|
|
260
258
|
Encrypt(inputElement: XmlElement, keyName: string): EncryptedData;
|
|
261
259
|
EncryptData(plaintext: byte[], symmetricAlgorithm: SymmetricAlgorithm): byte[];
|
|
262
260
|
EncryptData(inputElement: XmlElement, symmetricAlgorithm: SymmetricAlgorithm, content: boolean): byte[];
|
|
263
|
-
GetDecryptionIV(encryptedData: EncryptedData, symmetricAlgorithmUri: string): byte[];
|
|
264
|
-
GetDecryptionKey(encryptedData: EncryptedData, symmetricAlgorithmUri: string): SymmetricAlgorithm |
|
|
265
|
-
GetIdElement(document: XmlDocument, idValue: string): XmlElement |
|
|
261
|
+
GetDecryptionIV(encryptedData: EncryptedData, symmetricAlgorithmUri: string | null): byte[];
|
|
262
|
+
GetDecryptionKey(encryptedData: EncryptedData, symmetricAlgorithmUri: string | null): SymmetricAlgorithm | null;
|
|
263
|
+
GetIdElement(document: XmlDocument, idValue: string): XmlElement | null;
|
|
266
264
|
ReplaceData(inputElement: XmlElement, decryptedData: byte[]): void;
|
|
267
265
|
}
|
|
268
266
|
|
|
@@ -270,7 +268,7 @@ export interface EncryptedXml$instance {
|
|
|
270
268
|
export const EncryptedXml: {
|
|
271
269
|
new(): EncryptedXml;
|
|
272
270
|
new(document: XmlDocument): EncryptedXml;
|
|
273
|
-
new(document: XmlDocument, evidence: Evidence): EncryptedXml;
|
|
271
|
+
new(document: XmlDocument, evidence: Evidence | null): EncryptedXml;
|
|
274
272
|
readonly XmlEncNamespaceUrl: string;
|
|
275
273
|
readonly XmlEncElementUrl: string;
|
|
276
274
|
readonly XmlEncElementContentUrl: string;
|
|
@@ -301,8 +299,8 @@ export type EncryptedXml = EncryptedXml$instance;
|
|
|
301
299
|
export interface EncryptionMethod$instance {
|
|
302
300
|
readonly __tsonic_type_System_Security_Cryptography_Xml_EncryptionMethod: never;
|
|
303
301
|
|
|
304
|
-
get KeyAlgorithm(): string |
|
|
305
|
-
set KeyAlgorithm(value: string |
|
|
302
|
+
get KeyAlgorithm(): string | null;
|
|
303
|
+
set KeyAlgorithm(value: string | null);
|
|
306
304
|
KeySize: int;
|
|
307
305
|
GetXml(): XmlElement;
|
|
308
306
|
LoadXml(value: XmlElement): void;
|
|
@@ -311,7 +309,7 @@ export interface EncryptionMethod$instance {
|
|
|
311
309
|
|
|
312
310
|
export const EncryptionMethod: {
|
|
313
311
|
new(): EncryptionMethod;
|
|
314
|
-
new(algorithm: string): EncryptionMethod;
|
|
312
|
+
new(algorithm: string | null): EncryptionMethod;
|
|
315
313
|
};
|
|
316
314
|
|
|
317
315
|
|
|
@@ -320,10 +318,10 @@ export type EncryptionMethod = EncryptionMethod$instance;
|
|
|
320
318
|
export interface EncryptionProperty$instance {
|
|
321
319
|
readonly __tsonic_type_System_Security_Cryptography_Xml_EncryptionProperty: never;
|
|
322
320
|
|
|
323
|
-
readonly Id: string |
|
|
324
|
-
get PropertyElement(): XmlElement |
|
|
325
|
-
set PropertyElement(value: XmlElement |
|
|
326
|
-
readonly Target: string |
|
|
321
|
+
readonly Id: string | null;
|
|
322
|
+
get PropertyElement(): XmlElement | null;
|
|
323
|
+
set PropertyElement(value: XmlElement | null);
|
|
324
|
+
readonly Target: string | null;
|
|
327
325
|
GetXml(): XmlElement;
|
|
328
326
|
LoadXml(value: XmlElement): void;
|
|
329
327
|
}
|
|
@@ -348,7 +346,7 @@ export interface EncryptionPropertyCollection$instance {
|
|
|
348
346
|
readonly IsFixedSize: boolean;
|
|
349
347
|
readonly IsReadOnly: boolean;
|
|
350
348
|
readonly IsSynchronized: boolean;
|
|
351
|
-
readonly SyncRoot:
|
|
349
|
+
readonly SyncRoot: JsValue;
|
|
352
350
|
Add(value: EncryptionProperty): int;
|
|
353
351
|
Clear(): void;
|
|
354
352
|
Contains(value: EncryptionProperty): boolean;
|
|
@@ -376,8 +374,8 @@ export interface KeyInfo$instance {
|
|
|
376
374
|
readonly __tsonic_iface_System_Collections_IEnumerable: never;
|
|
377
375
|
|
|
378
376
|
readonly Count: int;
|
|
379
|
-
get Id(): string |
|
|
380
|
-
set Id(value: string |
|
|
377
|
+
get Id(): string | null;
|
|
378
|
+
set Id(value: string | null);
|
|
381
379
|
AddClause(clause: KeyInfoClause): void;
|
|
382
380
|
GetEnumerator(): IEnumerator;
|
|
383
381
|
GetEnumerator(requestedObjectType: Type): IEnumerator;
|
|
@@ -410,8 +408,8 @@ export type KeyInfoClause = KeyInfoClause$instance;
|
|
|
410
408
|
export interface KeyInfoEncryptedKey$instance extends KeyInfoClause {
|
|
411
409
|
readonly __tsonic_type_System_Security_Cryptography_Xml_KeyInfoEncryptedKey: never;
|
|
412
410
|
|
|
413
|
-
get EncryptedKey(): EncryptedKey |
|
|
414
|
-
set EncryptedKey(value: EncryptedKey |
|
|
411
|
+
get EncryptedKey(): EncryptedKey | null;
|
|
412
|
+
set EncryptedKey(value: EncryptedKey | null);
|
|
415
413
|
GetXml(): XmlElement;
|
|
416
414
|
LoadXml(value: XmlElement): void;
|
|
417
415
|
}
|
|
@@ -428,8 +426,8 @@ export type KeyInfoEncryptedKey = KeyInfoEncryptedKey$instance;
|
|
|
428
426
|
export interface KeyInfoName$instance extends KeyInfoClause {
|
|
429
427
|
readonly __tsonic_type_System_Security_Cryptography_Xml_KeyInfoName: never;
|
|
430
428
|
|
|
431
|
-
get Value(): string |
|
|
432
|
-
set Value(value: string |
|
|
429
|
+
get Value(): string | null;
|
|
430
|
+
set Value(value: string | null);
|
|
433
431
|
GetXml(): XmlElement;
|
|
434
432
|
LoadXml(value: XmlElement): void;
|
|
435
433
|
}
|
|
@@ -437,7 +435,7 @@ export interface KeyInfoName$instance extends KeyInfoClause {
|
|
|
437
435
|
|
|
438
436
|
export const KeyInfoName: {
|
|
439
437
|
new(): KeyInfoName;
|
|
440
|
-
new(keyName: string): KeyInfoName;
|
|
438
|
+
new(keyName: string | null): KeyInfoName;
|
|
441
439
|
};
|
|
442
440
|
|
|
443
441
|
|
|
@@ -446,8 +444,8 @@ export type KeyInfoName = KeyInfoName$instance;
|
|
|
446
444
|
export interface KeyInfoNode$instance extends KeyInfoClause {
|
|
447
445
|
readonly __tsonic_type_System_Security_Cryptography_Xml_KeyInfoNode: never;
|
|
448
446
|
|
|
449
|
-
get Value(): XmlElement |
|
|
450
|
-
set Value(value: XmlElement |
|
|
447
|
+
get Value(): XmlElement | null;
|
|
448
|
+
set Value(value: XmlElement | null);
|
|
451
449
|
GetXml(): XmlElement;
|
|
452
450
|
LoadXml(value: XmlElement): void;
|
|
453
451
|
}
|
|
@@ -464,10 +462,10 @@ export type KeyInfoNode = KeyInfoNode$instance;
|
|
|
464
462
|
export interface KeyInfoRetrievalMethod$instance extends KeyInfoClause {
|
|
465
463
|
readonly __tsonic_type_System_Security_Cryptography_Xml_KeyInfoRetrievalMethod: never;
|
|
466
464
|
|
|
467
|
-
get Type(): string |
|
|
468
|
-
set Type(value: string |
|
|
469
|
-
get Uri(): string |
|
|
470
|
-
set Uri(value: string |
|
|
465
|
+
get Type(): string | null;
|
|
466
|
+
set Type(value: string | null);
|
|
467
|
+
get Uri(): string | null;
|
|
468
|
+
set Uri(value: string | null);
|
|
471
469
|
GetXml(): XmlElement;
|
|
472
470
|
LoadXml(value: XmlElement): void;
|
|
473
471
|
}
|
|
@@ -475,7 +473,7 @@ export interface KeyInfoRetrievalMethod$instance extends KeyInfoClause {
|
|
|
475
473
|
|
|
476
474
|
export const KeyInfoRetrievalMethod: {
|
|
477
475
|
new(): KeyInfoRetrievalMethod;
|
|
478
|
-
new(strUri: string): KeyInfoRetrievalMethod;
|
|
476
|
+
new(strUri: string | null): KeyInfoRetrievalMethod;
|
|
479
477
|
new(strUri: string, typeName: string): KeyInfoRetrievalMethod;
|
|
480
478
|
};
|
|
481
479
|
|
|
@@ -485,12 +483,12 @@ export type KeyInfoRetrievalMethod = KeyInfoRetrievalMethod$instance;
|
|
|
485
483
|
export interface KeyInfoX509Data$instance extends KeyInfoClause {
|
|
486
484
|
readonly __tsonic_type_System_Security_Cryptography_Xml_KeyInfoX509Data: never;
|
|
487
485
|
|
|
488
|
-
readonly Certificates: ArrayList |
|
|
489
|
-
get CRL(): byte[] |
|
|
490
|
-
set CRL(value: byte[] |
|
|
491
|
-
readonly IssuerSerials: ArrayList |
|
|
492
|
-
readonly SubjectKeyIds: ArrayList |
|
|
493
|
-
readonly SubjectNames: ArrayList |
|
|
486
|
+
readonly Certificates: ArrayList | null;
|
|
487
|
+
get CRL(): byte[] | null;
|
|
488
|
+
set CRL(value: byte[] | null);
|
|
489
|
+
readonly IssuerSerials: ArrayList | null;
|
|
490
|
+
readonly SubjectKeyIds: ArrayList | null;
|
|
491
|
+
readonly SubjectNames: ArrayList | null;
|
|
494
492
|
AddCertificate(certificate: X509Certificate): void;
|
|
495
493
|
AddIssuerSerial(issuerName: string, serialNumber: string): void;
|
|
496
494
|
AddSubjectKeyId(subjectKeyId: byte[]): void;
|
|
@@ -530,15 +528,15 @@ export interface Reference$instance {
|
|
|
530
528
|
readonly __tsonic_type_System_Security_Cryptography_Xml_Reference: never;
|
|
531
529
|
|
|
532
530
|
DigestMethod: string;
|
|
533
|
-
get DigestValue(): byte[] |
|
|
534
|
-
set DigestValue(value: byte[] |
|
|
535
|
-
get Id(): string |
|
|
536
|
-
set Id(value: string |
|
|
531
|
+
get DigestValue(): byte[] | null;
|
|
532
|
+
set DigestValue(value: byte[] | null);
|
|
533
|
+
get Id(): string | null;
|
|
534
|
+
set Id(value: string | null);
|
|
537
535
|
TransformChain: TransformChain;
|
|
538
|
-
get Type(): string |
|
|
539
|
-
set Type(value: string |
|
|
540
|
-
get Uri(): string |
|
|
541
|
-
set Uri(value: string |
|
|
536
|
+
get Type(): string | null;
|
|
537
|
+
set Type(value: string | null);
|
|
538
|
+
get Uri(): string | null;
|
|
539
|
+
set Uri(value: string | null);
|
|
542
540
|
AddTransform(transform: Transform): void;
|
|
543
541
|
GetXml(): XmlElement;
|
|
544
542
|
LoadXml(value: XmlElement): void;
|
|
@@ -548,7 +546,7 @@ export interface Reference$instance {
|
|
|
548
546
|
export const Reference: {
|
|
549
547
|
new(): Reference;
|
|
550
548
|
new(stream: Stream): Reference;
|
|
551
|
-
new(uri: string): Reference;
|
|
549
|
+
new(uri: string | null): Reference;
|
|
552
550
|
};
|
|
553
551
|
|
|
554
552
|
|
|
@@ -563,16 +561,16 @@ export interface ReferenceList$instance {
|
|
|
563
561
|
|
|
564
562
|
readonly Count: int;
|
|
565
563
|
readonly IsSynchronized: boolean;
|
|
566
|
-
readonly SyncRoot:
|
|
567
|
-
Add(value:
|
|
564
|
+
readonly SyncRoot: JsValue;
|
|
565
|
+
Add(value: JsValue | null): int;
|
|
568
566
|
Clear(): void;
|
|
569
|
-
Contains(value:
|
|
567
|
+
Contains(value: JsValue | null): boolean;
|
|
570
568
|
CopyTo(array: ClrArray, index: int): void;
|
|
571
569
|
GetEnumerator(): IEnumerator;
|
|
572
|
-
IndexOf(value:
|
|
573
|
-
Insert(index: int, value:
|
|
574
|
-
Item(index: int): EncryptedReference |
|
|
575
|
-
Remove(value:
|
|
570
|
+
IndexOf(value: JsValue | null): int;
|
|
571
|
+
Insert(index: int, value: JsValue | null): void;
|
|
572
|
+
Item(index: int): EncryptedReference | null;
|
|
573
|
+
Remove(value: JsValue | null): void;
|
|
576
574
|
RemoveAt(index: int): void;
|
|
577
575
|
}
|
|
578
576
|
|
|
@@ -604,14 +602,14 @@ export type RSAKeyValue = RSAKeyValue$instance;
|
|
|
604
602
|
export interface Signature$instance {
|
|
605
603
|
readonly __tsonic_type_System_Security_Cryptography_Xml_Signature: never;
|
|
606
604
|
|
|
607
|
-
get Id(): string |
|
|
608
|
-
set Id(value: string |
|
|
605
|
+
get Id(): string | null;
|
|
606
|
+
set Id(value: string | null);
|
|
609
607
|
KeyInfo: KeyInfo;
|
|
610
608
|
ObjectList: IList;
|
|
611
|
-
get SignatureValue(): byte[] |
|
|
612
|
-
set SignatureValue(value: byte[] |
|
|
613
|
-
get SignedInfo(): SignedInfo |
|
|
614
|
-
set SignedInfo(value: SignedInfo |
|
|
609
|
+
get SignatureValue(): byte[] | null;
|
|
610
|
+
set SignatureValue(value: byte[] | null);
|
|
611
|
+
get SignedInfo(): SignedInfo | null;
|
|
612
|
+
set SignedInfo(value: SignedInfo | null);
|
|
615
613
|
AddObject(dataObject: DataObject): void;
|
|
616
614
|
GetXml(): XmlElement;
|
|
617
615
|
LoadXml(value: XmlElement): void;
|
|
@@ -634,16 +632,16 @@ export interface SignedInfo$instance {
|
|
|
634
632
|
CanonicalizationMethod: string;
|
|
635
633
|
readonly CanonicalizationMethodObject: Transform;
|
|
636
634
|
readonly Count: int;
|
|
637
|
-
get Id(): string |
|
|
638
|
-
set Id(value: string |
|
|
635
|
+
get Id(): string | null;
|
|
636
|
+
set Id(value: string | null);
|
|
639
637
|
readonly IsReadOnly: boolean;
|
|
640
638
|
readonly IsSynchronized: boolean;
|
|
641
639
|
readonly References: ArrayList;
|
|
642
|
-
get SignatureLength(): string |
|
|
643
|
-
set SignatureLength(value: string |
|
|
644
|
-
get SignatureMethod(): string |
|
|
645
|
-
set SignatureMethod(value: string |
|
|
646
|
-
readonly SyncRoot:
|
|
640
|
+
get SignatureLength(): string | null;
|
|
641
|
+
set SignatureLength(value: string | null);
|
|
642
|
+
get SignatureMethod(): string | null;
|
|
643
|
+
set SignatureMethod(value: string | null);
|
|
644
|
+
readonly SyncRoot: JsValue;
|
|
647
645
|
AddReference(reference: Reference): void;
|
|
648
646
|
CopyTo(array: ClrArray, index: int): void;
|
|
649
647
|
GetEnumerator(): IEnumerator;
|
|
@@ -668,25 +666,25 @@ export interface SignedXml$instance {
|
|
|
668
666
|
readonly SafeCanonicalizationMethods: Collection_1<System_Internal.String>;
|
|
669
667
|
readonly Signature: Signature;
|
|
670
668
|
SignatureFormatValidator: Func_2<SignedXml, System_Internal.Boolean>;
|
|
671
|
-
readonly SignatureLength: string |
|
|
672
|
-
readonly SignatureMethod: string |
|
|
673
|
-
readonly SignatureValue: byte[] |
|
|
674
|
-
readonly SignedInfo: SignedInfo |
|
|
675
|
-
get SigningKey(): AsymmetricAlgorithm |
|
|
676
|
-
set SigningKey(value: AsymmetricAlgorithm |
|
|
677
|
-
get SigningKeyName(): string |
|
|
678
|
-
set SigningKeyName(value: string |
|
|
669
|
+
readonly SignatureLength: string | null;
|
|
670
|
+
readonly SignatureMethod: string | null;
|
|
671
|
+
readonly SignatureValue: byte[] | null;
|
|
672
|
+
readonly SignedInfo: SignedInfo | null;
|
|
673
|
+
get SigningKey(): AsymmetricAlgorithm | null;
|
|
674
|
+
set SigningKey(value: AsymmetricAlgorithm | null);
|
|
675
|
+
get SigningKeyName(): string | null;
|
|
676
|
+
set SigningKeyName(value: string | null);
|
|
679
677
|
AddObject(dataObject: DataObject): void;
|
|
680
678
|
AddReference(reference: Reference): void;
|
|
681
679
|
CheckSignature(): boolean;
|
|
682
680
|
CheckSignature(key: AsymmetricAlgorithm): boolean;
|
|
683
681
|
CheckSignature(macAlg: KeyedHashAlgorithm): boolean;
|
|
684
682
|
CheckSignature(certificate: X509Certificate2, verifySignatureOnly: boolean): boolean;
|
|
685
|
-
CheckSignatureReturningKey(signingKey: AsymmetricAlgorithm): boolean;
|
|
683
|
+
CheckSignatureReturningKey(signingKey: AsymmetricAlgorithm | null): boolean;
|
|
686
684
|
ComputeSignature(): void;
|
|
687
685
|
ComputeSignature(macAlg: KeyedHashAlgorithm): void;
|
|
688
|
-
GetIdElement(document: XmlDocument, idValue: string): XmlElement |
|
|
689
|
-
GetPublicKey(): AsymmetricAlgorithm |
|
|
686
|
+
GetIdElement(document: XmlDocument | null, idValue: string): XmlElement | null;
|
|
687
|
+
GetPublicKey(): AsymmetricAlgorithm | null;
|
|
690
688
|
GetXml(): XmlElement;
|
|
691
689
|
LoadXml(value: XmlElement): void;
|
|
692
690
|
}
|
|
@@ -728,20 +726,20 @@ export type SignedXml = SignedXml$instance;
|
|
|
728
726
|
export interface Transform$instance {
|
|
729
727
|
readonly __tsonic_type_System_Security_Cryptography_Xml_Transform: never;
|
|
730
728
|
|
|
731
|
-
get Algorithm(): string |
|
|
732
|
-
set Algorithm(value: string |
|
|
733
|
-
get Context(): XmlElement |
|
|
734
|
-
set Context(value: XmlElement |
|
|
729
|
+
get Algorithm(): string | null;
|
|
730
|
+
set Algorithm(value: string | null);
|
|
731
|
+
get Context(): XmlElement | null;
|
|
732
|
+
set Context(value: XmlElement | null);
|
|
735
733
|
readonly InputTypes: Type[];
|
|
736
734
|
readonly OutputTypes: Type[];
|
|
737
735
|
readonly PropagatedNamespaces: Hashtable;
|
|
738
736
|
GetDigestedOutput(hash: HashAlgorithm): byte[];
|
|
739
|
-
GetInnerXml(): XmlNodeList |
|
|
740
|
-
GetOutput():
|
|
741
|
-
GetOutput(type: Type):
|
|
737
|
+
GetInnerXml(): XmlNodeList | null;
|
|
738
|
+
GetOutput(): JsValue;
|
|
739
|
+
GetOutput(type: Type): JsValue;
|
|
742
740
|
GetXml(): XmlElement;
|
|
743
741
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
744
|
-
LoadInput(obj:
|
|
742
|
+
LoadInput(obj: JsValue): void;
|
|
745
743
|
}
|
|
746
744
|
|
|
747
745
|
|
|
@@ -774,12 +772,12 @@ export interface XmlDecryptionTransform$instance extends Transform {
|
|
|
774
772
|
readonly InputTypes: Type[];
|
|
775
773
|
readonly OutputTypes: Type[];
|
|
776
774
|
AddExceptUri(uri: string): void;
|
|
777
|
-
GetInnerXml(): XmlNodeList |
|
|
778
|
-
GetOutput():
|
|
779
|
-
GetOutput(type: Type):
|
|
780
|
-
IsTargetElement(inputElement: XmlElement, idValue: string): boolean;
|
|
775
|
+
GetInnerXml(): XmlNodeList | null;
|
|
776
|
+
GetOutput(): JsValue;
|
|
777
|
+
GetOutput(type: Type): JsValue;
|
|
778
|
+
IsTargetElement(inputElement: XmlElement | null, idValue: string): boolean;
|
|
781
779
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
782
|
-
LoadInput(obj:
|
|
780
|
+
LoadInput(obj: JsValue): void;
|
|
783
781
|
}
|
|
784
782
|
|
|
785
783
|
|
|
@@ -795,11 +793,11 @@ export interface XmlDsigBase64Transform$instance extends Transform {
|
|
|
795
793
|
|
|
796
794
|
readonly InputTypes: Type[];
|
|
797
795
|
readonly OutputTypes: Type[];
|
|
798
|
-
GetInnerXml(): XmlNodeList |
|
|
799
|
-
GetOutput():
|
|
800
|
-
GetOutput(type: Type):
|
|
796
|
+
GetInnerXml(): XmlNodeList | null;
|
|
797
|
+
GetOutput(): JsValue;
|
|
798
|
+
GetOutput(type: Type): JsValue;
|
|
801
799
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
802
|
-
LoadInput(obj:
|
|
800
|
+
LoadInput(obj: JsValue): void;
|
|
803
801
|
}
|
|
804
802
|
|
|
805
803
|
|
|
@@ -816,11 +814,11 @@ export interface XmlDsigC14NTransform$instance extends Transform {
|
|
|
816
814
|
readonly InputTypes: Type[];
|
|
817
815
|
readonly OutputTypes: Type[];
|
|
818
816
|
GetDigestedOutput(hash: HashAlgorithm): byte[];
|
|
819
|
-
GetInnerXml(): XmlNodeList |
|
|
820
|
-
GetOutput():
|
|
821
|
-
GetOutput(type: Type):
|
|
817
|
+
GetInnerXml(): XmlNodeList | null;
|
|
818
|
+
GetOutput(): JsValue;
|
|
819
|
+
GetOutput(type: Type): JsValue;
|
|
822
820
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
823
|
-
LoadInput(obj:
|
|
821
|
+
LoadInput(obj: JsValue): void;
|
|
824
822
|
}
|
|
825
823
|
|
|
826
824
|
|
|
@@ -850,11 +848,11 @@ export interface XmlDsigEnvelopedSignatureTransform$instance extends Transform {
|
|
|
850
848
|
|
|
851
849
|
readonly InputTypes: Type[];
|
|
852
850
|
readonly OutputTypes: Type[];
|
|
853
|
-
GetInnerXml(): XmlNodeList |
|
|
854
|
-
GetOutput():
|
|
855
|
-
GetOutput(type: Type):
|
|
851
|
+
GetInnerXml(): XmlNodeList | null;
|
|
852
|
+
GetOutput(): JsValue;
|
|
853
|
+
GetOutput(type: Type): JsValue;
|
|
856
854
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
857
|
-
LoadInput(obj:
|
|
855
|
+
LoadInput(obj: JsValue): void;
|
|
858
856
|
}
|
|
859
857
|
|
|
860
858
|
|
|
@@ -869,16 +867,16 @@ export type XmlDsigEnvelopedSignatureTransform = XmlDsigEnvelopedSignatureTransf
|
|
|
869
867
|
export interface XmlDsigExcC14NTransform$instance extends Transform {
|
|
870
868
|
readonly __tsonic_type_System_Security_Cryptography_Xml_XmlDsigExcC14NTransform: never;
|
|
871
869
|
|
|
872
|
-
get InclusiveNamespacesPrefixList(): string |
|
|
873
|
-
set InclusiveNamespacesPrefixList(value: string |
|
|
870
|
+
get InclusiveNamespacesPrefixList(): string | null;
|
|
871
|
+
set InclusiveNamespacesPrefixList(value: string | null);
|
|
874
872
|
readonly InputTypes: Type[];
|
|
875
873
|
readonly OutputTypes: Type[];
|
|
876
874
|
GetDigestedOutput(hash: HashAlgorithm): byte[];
|
|
877
|
-
GetInnerXml(): XmlNodeList |
|
|
878
|
-
GetOutput():
|
|
879
|
-
GetOutput(type: Type):
|
|
875
|
+
GetInnerXml(): XmlNodeList | null;
|
|
876
|
+
GetOutput(): JsValue;
|
|
877
|
+
GetOutput(type: Type): JsValue;
|
|
880
878
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
881
|
-
LoadInput(obj:
|
|
879
|
+
LoadInput(obj: JsValue): void;
|
|
882
880
|
}
|
|
883
881
|
|
|
884
882
|
|
|
@@ -886,7 +884,7 @@ export const XmlDsigExcC14NTransform: {
|
|
|
886
884
|
new(): XmlDsigExcC14NTransform;
|
|
887
885
|
new(includeComments: boolean): XmlDsigExcC14NTransform;
|
|
888
886
|
new(inclusiveNamespacesPrefixList: string): XmlDsigExcC14NTransform;
|
|
889
|
-
new(includeComments: boolean, inclusiveNamespacesPrefixList: string): XmlDsigExcC14NTransform;
|
|
887
|
+
new(includeComments: boolean, inclusiveNamespacesPrefixList: string | null): XmlDsigExcC14NTransform;
|
|
890
888
|
};
|
|
891
889
|
|
|
892
890
|
|
|
@@ -911,11 +909,11 @@ export interface XmlDsigXPathTransform$instance extends Transform {
|
|
|
911
909
|
|
|
912
910
|
readonly InputTypes: Type[];
|
|
913
911
|
readonly OutputTypes: Type[];
|
|
914
|
-
GetInnerXml(): XmlNodeList |
|
|
915
|
-
GetOutput():
|
|
916
|
-
GetOutput(type: Type):
|
|
912
|
+
GetInnerXml(): XmlNodeList | null;
|
|
913
|
+
GetOutput(): JsValue;
|
|
914
|
+
GetOutput(type: Type): JsValue;
|
|
917
915
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
918
|
-
LoadInput(obj:
|
|
916
|
+
LoadInput(obj: JsValue): void;
|
|
919
917
|
}
|
|
920
918
|
|
|
921
919
|
|
|
@@ -931,11 +929,11 @@ export interface XmlDsigXsltTransform$instance extends Transform {
|
|
|
931
929
|
|
|
932
930
|
readonly InputTypes: Type[];
|
|
933
931
|
readonly OutputTypes: Type[];
|
|
934
|
-
GetInnerXml(): XmlNodeList |
|
|
935
|
-
GetOutput():
|
|
936
|
-
GetOutput(type: Type):
|
|
932
|
+
GetInnerXml(): XmlNodeList | null;
|
|
933
|
+
GetOutput(): JsValue;
|
|
934
|
+
GetOutput(type: Type): JsValue;
|
|
937
935
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
938
|
-
LoadInput(obj:
|
|
936
|
+
LoadInput(obj: JsValue): void;
|
|
939
937
|
}
|
|
940
938
|
|
|
941
939
|
|
|
@@ -950,15 +948,15 @@ export type XmlDsigXsltTransform = XmlDsigXsltTransform$instance;
|
|
|
950
948
|
export interface XmlLicenseTransform$instance extends Transform {
|
|
951
949
|
readonly __tsonic_type_System_Security_Cryptography_Xml_XmlLicenseTransform: never;
|
|
952
950
|
|
|
953
|
-
get Decryptor(): IRelDecryptor |
|
|
954
|
-
set Decryptor(value: IRelDecryptor |
|
|
951
|
+
get Decryptor(): IRelDecryptor | null;
|
|
952
|
+
set Decryptor(value: IRelDecryptor | null);
|
|
955
953
|
readonly InputTypes: Type[];
|
|
956
954
|
readonly OutputTypes: Type[];
|
|
957
|
-
GetInnerXml(): XmlNodeList |
|
|
958
|
-
GetOutput():
|
|
959
|
-
GetOutput(type: Type):
|
|
955
|
+
GetInnerXml(): XmlNodeList | null;
|
|
956
|
+
GetOutput(): JsValue;
|
|
957
|
+
GetOutput(type: Type): JsValue;
|
|
960
958
|
LoadInnerXml(nodeList: XmlNodeList): void;
|
|
961
|
-
LoadInput(obj:
|
|
959
|
+
LoadInput(obj: JsValue): void;
|
|
962
960
|
}
|
|
963
961
|
|
|
964
962
|
|