@tsonic/dotnet 0.8.1 → 0.8.2
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.CSharp.RuntimeBinder/internal/index.d.ts +18 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +1 -1
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +1 -1
- package/Microsoft.Win32/internal/index.d.ts +11 -11
- package/System/bindings.json +114 -114
- package/System/internal/index.d.ts +994 -1006
- package/System/internal/metadata.json +73 -73
- package/System.Buffers/internal/index.d.ts +3 -3
- package/System.CodeDom.Compiler/internal/index.d.ts +11 -11
- package/System.Collections/internal/index.d.ts +26 -28
- package/System.Collections.Concurrent/internal/index.d.ts +10 -10
- package/System.Collections.Frozen/bindings.json +20 -20
- package/System.Collections.Frozen/internal/index.d.ts +6 -6
- package/System.Collections.Frozen/internal/metadata.json +10 -10
- package/System.Collections.Generic/bindings.json +44 -20
- package/System.Collections.Generic/internal/index.d.ts +68 -60
- package/System.Collections.Generic/internal/metadata.json +26 -10
- package/System.Collections.Immutable/internal/index.d.ts +99 -99
- package/System.Collections.ObjectModel/internal/index.d.ts +15 -15
- package/System.Collections.Specialized/internal/index.d.ts +63 -65
- package/System.ComponentModel/internal/index.d.ts +428 -430
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +66 -66
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +2 -2
- package/System.ComponentModel.Design/internal/index.d.ts +72 -72
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +33 -33
- package/System.Data/internal/index.d.ts +168 -168
- package/System.Data.Common/internal/index.d.ts +48 -48
- package/System.Data.SqlTypes/internal/index.d.ts +21 -21
- package/System.Diagnostics/internal/index.d.ts +262 -262
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +25 -25
- package/System.Diagnostics.Contracts/internal/index.d.ts +8 -8
- package/System.Diagnostics.Metrics/internal/index.d.ts +33 -33
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +5 -5
- package/System.Diagnostics.Tracing/internal/index.d.ts +28 -28
- package/System.Drawing/internal/index.d.ts +77 -77
- package/System.Dynamic/internal/index.d.ts +27 -27
- package/System.Formats.Asn1/internal/index.d.ts +4 -4
- package/System.Formats.Tar/internal/index.d.ts +3 -3
- package/System.Globalization/internal/index.d.ts +18 -18
- package/System.IO/internal/index.d.ts +107 -107
- package/System.IO.Compression/internal/index.d.ts +25 -25
- package/System.IO.Enumeration/internal/index.d.ts +5 -5
- package/System.IO.IsolatedStorage/internal/index.d.ts +9 -9
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +8 -8
- package/System.IO.Pipelines/internal/index.d.ts +5 -5
- package/System.IO.Pipes/internal/index.d.ts +4 -4
- package/System.Linq/internal/index.d.ts +180 -180
- package/System.Linq.Expressions/internal/index.d.ts +169 -169
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +2 -2
- package/System.Net/internal/index.d.ts +151 -153
- package/System.Net.Cache/internal/index.d.ts +2 -2
- package/System.Net.Http/internal/index.d.ts +58 -58
- package/System.Net.Http.Headers/internal/index.d.ts +48 -48
- package/System.Net.Http.Json/internal/index.d.ts +58 -58
- package/System.Net.Http.Metrics/internal/index.d.ts +1 -1
- package/System.Net.Mail/internal/index.d.ts +72 -72
- package/System.Net.Mime/internal/index.d.ts +2 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +24 -24
- package/System.Net.Quic/internal/index.d.ts +4 -4
- package/System.Net.Security/internal/index.d.ts +52 -52
- package/System.Net.ServerSentEvents/internal/index.d.ts +2 -2
- package/System.Net.Sockets/internal/index.d.ts +41 -41
- package/System.Net.WebSockets/internal/index.d.ts +34 -34
- package/System.Numerics/bindings.json +384 -0
- package/System.Numerics/internal/index.d.ts +91 -93
- package/System.Numerics/internal/metadata.json +256 -0
- package/System.Reflection/internal/index.d.ts +219 -219
- package/System.Reflection.Emit/internal/index.d.ts +118 -118
- package/System.Reflection.Metadata/bindings.json +48 -0
- package/System.Reflection.Metadata/internal/index.d.ts +14 -14
- package/System.Reflection.Metadata/internal/metadata.json +32 -0
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +5 -5
- package/System.Reflection.PortableExecutable/internal/index.d.ts +4 -4
- package/System.Resources/internal/index.d.ts +24 -24
- package/System.Runtime/internal/index.d.ts +5 -5
- package/System.Runtime.CompilerServices/internal/index.d.ts +31 -31
- package/System.Runtime.InteropServices/bindings.json +22 -22
- package/System.Runtime.InteropServices/internal/index.d.ts +93 -93
- package/System.Runtime.InteropServices/internal/metadata.json +13 -13
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +10 -10
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +23 -23
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +36 -36
- package/System.Runtime.Loader/internal/index.d.ts +6 -6
- package/System.Runtime.Remoting/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization/internal/index.d.ts +77 -79
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +16 -16
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +2 -2
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +4 -4
- package/System.Runtime.Serialization.Json/internal/index.d.ts +26 -26
- package/System.Runtime.Versioning/internal/index.d.ts +9 -9
- package/System.Security/internal/index.d.ts +49 -49
- package/System.Security.AccessControl/internal/index.d.ts +31 -31
- package/System.Security.Authentication/internal/index.d.ts +4 -4
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +10 -10
- package/System.Security.Claims/internal/index.d.ts +23 -25
- package/System.Security.Cryptography/internal/index.d.ts +189 -189
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +71 -71
- package/System.Security.Policy/internal/index.d.ts +2 -2
- package/System.Security.Principal/internal/index.d.ts +9 -11
- package/System.Text/internal/index.d.ts +51 -51
- package/System.Text.Json/internal/index.d.ts +83 -83
- package/System.Text.Json.Nodes/internal/index.d.ts +65 -65
- package/System.Text.Json.Schema/internal/index.d.ts +5 -5
- package/System.Text.Json.Serialization/internal/index.d.ts +10 -10
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +47 -47
- package/System.Text.RegularExpressions/internal/index.d.ts +5 -5
- package/System.Text.Unicode/internal/index.d.ts +4 -4
- package/System.Threading/internal/index.d.ts +87 -87
- package/System.Threading.Channels/internal/index.d.ts +8 -8
- package/System.Threading.Tasks/internal/index.d.ts +84 -94
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +29 -26
- package/System.Threading.Tasks.Sources/internal/index.d.ts +4 -4
- package/System.Timers/internal/index.d.ts +3 -3
- package/System.Transactions/internal/index.d.ts +20 -20
- package/System.Web/internal/index.d.ts +31 -31
- package/System.Windows.Input/internal/index.d.ts +2 -2
- package/System.Xml/internal/index.d.ts +215 -215
- package/System.Xml.Linq/internal/index.d.ts +51 -51
- package/System.Xml.Resolvers/internal/index.d.ts +4 -4
- package/System.Xml.Schema/internal/index.d.ts +105 -105
- package/System.Xml.Serialization/internal/index.d.ts +136 -136
- package/System.Xml.XPath/internal/index.d.ts +19 -19
- package/System.Xml.Xsl/internal/index.d.ts +41 -41
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +20 -20
- package/__internal/extensions/index.d.ts +415 -414
- package/package.json +1 -1
|
@@ -295,11 +295,11 @@ export const CertificateRequest: {
|
|
|
295
295
|
new(subjectName: string, key: CompositeMLDsa): CertificateRequest;
|
|
296
296
|
new(subjectName: X500DistinguishedName, key: CompositeMLDsa): CertificateRequest;
|
|
297
297
|
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName): CertificateRequest;
|
|
298
|
-
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding): CertificateRequest;
|
|
299
|
-
loadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
300
|
-
loadSigningRequest(pkcs10: ReadOnlySpan_1<System_Internal.Byte>, signerHashAlgorithm: HashAlgorithmName, bytesConsumed: int, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
301
|
-
loadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<System_Internal.Char>, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
302
|
-
loadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
298
|
+
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding | undefined): CertificateRequest;
|
|
299
|
+
loadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
|
|
300
|
+
loadSigningRequest(pkcs10: ReadOnlySpan_1<System_Internal.Byte>, signerHashAlgorithm: HashAlgorithmName, bytesConsumed: int, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
|
|
301
|
+
loadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<System_Internal.Char>, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
|
|
302
|
+
loadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | undefined): CertificateRequest;
|
|
303
303
|
};
|
|
304
304
|
|
|
305
305
|
|
|
@@ -309,7 +309,7 @@ export interface CertificateRevocationListBuilder$instance {
|
|
|
309
309
|
addEntry(certificate: X509Certificate2, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
310
310
|
addEntry(serialNumber: byte[], revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
311
311
|
addEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
312
|
-
build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
312
|
+
build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding | undefined, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
313
313
|
build(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, authorityKeyIdentifier: X509AuthorityKeyIdentifierExtension, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
314
314
|
removeEntry(serialNumber: byte[]): boolean;
|
|
315
315
|
removeEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
@@ -375,7 +375,7 @@ export type Pkcs12LoadLimitExceededException = Pkcs12LoadLimitExceededException$
|
|
|
375
375
|
|
|
376
376
|
export interface PublicKey$instance {
|
|
377
377
|
readonly encodedKeyValue: AsnEncodedData;
|
|
378
|
-
readonly encodedParameters: AsnEncodedData;
|
|
378
|
+
readonly encodedParameters: AsnEncodedData | undefined;
|
|
379
379
|
readonly key: AsymmetricAlgorithm;
|
|
380
380
|
readonly oid: Oid;
|
|
381
381
|
exportSubjectPublicKeyInfo(): byte[];
|
|
@@ -392,7 +392,7 @@ export interface PublicKey$instance {
|
|
|
392
392
|
|
|
393
393
|
|
|
394
394
|
export const PublicKey: {
|
|
395
|
-
new(oid: Oid, parameters: AsnEncodedData, keyValue: AsnEncodedData): PublicKey;
|
|
395
|
+
new(oid: Oid, parameters: AsnEncodedData | undefined, keyValue: AsnEncodedData): PublicKey;
|
|
396
396
|
new(key: AsymmetricAlgorithm): PublicKey;
|
|
397
397
|
new(key: MLKem): PublicKey;
|
|
398
398
|
new(key: MLDsa): PublicKey;
|
|
@@ -491,7 +491,7 @@ export const X509AuthorityInformationAccessExtension: {
|
|
|
491
491
|
new(): X509AuthorityInformationAccessExtension;
|
|
492
492
|
new(rawData: byte[], critical: boolean): X509AuthorityInformationAccessExtension;
|
|
493
493
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityInformationAccessExtension;
|
|
494
|
-
new(ocspUris: IEnumerable_1<System_Internal.String
|
|
494
|
+
new(ocspUris: IEnumerable_1<System_Internal.String> | undefined, caIssuersUris: IEnumerable_1<System_Internal.String> | undefined, critical: boolean): X509AuthorityInformationAccessExtension;
|
|
495
495
|
};
|
|
496
496
|
|
|
497
497
|
|
|
@@ -499,7 +499,7 @@ export type X509AuthorityInformationAccessExtension = X509AuthorityInformationAc
|
|
|
499
499
|
|
|
500
500
|
export interface X509AuthorityKeyIdentifierExtension$instance extends X509Extension {
|
|
501
501
|
readonly keyIdentifier: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
502
|
-
readonly namedIssuer: X500DistinguishedName;
|
|
502
|
+
readonly namedIssuer: X500DistinguishedName | undefined;
|
|
503
503
|
readonly rawIssuer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
504
504
|
readonly serialNumber: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
505
505
|
copyFrom(asnEncodedData: AsnEncodedData): void;
|
|
@@ -551,10 +551,10 @@ export interface X509Certificate$instance {
|
|
|
551
551
|
equals(obj: unknown): boolean;
|
|
552
552
|
equals(other: X509Certificate): boolean;
|
|
553
553
|
export_(contentType: X509ContentType): byte[];
|
|
554
|
-
export_(contentType: X509ContentType, password: string): byte[];
|
|
555
|
-
export_(contentType: X509ContentType, password: SecureString): byte[];
|
|
556
|
-
exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string): byte[];
|
|
557
|
-
exportPkcs12(exportParameters: PbeParameters, password: string): byte[];
|
|
554
|
+
export_(contentType: X509ContentType, password: string | undefined): byte[];
|
|
555
|
+
export_(contentType: X509ContentType, password: SecureString | undefined): byte[];
|
|
556
|
+
exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string | undefined): byte[];
|
|
557
|
+
exportPkcs12(exportParameters: PbeParameters, password: string | undefined): byte[];
|
|
558
558
|
getCertHash(): byte[];
|
|
559
559
|
getCertHash(hashAlgorithm: HashAlgorithmName): byte[];
|
|
560
560
|
getCertHashString(): string;
|
|
@@ -575,11 +575,11 @@ export interface X509Certificate$instance {
|
|
|
575
575
|
getSerialNumber(): byte[];
|
|
576
576
|
getSerialNumberString(): string;
|
|
577
577
|
import_(rawData: byte[]): void;
|
|
578
|
-
import_(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
579
|
-
import_(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
578
|
+
import_(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
579
|
+
import_(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
580
580
|
import_(fileName: string): void;
|
|
581
|
-
import_(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
582
|
-
import_(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
581
|
+
import_(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
582
|
+
import_(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
583
583
|
reset(): void;
|
|
584
584
|
toString(): string;
|
|
585
585
|
toString(fVerbose: boolean): string;
|
|
@@ -590,16 +590,16 @@ export interface X509Certificate$instance {
|
|
|
590
590
|
export const X509Certificate: {
|
|
591
591
|
new(): X509Certificate;
|
|
592
592
|
new(data: byte[]): X509Certificate;
|
|
593
|
-
new(rawData: byte[], password: string): X509Certificate;
|
|
594
|
-
new(rawData: byte[], password: SecureString): X509Certificate;
|
|
595
|
-
new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
596
|
-
new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
593
|
+
new(rawData: byte[], password: string | undefined): X509Certificate;
|
|
594
|
+
new(rawData: byte[], password: SecureString | undefined): X509Certificate;
|
|
595
|
+
new(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
596
|
+
new(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
597
597
|
new(handle: nint): X509Certificate;
|
|
598
598
|
new(fileName: string): X509Certificate;
|
|
599
|
-
new(fileName: string, password: string): X509Certificate;
|
|
600
|
-
new(fileName: string, password: SecureString): X509Certificate;
|
|
601
|
-
new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
602
|
-
new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
599
|
+
new(fileName: string, password: string | undefined): X509Certificate;
|
|
600
|
+
new(fileName: string, password: SecureString | undefined): X509Certificate;
|
|
601
|
+
new(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
602
|
+
new(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
603
603
|
new(cert: X509Certificate): X509Certificate;
|
|
604
604
|
new(info: SerializationInfo, context: StreamingContext): X509Certificate;
|
|
605
605
|
createFromCertFile(filename: string): X509Certificate;
|
|
@@ -626,7 +626,7 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
|
|
|
626
626
|
readonly issuerName: X500DistinguishedName;
|
|
627
627
|
readonly notAfter: DateTime;
|
|
628
628
|
readonly notBefore: DateTime;
|
|
629
|
-
privateKey: AsymmetricAlgorithm;
|
|
629
|
+
privateKey: AsymmetricAlgorithm | undefined;
|
|
630
630
|
readonly publicKey: PublicKey;
|
|
631
631
|
readonly rawData: byte[];
|
|
632
632
|
readonly rawDataMemory: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
@@ -655,13 +655,13 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
|
|
|
655
655
|
getSlhDsaPrivateKey(): SlhDsa;
|
|
656
656
|
getSlhDsaPublicKey(): SlhDsa;
|
|
657
657
|
import_(rawData: byte[]): void;
|
|
658
|
-
import_(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
659
|
-
import_(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
658
|
+
import_(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
659
|
+
import_(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
660
660
|
import_(fileName: string): void;
|
|
661
|
-
import_(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
662
|
-
import_(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
661
|
+
import_(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
662
|
+
import_(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): void;
|
|
663
663
|
matchesHostname(hostname: string, allowWildcards?: boolean, allowCommonName?: boolean): boolean;
|
|
664
|
-
onDeserialization(sender: unknown): void;
|
|
664
|
+
onDeserialization(sender: unknown | undefined): void;
|
|
665
665
|
reset(): void;
|
|
666
666
|
toString(): string;
|
|
667
667
|
toString(verbose: boolean): string;
|
|
@@ -673,25 +673,25 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
|
|
|
673
673
|
export const X509Certificate2: {
|
|
674
674
|
new(): X509Certificate2;
|
|
675
675
|
new(rawData: byte[]): X509Certificate2;
|
|
676
|
-
new(rawData: byte[], password: string): X509Certificate2;
|
|
677
|
-
new(rawData: byte[], password: SecureString): X509Certificate2;
|
|
678
|
-
new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
679
|
-
new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
676
|
+
new(rawData: byte[], password: string | undefined): X509Certificate2;
|
|
677
|
+
new(rawData: byte[], password: SecureString | undefined): X509Certificate2;
|
|
678
|
+
new(rawData: byte[], password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
679
|
+
new(rawData: byte[], password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
680
680
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
681
681
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
682
682
|
new(handle: nint): X509Certificate2;
|
|
683
683
|
new(fileName: string): X509Certificate2;
|
|
684
|
-
new(fileName: string, password: string): X509Certificate2;
|
|
685
|
-
new(fileName: string, password: SecureString): X509Certificate2;
|
|
686
|
-
new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
687
|
-
new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
684
|
+
new(fileName: string, password: string | undefined): X509Certificate2;
|
|
685
|
+
new(fileName: string, password: SecureString | undefined): X509Certificate2;
|
|
686
|
+
new(fileName: string, password: string | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
687
|
+
new(fileName: string, password: SecureString | undefined, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
688
688
|
new(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
689
689
|
new(certificate: X509Certificate): X509Certificate2;
|
|
690
690
|
createFromEncryptedPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
691
|
-
createFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<System_Internal.Char>, keyPemFilePath?: string): X509Certificate2;
|
|
691
|
+
createFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<System_Internal.Char>, keyPemFilePath?: string | undefined): X509Certificate2;
|
|
692
692
|
createFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
693
693
|
createFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
694
|
-
createFromPemFile(certPemFilePath: string, keyPemFilePath?: string): X509Certificate2;
|
|
694
|
+
createFromPemFile(certPemFilePath: string, keyPemFilePath?: string | undefined): X509Certificate2;
|
|
695
695
|
getCertContentType(rawData: byte[]): X509ContentType;
|
|
696
696
|
getCertContentType(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509ContentType;
|
|
697
697
|
getCertContentType(fileName: string): X509ContentType;
|
|
@@ -711,20 +711,20 @@ export type X509Certificate2 = X509Certificate2$instance & __X509Certificate2$vi
|
|
|
711
711
|
|
|
712
712
|
export interface X509Certificate2Collection$instance extends X509CertificateCollection$instance {
|
|
713
713
|
add(value: X509Certificate): int;
|
|
714
|
-
add(value: unknown): int;
|
|
714
|
+
add(value: unknown | undefined): int;
|
|
715
715
|
addRange(certificates: X509Certificate2Collection): void;
|
|
716
716
|
addRange(value: X509Certificate[]): void;
|
|
717
717
|
addRange(value: X509CertificateCollection): void;
|
|
718
718
|
clear(): void;
|
|
719
719
|
contains(value: X509Certificate): boolean;
|
|
720
|
-
contains(value: unknown): boolean;
|
|
720
|
+
contains(value: unknown | undefined): boolean;
|
|
721
721
|
copyTo(array: X509Certificate[], index: int): void;
|
|
722
722
|
copyTo(array: ClrArray, index: int): void;
|
|
723
723
|
export_(contentType: X509ContentType): byte[];
|
|
724
724
|
export_(contentType: X509ContentType, password: string): byte[];
|
|
725
725
|
exportCertificatePems(): string;
|
|
726
|
-
exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string): byte[];
|
|
727
|
-
exportPkcs12(exportParameters: PbeParameters, password: string): byte[];
|
|
726
|
+
exportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string | undefined): byte[];
|
|
727
|
+
exportPkcs12(exportParameters: PbeParameters, password: string | undefined): byte[];
|
|
728
728
|
exportPkcs7Pem(): string;
|
|
729
729
|
find(findType: X509FindType, findValue: unknown, validOnly: boolean): X509Certificate2Collection;
|
|
730
730
|
findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: string): X509Certificate2Collection;
|
|
@@ -734,19 +734,19 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
|
|
|
734
734
|
getEnumerator(): IEnumerator;
|
|
735
735
|
import_(rawData: byte[]): void;
|
|
736
736
|
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
737
|
-
import_(rawData: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
738
|
-
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
737
|
+
import_(rawData: byte[], password: string | undefined, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
738
|
+
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
739
739
|
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
740
740
|
import_(fileName: string): void;
|
|
741
|
-
import_(fileName: string, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
741
|
+
import_(fileName: string, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
742
742
|
import_(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
743
743
|
importFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
744
744
|
importFromPemFile(certPemFilePath: string): void;
|
|
745
745
|
indexOf(value: X509Certificate): int;
|
|
746
746
|
insert(index: int, value: X509Certificate): void;
|
|
747
|
-
insert(index: int, value: unknown): void;
|
|
747
|
+
insert(index: int, value: unknown | undefined): void;
|
|
748
748
|
remove(value: X509Certificate): void;
|
|
749
|
-
remove(value: unknown): void;
|
|
749
|
+
remove(value: unknown | undefined): void;
|
|
750
750
|
removeAt(index: int): void;
|
|
751
751
|
removeRange(certificates: X509Certificate2[]): void;
|
|
752
752
|
removeRange(certificates: X509Certificate2Collection): void;
|
|
@@ -796,17 +796,17 @@ export type X509Certificate2Enumerator = X509Certificate2Enumerator$instance & _
|
|
|
796
796
|
|
|
797
797
|
export interface X509CertificateCollection$instance extends CollectionBase {
|
|
798
798
|
item: X509Certificate | X509Certificate2;
|
|
799
|
-
add(value: unknown): int;
|
|
799
|
+
add(value: unknown | undefined): int;
|
|
800
800
|
addRange(value: X509Certificate[]): void;
|
|
801
801
|
addRange(value: X509CertificateCollection): void;
|
|
802
802
|
clear(): void;
|
|
803
|
-
contains(value: unknown): boolean;
|
|
803
|
+
contains(value: unknown | undefined): boolean;
|
|
804
804
|
copyTo(array: ClrArray, index: int): void;
|
|
805
805
|
getEnumerator(): IEnumerator;
|
|
806
806
|
getHashCode(): int;
|
|
807
807
|
indexOf(value: X509Certificate): int;
|
|
808
|
-
insert(index: int, value: unknown): void;
|
|
809
|
-
remove(value: unknown): void;
|
|
808
|
+
insert(index: int, value: unknown | undefined): void;
|
|
809
|
+
remove(value: unknown | undefined): void;
|
|
810
810
|
removeAt(index: int): void;
|
|
811
811
|
}
|
|
812
812
|
|
|
@@ -828,7 +828,7 @@ export type X509CertificateCollection = X509CertificateCollection$instance & __X
|
|
|
828
828
|
|
|
829
829
|
|
|
830
830
|
export interface X509CertificateCollection_X509CertificateEnumerator$instance {
|
|
831
|
-
readonly current:
|
|
831
|
+
readonly current: X509Certificate;
|
|
832
832
|
moveNext(): boolean;
|
|
833
833
|
reset(): void;
|
|
834
834
|
}
|
|
@@ -1126,7 +1126,7 @@ export const X509SubjectAlternativeNameExtension: {
|
|
|
1126
1126
|
export type X509SubjectAlternativeNameExtension = X509SubjectAlternativeNameExtension$instance;
|
|
1127
1127
|
|
|
1128
1128
|
export interface X509SubjectKeyIdentifierExtension$instance extends X509Extension {
|
|
1129
|
-
readonly subjectKeyIdentifier: string;
|
|
1129
|
+
readonly subjectKeyIdentifier: string | undefined;
|
|
1130
1130
|
readonly subjectKeyIdentifierBytes: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
1131
1131
|
copyFrom(asnEncodedData: AsnEncodedData): void;
|
|
1132
1132
|
}
|
|
@@ -1147,8 +1147,8 @@ export type X509SubjectKeyIdentifierExtension = X509SubjectKeyIdentifierExtensio
|
|
|
1147
1147
|
|
|
1148
1148
|
export abstract class DSACertificateExtensions$instance {
|
|
1149
1149
|
static copyWithPrivateKey(certificate: X509Certificate2, privateKey: DSA): X509Certificate2;
|
|
1150
|
-
static getDSAPrivateKey(certificate: X509Certificate2): DSA;
|
|
1151
|
-
static getDSAPublicKey(certificate: X509Certificate2): DSA;
|
|
1150
|
+
static getDSAPrivateKey(certificate: X509Certificate2): DSA | undefined;
|
|
1151
|
+
static getDSAPublicKey(certificate: X509Certificate2): DSA | undefined;
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
1154
|
|
|
@@ -1156,8 +1156,8 @@ export type DSACertificateExtensions = DSACertificateExtensions$instance;
|
|
|
1156
1156
|
|
|
1157
1157
|
export abstract class ECDsaCertificateExtensions$instance {
|
|
1158
1158
|
static copyWithPrivateKey(certificate: X509Certificate2, privateKey: ECDsa): X509Certificate2;
|
|
1159
|
-
static getECDsaPrivateKey(certificate: X509Certificate2): ECDsa;
|
|
1160
|
-
static getECDsaPublicKey(certificate: X509Certificate2): ECDsa;
|
|
1159
|
+
static getECDsaPrivateKey(certificate: X509Certificate2): ECDsa | undefined;
|
|
1160
|
+
static getECDsaPublicKey(certificate: X509Certificate2): ECDsa | undefined;
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
1163
|
|
|
@@ -1165,8 +1165,8 @@ export type ECDsaCertificateExtensions = ECDsaCertificateExtensions$instance;
|
|
|
1165
1165
|
|
|
1166
1166
|
export abstract class RSACertificateExtensions$instance {
|
|
1167
1167
|
static copyWithPrivateKey(certificate: X509Certificate2, privateKey: RSA): X509Certificate2;
|
|
1168
|
-
static getRSAPrivateKey(certificate: X509Certificate2): RSA;
|
|
1169
|
-
static getRSAPublicKey(certificate: X509Certificate2): RSA;
|
|
1168
|
+
static getRSAPrivateKey(certificate: X509Certificate2): RSA | undefined;
|
|
1169
|
+
static getRSAPublicKey(certificate: X509Certificate2): RSA | undefined;
|
|
1170
1170
|
}
|
|
1171
1171
|
|
|
1172
1172
|
|
|
@@ -1176,14 +1176,14 @@ export abstract class X509CertificateLoader$instance {
|
|
|
1176
1176
|
static loadCertificate(data: byte[]): X509Certificate2;
|
|
1177
1177
|
static loadCertificate(data: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
1178
1178
|
static loadCertificateFromFile(path: string): X509Certificate2;
|
|
1179
|
-
static loadPkcs12(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1180
|
-
static loadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1181
|
-
static loadPkcs12Collection(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1182
|
-
static loadPkcs12Collection(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1183
|
-
static loadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1184
|
-
static loadPkcs12CollectionFromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1185
|
-
static loadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1186
|
-
static loadPkcs12FromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1179
|
+
static loadPkcs12(data: byte[], password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
|
|
1180
|
+
static loadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
|
|
1181
|
+
static loadPkcs12Collection(data: byte[], password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
|
|
1182
|
+
static loadPkcs12Collection(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
|
|
1183
|
+
static loadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
|
|
1184
|
+
static loadPkcs12CollectionFromFile(path: string, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2Collection;
|
|
1185
|
+
static loadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
|
|
1186
|
+
static loadPkcs12FromFile(path: string, password: string | undefined, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | undefined): X509Certificate2;
|
|
1187
1187
|
}
|
|
1188
1188
|
|
|
1189
1189
|
|
|
@@ -25,10 +25,10 @@ export interface Evidence$instance {
|
|
|
25
25
|
clone(): Evidence;
|
|
26
26
|
copyTo(array: ClrArray, index: int): void;
|
|
27
27
|
getAssemblyEnumerator(): IEnumerator;
|
|
28
|
-
getAssemblyEvidence<T extends EvidenceBase>(): T;
|
|
28
|
+
getAssemblyEvidence<T extends EvidenceBase>(): T | undefined;
|
|
29
29
|
getEnumerator(): IEnumerator;
|
|
30
30
|
getHostEnumerator(): IEnumerator;
|
|
31
|
-
getHostEvidence<T extends EvidenceBase>(): T;
|
|
31
|
+
getHostEvidence<T extends EvidenceBase>(): T | undefined;
|
|
32
32
|
merge(evidence: Evidence): void;
|
|
33
33
|
removeType(t: Type): void;
|
|
34
34
|
}
|
|
@@ -177,7 +177,7 @@ export enum WindowsBuiltInRole {
|
|
|
177
177
|
|
|
178
178
|
export interface IIdentity$instance {
|
|
179
179
|
readonly name: string;
|
|
180
|
-
readonly authenticationType: string;
|
|
180
|
+
readonly authenticationType: string | undefined;
|
|
181
181
|
readonly isAuthenticated: boolean;
|
|
182
182
|
}
|
|
183
183
|
|
|
@@ -185,15 +185,15 @@ export interface IIdentity$instance {
|
|
|
185
185
|
export type IIdentity = IIdentity$instance;
|
|
186
186
|
|
|
187
187
|
export interface IPrincipal$instance {
|
|
188
|
-
readonly identity: IIdentity;
|
|
189
|
-
isInRole(role: string): boolean;
|
|
188
|
+
readonly identity: IIdentity | undefined;
|
|
189
|
+
isInRole(role: string | undefined): boolean;
|
|
190
190
|
}
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
export type IPrincipal = IPrincipal$instance;
|
|
194
194
|
|
|
195
195
|
export interface GenericIdentity$instance extends ClaimsIdentity {
|
|
196
|
-
readonly authenticationType: string;
|
|
196
|
+
readonly authenticationType: string | string | undefined;
|
|
197
197
|
readonly claims: IEnumerable_1<Claim>;
|
|
198
198
|
readonly isAuthenticated: boolean;
|
|
199
199
|
readonly name: string;
|
|
@@ -211,19 +211,17 @@ export interface __GenericIdentity$views {
|
|
|
211
211
|
As_IIdentity(): IIdentity$instance;
|
|
212
212
|
}
|
|
213
213
|
|
|
214
|
-
export interface GenericIdentity$instance extends IIdentity$instance {}
|
|
215
|
-
|
|
216
214
|
export type GenericIdentity = GenericIdentity$instance & __GenericIdentity$views;
|
|
217
215
|
|
|
218
216
|
|
|
219
217
|
export interface GenericPrincipal$instance extends ClaimsPrincipal {
|
|
220
|
-
readonly identity: IIdentity;
|
|
218
|
+
readonly identity: IIdentity | IIdentity | undefined;
|
|
221
219
|
isInRole(role: string): boolean;
|
|
222
220
|
}
|
|
223
221
|
|
|
224
222
|
|
|
225
223
|
export const GenericPrincipal: {
|
|
226
|
-
new(identity: IIdentity, roles: string[]): GenericPrincipal;
|
|
224
|
+
new(identity: IIdentity, roles: string[] | undefined): GenericPrincipal;
|
|
227
225
|
};
|
|
228
226
|
|
|
229
227
|
|
|
@@ -318,7 +316,7 @@ export const NTAccount: {
|
|
|
318
316
|
export type NTAccount = NTAccount$instance;
|
|
319
317
|
|
|
320
318
|
export interface SecurityIdentifier$instance extends IdentityReference {
|
|
321
|
-
readonly accountDomainSid: SecurityIdentifier;
|
|
319
|
+
readonly accountDomainSid: SecurityIdentifier | undefined;
|
|
322
320
|
readonly binaryLength: int;
|
|
323
321
|
readonly value: string;
|
|
324
322
|
compareTo(sid: SecurityIdentifier): int;
|
|
@@ -359,7 +357,7 @@ export type SecurityIdentifier = SecurityIdentifier$instance & __SecurityIdentif
|
|
|
359
357
|
|
|
360
358
|
export interface WindowsIdentity$instance extends ClaimsIdentity {
|
|
361
359
|
readonly accessToken: SafeAccessTokenHandle;
|
|
362
|
-
readonly authenticationType: string;
|
|
360
|
+
readonly authenticationType: string | undefined;
|
|
363
361
|
readonly claims: IEnumerable_1<Claim>;
|
|
364
362
|
readonly deviceClaims: IEnumerable_1<Claim>;
|
|
365
363
|
readonly groups: IdentityReferenceCollection;
|
|
@@ -411,7 +409,7 @@ export type WindowsIdentity = WindowsIdentity$instance & __WindowsIdentity$views
|
|
|
411
409
|
|
|
412
410
|
export interface WindowsPrincipal$instance extends ClaimsPrincipal {
|
|
413
411
|
readonly deviceClaims: IEnumerable_1<Claim>;
|
|
414
|
-
readonly identity: IIdentity;
|
|
412
|
+
readonly identity: IIdentity | IIdentity | undefined;
|
|
415
413
|
readonly userClaims: IEnumerable_1<Claim>;
|
|
416
414
|
isInRole(sid: SecurityIdentifier): boolean;
|
|
417
415
|
isInRole(role: WindowsBuiltInRole): boolean;
|