@tsonic/dotnet 10.0.39 → 10.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Internal/internal/index.d.ts +4 -3
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +19 -18
- package/Microsoft.VisualBasic/internal/index.d.ts +52 -54
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +117 -119
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +3 -2
- package/Microsoft.Win32/internal/index.d.ts +19 -18
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +3 -2
- package/README.md +76 -104
- package/System/bindings.json +1520 -2039
- package/System/internal/index.d.ts +1549 -1602
- package/System.Buffers/bindings.json +12 -3
- package/System.Buffers/internal/index.d.ts +12 -14
- package/System.Buffers.Binary/internal/index.d.ts +2 -4
- package/System.Buffers.Text/internal/index.d.ts +2 -4
- package/System.CodeDom.Compiler/internal/index.d.ts +32 -31
- package/System.Collections/internal/index.d.ts +129 -131
- package/System.Collections.Concurrent/bindings.json +218 -218
- package/System.Collections.Concurrent/internal/index.d.ts +34 -36
- package/System.Collections.Frozen/bindings.json +413 -611
- package/System.Collections.Frozen/internal/index.d.ts +81 -97
- package/System.Collections.Frozen.d.ts +14 -2
- package/System.Collections.Generic/bindings.json +9420 -14155
- package/System.Collections.Generic/internal/index.d.ts +547 -758
- package/System.Collections.Generic.d.ts +1 -1
- package/System.Collections.Immutable/bindings.json +6000 -9080
- package/System.Collections.Immutable/internal/index.d.ts +265 -354
- package/System.Collections.Immutable.d.ts +49 -12
- package/System.Collections.ObjectModel/bindings.json +132 -654
- package/System.Collections.ObjectModel/internal/index.d.ts +10 -30
- package/System.Collections.Specialized/bindings.json +0 -123
- package/System.Collections.Specialized/internal/index.d.ts +88 -101
- package/System.ComponentModel/bindings.json +163 -102
- package/System.ComponentModel/internal/index.d.ts +618 -608
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +133 -132
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +8 -7
- package/System.ComponentModel.Design/bindings.json +22 -292
- package/System.ComponentModel.Design/internal/index.d.ts +101 -109
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +61 -60
- package/System.ComponentModel.d.ts +1 -0
- package/System.Configuration.Assemblies/internal/index.d.ts +3 -2
- package/System.Data/bindings.json +4 -1
- package/System.Data/internal/index.d.ts +351 -350
- package/System.Data.Common/internal/index.d.ts +151 -152
- package/System.Data.SqlTypes/internal/index.d.ts +68 -67
- package/System.Diagnostics/bindings.json +7044 -7249
- package/System.Diagnostics/internal/index.d.ts +446 -461
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +44 -43
- package/System.Diagnostics.Contracts/internal/index.d.ts +16 -18
- package/System.Diagnostics.Metrics/internal/index.d.ts +92 -94
- package/System.Diagnostics.Metrics.d.ts +1 -1
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +12 -11
- package/System.Diagnostics.Tracing/bindings.json +81 -21
- package/System.Diagnostics.Tracing/internal/index.d.ts +69 -56
- package/System.Diagnostics.Tracing.d.ts +2 -1
- package/System.Drawing/internal/index.d.ts +76 -75
- package/System.Dynamic/internal/index.d.ts +55 -57
- package/System.Formats.Asn1/bindings.json +48 -69
- package/System.Formats.Asn1/internal/index.d.ts +21 -28
- package/System.Formats.Tar/internal/index.d.ts +8 -7
- package/System.Globalization/internal/index.d.ts +40 -42
- package/System.IO/internal/index.d.ts +187 -189
- package/System.IO.Compression/internal/index.d.ts +29 -31
- package/System.IO.Enumeration/bindings.json +250 -250
- package/System.IO.Enumeration/internal/index.d.ts +15 -17
- package/System.IO.IsolatedStorage/internal/index.d.ts +19 -18
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +11 -10
- package/System.IO.Pipelines/internal/index.d.ts +15 -17
- package/System.IO.Pipes/internal/index.d.ts +8 -7
- package/System.Linq/internal/index.d.ts +223 -225
- package/System.Linq.Expressions/internal/index.d.ts +205 -207
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +5 -4
- package/System.Net/bindings.json +104 -104
- package/System.Net/internal/index.d.ts +279 -281
- package/System.Net.Cache/internal/index.d.ts +3 -2
- package/System.Net.Http/internal/index.d.ts +128 -130
- package/System.Net.Http.Headers/bindings.json +0 -204
- package/System.Net.Http.Headers/internal/index.d.ts +111 -127
- package/System.Net.Http.Json/internal/index.d.ts +67 -69
- package/System.Net.Http.Metrics/internal/index.d.ts +6 -5
- package/System.Net.Mail/internal/index.d.ts +76 -78
- package/System.Net.Mime/internal/index.d.ts +11 -10
- package/System.Net.NetworkInformation/internal/index.d.ts +30 -32
- package/System.Net.Quic/internal/index.d.ts +10 -9
- package/System.Net.Security/internal/index.d.ts +87 -89
- package/System.Net.ServerSentEvents/internal/index.d.ts +6 -5
- package/System.Net.Sockets/internal/index.d.ts +91 -93
- package/System.Net.WebSockets/internal/index.d.ts +47 -46
- package/System.Numerics/bindings.json +544 -116
- package/System.Numerics/internal/index.d.ts +110 -112
- package/System.Reflection/internal/index.d.ts +270 -272
- package/System.Reflection.Emit/internal/index.d.ts +114 -116
- package/System.Reflection.Metadata/bindings.json +166 -3169
- package/System.Reflection.Metadata/internal/index.d.ts +154 -361
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +13 -15
- package/System.Reflection.PortableExecutable/bindings.json +58 -0
- package/System.Reflection.PortableExecutable/internal/index.d.ts +24 -11
- package/System.Reflection.PortableExecutable.d.ts +1 -0
- package/System.Resources/internal/index.d.ts +33 -35
- package/System.Runtime/internal/index.d.ts +12 -11
- package/System.Runtime.CompilerServices/bindings.json +519 -717
- package/System.Runtime.CompilerServices/internal/index.d.ts +113 -137
- package/System.Runtime.CompilerServices.d.ts +14 -4
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +3 -2
- package/System.Runtime.ExceptionServices/internal/index.d.ts +4 -3
- package/System.Runtime.InteropServices/bindings.json +101 -101
- package/System.Runtime.InteropServices/internal/index.d.ts +234 -236
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +34 -36
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.JavaScript/bindings.json +328 -328
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +67 -69
- package/System.Runtime.InteropServices.JavaScript.d.ts +8 -26
- package/System.Runtime.InteropServices.Marshalling/bindings.json +2619 -2619
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +308 -310
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +141 -141
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +17 -19
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +4 -6
- package/System.Runtime.InteropServices.Swift.d.ts +1 -1
- package/System.Runtime.Intrinsics/bindings.json +64 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +22 -24
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +12 -13
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +2 -4
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +42 -41
- package/System.Runtime.Loader/bindings.json +48 -69
- package/System.Runtime.Loader/internal/index.d.ts +30 -34
- package/System.Runtime.Remoting/internal/index.d.ts +5 -4
- package/System.Runtime.Serialization/internal/index.d.ts +175 -177
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +29 -31
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +7 -6
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +10 -9
- package/System.Runtime.Serialization.Json/internal/index.d.ts +37 -36
- package/System.Runtime.Versioning/internal/index.d.ts +20 -19
- package/System.Security/internal/index.d.ts +64 -66
- package/System.Security.AccessControl/bindings.json +104 -0
- package/System.Security.AccessControl/internal/index.d.ts +59 -58
- package/System.Security.AccessControl.d.ts +6 -5
- package/System.Security.Authentication/internal/index.d.ts +7 -6
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +12 -11
- package/System.Security.Claims/internal/index.d.ts +45 -44
- package/System.Security.Cryptography/bindings.json +469 -469
- package/System.Security.Cryptography/internal/index.d.ts +269 -271
- package/System.Security.Cryptography.X509Certificates/bindings.json +0 -62
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +98 -105
- package/System.Security.Permissions/internal/index.d.ts +5 -4
- package/System.Security.Policy/internal/index.d.ts +11 -10
- package/System.Security.Principal/internal/index.d.ts +28 -27
- package/System.Text/bindings.json +1562 -1562
- package/System.Text/internal/index.d.ts +119 -121
- package/System.Text.Encodings.Web/internal/index.d.ts +2 -4
- package/System.Text.Json/bindings.json +0 -290
- package/System.Text.Json/internal/index.d.ts +135 -153
- package/System.Text.Json.Nodes/internal/index.d.ts +60 -62
- package/System.Text.Json.Schema/internal/index.d.ts +9 -8
- package/System.Text.Json.Serialization/internal/index.d.ts +32 -34
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +86 -85
- package/System.Text.Json.Serialization.d.ts +1 -1
- package/System.Text.RegularExpressions/bindings.json +198 -402
- package/System.Text.RegularExpressions/internal/index.d.ts +48 -64
- package/System.Text.Unicode/bindings.json +508 -508
- package/System.Text.Unicode/internal/index.d.ts +29 -31
- package/System.Threading/bindings.json +42 -42
- package/System.Threading/internal/index.d.ts +157 -159
- package/System.Threading.Channels/internal/index.d.ts +10 -12
- package/System.Threading.Tasks/bindings.json +4 -1
- package/System.Threading.Tasks/internal/index.d.ts +115 -114
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +32 -33
- package/System.Threading.Tasks.Sources/internal/index.d.ts +6 -5
- package/System.Timers/internal/index.d.ts +8 -7
- package/System.Transactions/internal/index.d.ts +31 -30
- package/System.Web/internal/index.d.ts +32 -31
- package/System.Windows.Input/internal/index.d.ts +5 -4
- package/System.Windows.Markup/internal/index.d.ts +3 -2
- package/System.Xml/internal/index.d.ts +383 -385
- package/System.Xml.Linq/internal/index.d.ts +103 -102
- package/System.Xml.Resolvers/internal/index.d.ts +10 -9
- package/System.Xml.Schema/bindings.json +76 -76
- package/System.Xml.Schema/internal/index.d.ts +233 -232
- package/System.Xml.Serialization/bindings.json +193 -0
- package/System.Xml.Serialization/internal/index.d.ts +277 -245
- package/System.Xml.Serialization.d.ts +2 -0
- package/System.Xml.XPath/internal/index.d.ts +46 -45
- package/System.Xml.Xsl/internal/index.d.ts +53 -52
- package/System.Xml.Xsl.Runtime/bindings.json +4 -1
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +35 -37
- package/System.d.ts +2 -2
- package/__internal/extensions/index.d.ts +517 -515
- package/families.json +63 -7
- package/package.json +2 -2
|
@@ -10327,48 +10327,6 @@
|
|
|
10327
10327
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.X509CertificateCollection\u002BX509CertificateEnumerator",
|
|
10328
10328
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
10329
10329
|
"isExtensionMethod": false
|
|
10330
|
-
},
|
|
10331
|
-
{
|
|
10332
|
-
"stableId": "System.Private.CoreLib:System.Collections.IEnumerator::MoveNext():System.Boolean",
|
|
10333
|
-
"clrName": "MoveNext",
|
|
10334
|
-
"metadataToken": 100703846,
|
|
10335
|
-
"canonicalSignature": "():System.Boolean",
|
|
10336
|
-
"normalizedSignature": "MoveNext|():System.Boolean|static=false",
|
|
10337
|
-
"emitScope": "ViewOnly",
|
|
10338
|
-
"provenance": "ExplicitView",
|
|
10339
|
-
"arity": 0,
|
|
10340
|
-
"parameterCount": 0,
|
|
10341
|
-
"isStatic": false,
|
|
10342
|
-
"isAbstract": false,
|
|
10343
|
-
"isVirtual": true,
|
|
10344
|
-
"isOverride": false,
|
|
10345
|
-
"isSealed": false,
|
|
10346
|
-
"visibility": "Public",
|
|
10347
|
-
"declaringClrType": "System.Collections.IEnumerator",
|
|
10348
|
-
"declaringAssemblyName": "System.Private.CoreLib",
|
|
10349
|
-
"isExtensionMethod": false,
|
|
10350
|
-
"sourceInterface": "System.Collections.IEnumerator"
|
|
10351
|
-
},
|
|
10352
|
-
{
|
|
10353
|
-
"stableId": "System.Private.CoreLib:System.Collections.IEnumerator::Reset():System.Void",
|
|
10354
|
-
"clrName": "Reset",
|
|
10355
|
-
"metadataToken": 100703848,
|
|
10356
|
-
"canonicalSignature": "():System.Void",
|
|
10357
|
-
"normalizedSignature": "Reset|():System.Void|static=false",
|
|
10358
|
-
"emitScope": "ViewOnly",
|
|
10359
|
-
"provenance": "ExplicitView",
|
|
10360
|
-
"arity": 0,
|
|
10361
|
-
"parameterCount": 0,
|
|
10362
|
-
"isStatic": false,
|
|
10363
|
-
"isAbstract": false,
|
|
10364
|
-
"isVirtual": true,
|
|
10365
|
-
"isOverride": false,
|
|
10366
|
-
"isSealed": false,
|
|
10367
|
-
"visibility": "Public",
|
|
10368
|
-
"declaringClrType": "System.Collections.IEnumerator",
|
|
10369
|
-
"declaringAssemblyName": "System.Private.CoreLib",
|
|
10370
|
-
"isExtensionMethod": false,
|
|
10371
|
-
"sourceInterface": "System.Collections.IEnumerator"
|
|
10372
10330
|
}
|
|
10373
10331
|
],
|
|
10374
10332
|
"properties": [
|
|
@@ -10390,26 +10348,6 @@
|
|
|
10390
10348
|
"visibility": "Public",
|
|
10391
10349
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.X509CertificateCollection\u002BX509CertificateEnumerator",
|
|
10392
10350
|
"declaringAssemblyName": "System.Security.Cryptography"
|
|
10393
|
-
},
|
|
10394
|
-
{
|
|
10395
|
-
"stableId": "System.Private.CoreLib:System.Collections.IEnumerator::Current:System.Object",
|
|
10396
|
-
"clrName": "Current",
|
|
10397
|
-
"metadataToken": 385881267,
|
|
10398
|
-
"canonicalSignature": ":System.Object",
|
|
10399
|
-
"normalizedSignature": "Current|:System.Object|static=false|accessor=get",
|
|
10400
|
-
"emitScope": "ViewOnly",
|
|
10401
|
-
"provenance": "ExplicitView",
|
|
10402
|
-
"isIndexer": false,
|
|
10403
|
-
"hasGetter": true,
|
|
10404
|
-
"hasSetter": false,
|
|
10405
|
-
"isStatic": false,
|
|
10406
|
-
"isAbstract": false,
|
|
10407
|
-
"isVirtual": true,
|
|
10408
|
-
"isOverride": false,
|
|
10409
|
-
"visibility": "Public",
|
|
10410
|
-
"sourceInterface": "System.Collections.IEnumerator",
|
|
10411
|
-
"declaringClrType": "System.Collections.IEnumerator",
|
|
10412
|
-
"declaringAssemblyName": "System.Private.CoreLib"
|
|
10413
10351
|
}
|
|
10414
10352
|
],
|
|
10415
10353
|
"fields": [],
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Security.Cryptography.X509Certificates
|
|
3
3
|
// Assembly: System.Security.Cryptography
|
|
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 { SafeX509ChainHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -299,11 +297,11 @@ export const CertificateRequest: {
|
|
|
299
297
|
new(subjectName: string, key: CompositeMLDsa): CertificateRequest;
|
|
300
298
|
new(subjectName: X500DistinguishedName, key: CompositeMLDsa): CertificateRequest;
|
|
301
299
|
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName): CertificateRequest;
|
|
302
|
-
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding): CertificateRequest;
|
|
303
|
-
LoadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
304
|
-
LoadSigningRequest(pkcs10: ReadOnlySpan_1<System_Internal.Byte>, signerHashAlgorithm: HashAlgorithmName, bytesConsumed: int, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
305
|
-
LoadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<System_Internal.Char>, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
306
|
-
LoadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
300
|
+
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding | null): CertificateRequest;
|
|
301
|
+
LoadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | null): CertificateRequest;
|
|
302
|
+
LoadSigningRequest(pkcs10: ReadOnlySpan_1<System_Internal.Byte>, signerHashAlgorithm: HashAlgorithmName, bytesConsumed: int, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | null): CertificateRequest;
|
|
303
|
+
LoadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<System_Internal.Char>, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | null): CertificateRequest;
|
|
304
|
+
LoadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding | null): CertificateRequest;
|
|
307
305
|
};
|
|
308
306
|
|
|
309
307
|
|
|
@@ -315,7 +313,7 @@ export interface CertificateRevocationListBuilder$instance {
|
|
|
315
313
|
AddEntry(certificate: X509Certificate2, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
316
314
|
AddEntry(serialNumber: byte[], revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
317
315
|
AddEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
318
|
-
Build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
316
|
+
Build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding | null, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
319
317
|
Build(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, authorityKeyIdentifier: X509AuthorityKeyIdentifierExtension, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
320
318
|
RemoveEntry(serialNumber: byte[]): boolean;
|
|
321
319
|
RemoveEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
@@ -393,24 +391,24 @@ export interface PublicKey$instance {
|
|
|
393
391
|
readonly __tsonic_type_System_Security_Cryptography_X509Certificates_PublicKey: never;
|
|
394
392
|
|
|
395
393
|
readonly EncodedKeyValue: AsnEncodedData;
|
|
396
|
-
readonly EncodedParameters: AsnEncodedData |
|
|
394
|
+
readonly EncodedParameters: AsnEncodedData | null;
|
|
397
395
|
readonly Key: AsymmetricAlgorithm;
|
|
398
396
|
readonly Oid: Oid;
|
|
399
397
|
ExportSubjectPublicKeyInfo(): byte[];
|
|
400
|
-
GetCompositeMLDsaPublicKey(): CompositeMLDsa |
|
|
401
|
-
GetDSAPublicKey(): DSA |
|
|
402
|
-
GetECDiffieHellmanPublicKey(): ECDiffieHellman |
|
|
403
|
-
GetECDsaPublicKey(): ECDsa |
|
|
404
|
-
GetMLDsaPublicKey(): MLDsa |
|
|
405
|
-
GetMLKemPublicKey(): MLKem |
|
|
406
|
-
GetRSAPublicKey(): RSA |
|
|
407
|
-
GetSlhDsaPublicKey(): SlhDsa |
|
|
398
|
+
GetCompositeMLDsaPublicKey(): CompositeMLDsa | null;
|
|
399
|
+
GetDSAPublicKey(): DSA | null;
|
|
400
|
+
GetECDiffieHellmanPublicKey(): ECDiffieHellman | null;
|
|
401
|
+
GetECDsaPublicKey(): ECDsa | null;
|
|
402
|
+
GetMLDsaPublicKey(): MLDsa | null;
|
|
403
|
+
GetMLKemPublicKey(): MLKem | null;
|
|
404
|
+
GetRSAPublicKey(): RSA | null;
|
|
405
|
+
GetSlhDsaPublicKey(): SlhDsa | null;
|
|
408
406
|
TryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
409
407
|
}
|
|
410
408
|
|
|
411
409
|
|
|
412
410
|
export const PublicKey: {
|
|
413
|
-
new(oid: Oid, parameters: AsnEncodedData, keyValue: AsnEncodedData): PublicKey;
|
|
411
|
+
new(oid: Oid, parameters: AsnEncodedData | null, keyValue: AsnEncodedData): PublicKey;
|
|
414
412
|
new(key: AsymmetricAlgorithm): PublicKey;
|
|
415
413
|
new(key: MLKem): PublicKey;
|
|
416
414
|
new(key: MLDsa): PublicKey;
|
|
@@ -493,7 +491,7 @@ export interface X500RelativeDistinguishedName$instance {
|
|
|
493
491
|
readonly HasMultipleElements: boolean;
|
|
494
492
|
readonly RawData: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
495
493
|
GetSingleElementType(): Oid;
|
|
496
|
-
GetSingleElementValue(): string |
|
|
494
|
+
GetSingleElementValue(): string | null;
|
|
497
495
|
}
|
|
498
496
|
|
|
499
497
|
|
|
@@ -518,7 +516,7 @@ export const X509AuthorityInformationAccessExtension: {
|
|
|
518
516
|
new(): X509AuthorityInformationAccessExtension;
|
|
519
517
|
new(rawData: byte[], critical: boolean): X509AuthorityInformationAccessExtension;
|
|
520
518
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityInformationAccessExtension;
|
|
521
|
-
new(ocspUris: IEnumerable_1<System_Internal.String
|
|
519
|
+
new(ocspUris: IEnumerable_1<System_Internal.String> | null, caIssuersUris: IEnumerable_1<System_Internal.String> | null, critical: boolean): X509AuthorityInformationAccessExtension;
|
|
522
520
|
};
|
|
523
521
|
|
|
524
522
|
|
|
@@ -528,7 +526,7 @@ export interface X509AuthorityKeyIdentifierExtension$instance extends X509Extens
|
|
|
528
526
|
readonly __tsonic_type_System_Security_Cryptography_X509Certificates_X509AuthorityKeyIdentifierExtension: never;
|
|
529
527
|
|
|
530
528
|
readonly KeyIdentifier: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
531
|
-
readonly NamedIssuer: X500DistinguishedName |
|
|
529
|
+
readonly NamedIssuer: X500DistinguishedName | null;
|
|
532
530
|
readonly RawIssuer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
533
531
|
readonly SerialNumber: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
534
532
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
@@ -586,13 +584,13 @@ export interface X509Certificate$instance extends System_Runtime_Serialization_I
|
|
|
586
584
|
readonly Subject: string;
|
|
587
585
|
Dispose(): void;
|
|
588
586
|
Dispose(disposing: boolean): void;
|
|
589
|
-
Equals(obj:
|
|
590
|
-
Equals(other: X509Certificate): boolean;
|
|
587
|
+
Equals(obj: JsValue | null): boolean;
|
|
588
|
+
Equals(other: X509Certificate | null): boolean;
|
|
591
589
|
Export(contentType: X509ContentType): byte[];
|
|
592
|
-
Export(contentType: X509ContentType, password: string): byte[];
|
|
593
|
-
Export(contentType: X509ContentType, password: SecureString): byte[];
|
|
594
|
-
ExportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string): byte[];
|
|
595
|
-
ExportPkcs12(exportParameters: PbeParameters, password: string): byte[];
|
|
590
|
+
Export(contentType: X509ContentType, password: string | null): byte[];
|
|
591
|
+
Export(contentType: X509ContentType, password: SecureString | null): byte[];
|
|
592
|
+
ExportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string | null): byte[];
|
|
593
|
+
ExportPkcs12(exportParameters: PbeParameters, password: string | null): byte[];
|
|
596
594
|
GetCertHash(): byte[];
|
|
597
595
|
GetCertHash(hashAlgorithm: HashAlgorithmName): byte[];
|
|
598
596
|
GetCertHashString(): string;
|
|
@@ -603,8 +601,8 @@ export interface X509Certificate$instance extends System_Runtime_Serialization_I
|
|
|
603
601
|
GetHashCode(): int;
|
|
604
602
|
GetIssuerName(): string;
|
|
605
603
|
GetKeyAlgorithm(): string;
|
|
606
|
-
GetKeyAlgorithmParameters(): byte[] |
|
|
607
|
-
GetKeyAlgorithmParametersString(): string |
|
|
604
|
+
GetKeyAlgorithmParameters(): byte[] | null;
|
|
605
|
+
GetKeyAlgorithmParametersString(): string | null;
|
|
608
606
|
GetName(): string;
|
|
609
607
|
GetPublicKey(): byte[];
|
|
610
608
|
GetPublicKeyString(): string;
|
|
@@ -613,11 +611,11 @@ export interface X509Certificate$instance extends System_Runtime_Serialization_I
|
|
|
613
611
|
GetSerialNumber(): byte[];
|
|
614
612
|
GetSerialNumberString(): string;
|
|
615
613
|
Import(rawData: byte[]): void;
|
|
616
|
-
Import(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
617
|
-
Import(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
614
|
+
Import(rawData: byte[], password: string | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
615
|
+
Import(rawData: byte[], password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
618
616
|
Import(fileName: string): void;
|
|
619
|
-
Import(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
620
|
-
Import(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
617
|
+
Import(fileName: string, password: string | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
618
|
+
Import(fileName: string, password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
621
619
|
Reset(): void;
|
|
622
620
|
ToString(): string;
|
|
623
621
|
ToString(fVerbose: boolean): string;
|
|
@@ -628,16 +626,16 @@ export interface X509Certificate$instance extends System_Runtime_Serialization_I
|
|
|
628
626
|
export const X509Certificate: {
|
|
629
627
|
new(): X509Certificate;
|
|
630
628
|
new(data: byte[]): X509Certificate;
|
|
631
|
-
new(rawData: byte[], password: string): X509Certificate;
|
|
632
|
-
new(rawData: byte[], password: SecureString): X509Certificate;
|
|
633
|
-
new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
634
|
-
new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
629
|
+
new(rawData: byte[], password: string | null): X509Certificate;
|
|
630
|
+
new(rawData: byte[], password: SecureString | null): X509Certificate;
|
|
631
|
+
new(rawData: byte[], password: string | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
632
|
+
new(rawData: byte[], password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
635
633
|
new(handle: nint): X509Certificate;
|
|
636
634
|
new(fileName: string): X509Certificate;
|
|
637
|
-
new(fileName: string, password: string): X509Certificate;
|
|
638
|
-
new(fileName: string, password: SecureString): X509Certificate;
|
|
639
|
-
new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
640
|
-
new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
635
|
+
new(fileName: string, password: string | null): X509Certificate;
|
|
636
|
+
new(fileName: string, password: SecureString | null): X509Certificate;
|
|
637
|
+
new(fileName: string, password: string | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
638
|
+
new(fileName: string, password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate;
|
|
641
639
|
new(cert: X509Certificate): X509Certificate;
|
|
642
640
|
new(info: SerializationInfo, context: StreamingContext): X509Certificate;
|
|
643
641
|
CreateFromCertFile(filename: string): X509Certificate;
|
|
@@ -669,8 +667,8 @@ export interface X509Certificate2$instance extends X509Certificate$instance, Sys
|
|
|
669
667
|
readonly IssuerName: X500DistinguishedName;
|
|
670
668
|
readonly NotAfter: DateTime;
|
|
671
669
|
readonly NotBefore: DateTime;
|
|
672
|
-
get PrivateKey(): AsymmetricAlgorithm |
|
|
673
|
-
set PrivateKey(value: AsymmetricAlgorithm |
|
|
670
|
+
get PrivateKey(): AsymmetricAlgorithm | null;
|
|
671
|
+
set PrivateKey(value: AsymmetricAlgorithm | null);
|
|
674
672
|
readonly PublicKey: PublicKey;
|
|
675
673
|
readonly RawData: byte[];
|
|
676
674
|
readonly RawDataMemory: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
@@ -685,23 +683,23 @@ export interface X509Certificate2$instance extends X509Certificate$instance, Sys
|
|
|
685
683
|
CopyWithPrivateKey(privateKey: SlhDsa): X509Certificate2;
|
|
686
684
|
CopyWithPrivateKey(privateKey: CompositeMLDsa): X509Certificate2;
|
|
687
685
|
ExportCertificatePem(): string;
|
|
688
|
-
GetCompositeMLDsaPrivateKey(): CompositeMLDsa |
|
|
689
|
-
GetCompositeMLDsaPublicKey(): CompositeMLDsa |
|
|
690
|
-
GetECDiffieHellmanPrivateKey(): ECDiffieHellman |
|
|
691
|
-
GetECDiffieHellmanPublicKey(): ECDiffieHellman |
|
|
692
|
-
GetMLDsaPrivateKey(): MLDsa |
|
|
693
|
-
GetMLDsaPublicKey(): MLDsa |
|
|
694
|
-
GetMLKemPrivateKey(): MLKem |
|
|
695
|
-
GetMLKemPublicKey(): MLKem |
|
|
686
|
+
GetCompositeMLDsaPrivateKey(): CompositeMLDsa | null;
|
|
687
|
+
GetCompositeMLDsaPublicKey(): CompositeMLDsa | null;
|
|
688
|
+
GetECDiffieHellmanPrivateKey(): ECDiffieHellman | null;
|
|
689
|
+
GetECDiffieHellmanPublicKey(): ECDiffieHellman | null;
|
|
690
|
+
GetMLDsaPrivateKey(): MLDsa | null;
|
|
691
|
+
GetMLDsaPublicKey(): MLDsa | null;
|
|
692
|
+
GetMLKemPrivateKey(): MLKem | null;
|
|
693
|
+
GetMLKemPublicKey(): MLKem | null;
|
|
696
694
|
GetNameInfo(nameType: X509NameType, forIssuer: boolean): string;
|
|
697
|
-
GetSlhDsaPrivateKey(): SlhDsa |
|
|
698
|
-
GetSlhDsaPublicKey(): SlhDsa |
|
|
695
|
+
GetSlhDsaPrivateKey(): SlhDsa | null;
|
|
696
|
+
GetSlhDsaPublicKey(): SlhDsa | null;
|
|
699
697
|
Import(rawData: byte[]): void;
|
|
700
|
-
Import(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
701
|
-
Import(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
698
|
+
Import(rawData: byte[], password: string | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
699
|
+
Import(rawData: byte[], password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
702
700
|
Import(fileName: string): void;
|
|
703
|
-
Import(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): void;
|
|
704
|
-
Import(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): void;
|
|
701
|
+
Import(fileName: string, password: string | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
702
|
+
Import(fileName: string, password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): void;
|
|
705
703
|
MatchesHostname(hostname: string, allowWildcards?: boolean, allowCommonName?: boolean): boolean;
|
|
706
704
|
Reset(): void;
|
|
707
705
|
ToString(): string;
|
|
@@ -714,25 +712,25 @@ export interface X509Certificate2$instance extends X509Certificate$instance, Sys
|
|
|
714
712
|
export const X509Certificate2: {
|
|
715
713
|
new(): X509Certificate2;
|
|
716
714
|
new(rawData: byte[]): X509Certificate2;
|
|
717
|
-
new(rawData: byte[], password: string): X509Certificate2;
|
|
718
|
-
new(rawData: byte[], password: SecureString): X509Certificate2;
|
|
719
|
-
new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
720
|
-
new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
715
|
+
new(rawData: byte[], password: string | null): X509Certificate2;
|
|
716
|
+
new(rawData: byte[], password: SecureString | null): X509Certificate2;
|
|
717
|
+
new(rawData: byte[], password: string | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
718
|
+
new(rawData: byte[], password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
721
719
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
722
720
|
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
723
721
|
new(handle: nint): X509Certificate2;
|
|
724
722
|
new(fileName: string): X509Certificate2;
|
|
725
|
-
new(fileName: string, password: string): X509Certificate2;
|
|
726
|
-
new(fileName: string, password: SecureString): X509Certificate2;
|
|
727
|
-
new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
728
|
-
new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
723
|
+
new(fileName: string, password: string | null): X509Certificate2;
|
|
724
|
+
new(fileName: string, password: SecureString | null): X509Certificate2;
|
|
725
|
+
new(fileName: string, password: string | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
726
|
+
new(fileName: string, password: SecureString | null, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
729
727
|
new(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2;
|
|
730
728
|
new(certificate: X509Certificate): X509Certificate2;
|
|
731
729
|
CreateFromEncryptedPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>, password: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
732
|
-
CreateFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<System_Internal.Char>, keyPemFilePath?: string): X509Certificate2;
|
|
730
|
+
CreateFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<System_Internal.Char>, keyPemFilePath?: string | null): X509Certificate2;
|
|
733
731
|
CreateFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
734
732
|
CreateFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
735
|
-
CreateFromPemFile(certPemFilePath: string, keyPemFilePath?: string): X509Certificate2;
|
|
733
|
+
CreateFromPemFile(certPemFilePath: string, keyPemFilePath?: string | null): X509Certificate2;
|
|
736
734
|
GetCertContentType(rawData: byte[]): X509ContentType;
|
|
737
735
|
GetCertContentType(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509ContentType;
|
|
738
736
|
GetCertContentType(fileName: string): X509ContentType;
|
|
@@ -764,13 +762,13 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
|
|
|
764
762
|
AddRange(value: X509CertificateCollection): void;
|
|
765
763
|
Contains(certificate: X509Certificate2): boolean;
|
|
766
764
|
Contains(value: X509Certificate): boolean;
|
|
767
|
-
Export(contentType: X509ContentType): byte[] |
|
|
768
|
-
Export(contentType: X509ContentType, password: string): byte[] |
|
|
765
|
+
Export(contentType: X509ContentType): byte[] | null;
|
|
766
|
+
Export(contentType: X509ContentType, password: string | null): byte[] | null;
|
|
769
767
|
ExportCertificatePems(): string;
|
|
770
|
-
ExportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string): byte[];
|
|
771
|
-
ExportPkcs12(exportParameters: PbeParameters, password: string): byte[];
|
|
768
|
+
ExportPkcs12(exportParameters: Pkcs12ExportPbeParameters, password: string | null): byte[];
|
|
769
|
+
ExportPkcs12(exportParameters: PbeParameters, password: string | null): byte[];
|
|
772
770
|
ExportPkcs7Pem(): string;
|
|
773
|
-
Find(findType: X509FindType, findValue:
|
|
771
|
+
Find(findType: X509FindType, findValue: JsValue, validOnly: boolean): X509Certificate2Collection;
|
|
774
772
|
FindByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: string): X509Certificate2Collection;
|
|
775
773
|
FindByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2Collection;
|
|
776
774
|
FindByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintBytes: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2Collection;
|
|
@@ -779,11 +777,11 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
|
|
|
779
777
|
GetEnumerator(): IEnumerator;
|
|
780
778
|
Import(rawData: byte[]): void;
|
|
781
779
|
Import(rawData: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
782
|
-
Import(rawData: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
783
|
-
Import(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
780
|
+
Import(rawData: byte[], password: string | null, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
781
|
+
Import(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string | null, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
784
782
|
Import(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
785
783
|
Import(fileName: string): void;
|
|
786
|
-
Import(fileName: string, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
784
|
+
Import(fileName: string, password: string | null, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
787
785
|
Import(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
788
786
|
ImportFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
789
787
|
ImportFromPemFile(certPemFilePath: string): void;
|
|
@@ -859,7 +857,7 @@ export interface X509CertificateCollection$instance extends CollectionBase {
|
|
|
859
857
|
GetHashCode(): int;
|
|
860
858
|
IndexOf(value: X509Certificate): int;
|
|
861
859
|
Insert(index: int, value: X509Certificate): void;
|
|
862
|
-
OnValidate(value:
|
|
860
|
+
OnValidate(value: JsValue): void;
|
|
863
861
|
Remove(value: X509Certificate): void;
|
|
864
862
|
}
|
|
865
863
|
|
|
@@ -880,7 +878,7 @@ export interface __X509CertificateCollection$views {
|
|
|
880
878
|
export type X509CertificateCollection = X509CertificateCollection$instance & __X509CertificateCollection$views & { [index: number]: X509Certificate; };
|
|
881
879
|
|
|
882
880
|
|
|
883
|
-
export interface X509CertificateCollection_X509CertificateEnumerator$instance {
|
|
881
|
+
export interface X509CertificateCollection_X509CertificateEnumerator$instance extends IEnumerator {
|
|
884
882
|
readonly __tsonic_type_System_Security_Cryptography_X509Certificates_X509CertificateCollection_X509CertificateEnumerator: never;
|
|
885
883
|
|
|
886
884
|
readonly __tsonic_iface_System_Collections_IEnumerator: never;
|
|
@@ -896,12 +894,7 @@ export const X509CertificateCollection_X509CertificateEnumerator: {
|
|
|
896
894
|
};
|
|
897
895
|
|
|
898
896
|
|
|
899
|
-
export
|
|
900
|
-
As_IEnumerator(): System_Collections_Internal.IEnumerator$instance;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
export type X509CertificateCollection_X509CertificateEnumerator = X509CertificateCollection_X509CertificateEnumerator$instance & __X509CertificateCollection_X509CertificateEnumerator$views;
|
|
904
|
-
|
|
897
|
+
export type X509CertificateCollection_X509CertificateEnumerator = X509CertificateCollection_X509CertificateEnumerator$instance;
|
|
905
898
|
|
|
906
899
|
export interface X509Chain$instance {
|
|
907
900
|
readonly __tsonic_type_System_Security_Cryptography_X509Certificates_X509Chain: never;
|
|
@@ -912,7 +905,7 @@ export interface X509Chain$instance {
|
|
|
912
905
|
readonly ChainElements: X509ChainElementCollection;
|
|
913
906
|
ChainPolicy: X509ChainPolicy;
|
|
914
907
|
readonly ChainStatus: X509ChainStatus[];
|
|
915
|
-
readonly SafeHandle: SafeX509ChainHandle |
|
|
908
|
+
readonly SafeHandle: SafeX509ChainHandle | null;
|
|
916
909
|
Build(certificate: X509Certificate2): boolean;
|
|
917
910
|
Dispose(): void;
|
|
918
911
|
Dispose(disposing: boolean): void;
|
|
@@ -959,7 +952,7 @@ export interface X509ChainElementCollection$instance {
|
|
|
959
952
|
|
|
960
953
|
readonly Count: int;
|
|
961
954
|
readonly IsSynchronized: boolean;
|
|
962
|
-
readonly SyncRoot:
|
|
955
|
+
readonly SyncRoot: JsValue;
|
|
963
956
|
CopyTo(array: X509ChainElement[], index: int): void;
|
|
964
957
|
GetEnumerator(): X509ChainElementEnumerator;
|
|
965
958
|
}
|
|
@@ -1076,11 +1069,11 @@ export interface X509ExtensionCollection$instance {
|
|
|
1076
1069
|
|
|
1077
1070
|
readonly Count: int;
|
|
1078
1071
|
readonly IsSynchronized: boolean;
|
|
1079
|
-
readonly SyncRoot:
|
|
1072
|
+
readonly SyncRoot: JsValue;
|
|
1080
1073
|
Add(extension: X509Extension): int;
|
|
1081
1074
|
CopyTo(array: X509Extension[], index: int): void;
|
|
1082
1075
|
get_Item(index: int): X509Extension;
|
|
1083
|
-
get_Item(oid: string): X509Extension |
|
|
1076
|
+
get_Item(oid: string): X509Extension | null;
|
|
1084
1077
|
GetEnumerator(): X509ExtensionEnumerator;
|
|
1085
1078
|
}
|
|
1086
1079
|
|
|
@@ -1171,7 +1164,7 @@ export interface X509Store$instance extends System_Internal.IDisposable$instance
|
|
|
1171
1164
|
readonly Certificates: X509Certificate2Collection;
|
|
1172
1165
|
readonly IsOpen: boolean;
|
|
1173
1166
|
readonly Location: StoreLocation;
|
|
1174
|
-
readonly Name: string |
|
|
1167
|
+
readonly Name: string | null;
|
|
1175
1168
|
readonly StoreHandle: nint;
|
|
1176
1169
|
Add(certificate: X509Certificate2): void;
|
|
1177
1170
|
AddRange(certificates: X509Certificate2Collection): void;
|
|
@@ -1224,7 +1217,7 @@ export type X509SubjectAlternativeNameExtension = X509SubjectAlternativeNameExte
|
|
|
1224
1217
|
export interface X509SubjectKeyIdentifierExtension$instance extends X509Extension {
|
|
1225
1218
|
readonly __tsonic_type_System_Security_Cryptography_X509Certificates_X509SubjectKeyIdentifierExtension: never;
|
|
1226
1219
|
|
|
1227
|
-
readonly SubjectKeyIdentifier: string |
|
|
1220
|
+
readonly SubjectKeyIdentifier: string | null;
|
|
1228
1221
|
readonly SubjectKeyIdentifierBytes: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
1229
1222
|
CopyFrom(asnEncodedData: AsnEncodedData): void;
|
|
1230
1223
|
}
|
|
@@ -1245,8 +1238,8 @@ export type X509SubjectKeyIdentifierExtension = X509SubjectKeyIdentifierExtensio
|
|
|
1245
1238
|
|
|
1246
1239
|
export abstract class DSACertificateExtensions$instance {
|
|
1247
1240
|
static CopyWithPrivateKey(certificate: X509Certificate2, privateKey: DSA): X509Certificate2;
|
|
1248
|
-
static GetDSAPrivateKey(certificate: X509Certificate2): DSA |
|
|
1249
|
-
static GetDSAPublicKey(certificate: X509Certificate2): DSA |
|
|
1241
|
+
static GetDSAPrivateKey(certificate: X509Certificate2): DSA | null;
|
|
1242
|
+
static GetDSAPublicKey(certificate: X509Certificate2): DSA | null;
|
|
1250
1243
|
}
|
|
1251
1244
|
|
|
1252
1245
|
|
|
@@ -1254,8 +1247,8 @@ export type DSACertificateExtensions = DSACertificateExtensions$instance;
|
|
|
1254
1247
|
|
|
1255
1248
|
export abstract class ECDsaCertificateExtensions$instance {
|
|
1256
1249
|
static CopyWithPrivateKey(certificate: X509Certificate2, privateKey: ECDsa): X509Certificate2;
|
|
1257
|
-
static GetECDsaPrivateKey(certificate: X509Certificate2): ECDsa |
|
|
1258
|
-
static GetECDsaPublicKey(certificate: X509Certificate2): ECDsa |
|
|
1250
|
+
static GetECDsaPrivateKey(certificate: X509Certificate2): ECDsa | null;
|
|
1251
|
+
static GetECDsaPublicKey(certificate: X509Certificate2): ECDsa | null;
|
|
1259
1252
|
}
|
|
1260
1253
|
|
|
1261
1254
|
|
|
@@ -1263,8 +1256,8 @@ export type ECDsaCertificateExtensions = ECDsaCertificateExtensions$instance;
|
|
|
1263
1256
|
|
|
1264
1257
|
export abstract class RSACertificateExtensions$instance {
|
|
1265
1258
|
static CopyWithPrivateKey(certificate: X509Certificate2, privateKey: RSA): X509Certificate2;
|
|
1266
|
-
static GetRSAPrivateKey(certificate: X509Certificate2): RSA |
|
|
1267
|
-
static GetRSAPublicKey(certificate: X509Certificate2): RSA |
|
|
1259
|
+
static GetRSAPrivateKey(certificate: X509Certificate2): RSA | null;
|
|
1260
|
+
static GetRSAPublicKey(certificate: X509Certificate2): RSA | null;
|
|
1268
1261
|
}
|
|
1269
1262
|
|
|
1270
1263
|
|
|
@@ -1274,14 +1267,14 @@ export abstract class X509CertificateLoader$instance {
|
|
|
1274
1267
|
static LoadCertificate(data: byte[]): X509Certificate2;
|
|
1275
1268
|
static LoadCertificate(data: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
1276
1269
|
static LoadCertificateFromFile(path: string): X509Certificate2;
|
|
1277
|
-
static LoadPkcs12(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1278
|
-
static LoadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1279
|
-
static LoadPkcs12Collection(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1280
|
-
static LoadPkcs12Collection(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1281
|
-
static LoadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1282
|
-
static LoadPkcs12CollectionFromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1283
|
-
static LoadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1284
|
-
static LoadPkcs12FromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1270
|
+
static LoadPkcs12(data: byte[], password: string | null, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2;
|
|
1271
|
+
static LoadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2;
|
|
1272
|
+
static LoadPkcs12Collection(data: byte[], password: string | null, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2Collection;
|
|
1273
|
+
static LoadPkcs12Collection(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2Collection;
|
|
1274
|
+
static LoadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2Collection;
|
|
1275
|
+
static LoadPkcs12CollectionFromFile(path: string, password: string | null, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2Collection;
|
|
1276
|
+
static LoadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2;
|
|
1277
|
+
static LoadPkcs12FromFile(path: string, password: string | null, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits | null): X509Certificate2;
|
|
1285
1278
|
}
|
|
1286
1279
|
|
|
1287
1280
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Security.Permissions
|
|
3
3
|
// Assembly: System.Private.CoreLib
|
|
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
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import type { IPermission } from "../../System.Security/internal/index.js";
|
|
@@ -66,7 +67,7 @@ export interface SecurityAttribute$instance extends Attribute {
|
|
|
66
67
|
|
|
67
68
|
Action: SecurityAction;
|
|
68
69
|
Unrestricted: boolean;
|
|
69
|
-
CreatePermission(): IPermission |
|
|
70
|
+
CreatePermission(): IPermission | null;
|
|
70
71
|
}
|
|
71
72
|
|
|
72
73
|
|
|
@@ -94,7 +95,7 @@ export interface SecurityPermissionAttribute$instance extends CodeAccessSecurity
|
|
|
94
95
|
SerializationFormatter: boolean;
|
|
95
96
|
SkipVerification: boolean;
|
|
96
97
|
UnmanagedCode: boolean;
|
|
97
|
-
CreatePermission(): IPermission |
|
|
98
|
+
CreatePermission(): IPermission | null;
|
|
98
99
|
}
|
|
99
100
|
|
|
100
101
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
// Namespace: System.Security.Policy
|
|
3
3
|
// Assembly: System.Security.AccessControl
|
|
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
|
|
|
8
9
|
// Import types from other namespaces
|
|
9
10
|
import * as System_Collections_Internal from "../../System.Collections/internal/index.js";
|
|
@@ -21,19 +22,19 @@ export interface Evidence$instance {
|
|
|
21
22
|
readonly IsReadOnly: boolean;
|
|
22
23
|
readonly IsSynchronized: boolean;
|
|
23
24
|
Locked: boolean;
|
|
24
|
-
readonly SyncRoot:
|
|
25
|
-
AddAssembly(id:
|
|
25
|
+
readonly SyncRoot: JsValue;
|
|
26
|
+
AddAssembly(id: JsValue): void;
|
|
26
27
|
AddAssemblyEvidence<T extends EvidenceBase>(evidence: T): void;
|
|
27
|
-
AddHost(id:
|
|
28
|
+
AddHost(id: JsValue): void;
|
|
28
29
|
AddHostEvidence<T extends EvidenceBase>(evidence: T): void;
|
|
29
30
|
Clear(): void;
|
|
30
|
-
Clone(): Evidence |
|
|
31
|
+
Clone(): Evidence | null;
|
|
31
32
|
CopyTo(array: ClrArray, index: int): void;
|
|
32
33
|
GetAssemblyEnumerator(): IEnumerator;
|
|
33
|
-
GetAssemblyEvidence<T extends EvidenceBase>(): T |
|
|
34
|
+
GetAssemblyEvidence<T extends EvidenceBase>(): T | null;
|
|
34
35
|
GetEnumerator(): IEnumerator;
|
|
35
36
|
GetHostEnumerator(): IEnumerator;
|
|
36
|
-
GetHostEvidence<T extends EvidenceBase>(): T |
|
|
37
|
+
GetHostEvidence<T extends EvidenceBase>(): T | null;
|
|
37
38
|
Merge(evidence: Evidence): void;
|
|
38
39
|
RemoveType(t: Type): void;
|
|
39
40
|
}
|
|
@@ -41,7 +42,7 @@ export interface Evidence$instance {
|
|
|
41
42
|
|
|
42
43
|
export const Evidence: {
|
|
43
44
|
new(): Evidence;
|
|
44
|
-
new(hostEvidence:
|
|
45
|
+
new(hostEvidence: JsValue[], assemblyEvidence: JsValue[]): Evidence;
|
|
45
46
|
new(evidence: Evidence): Evidence;
|
|
46
47
|
new(hostEvidence: EvidenceBase[], assemblyEvidence: EvidenceBase[]): Evidence;
|
|
47
48
|
};
|
|
@@ -58,7 +59,7 @@ export type Evidence = Evidence$instance & __Evidence$views;
|
|
|
58
59
|
export interface EvidenceBase$instance {
|
|
59
60
|
readonly __tsonic_type_System_Security_Policy_EvidenceBase: never;
|
|
60
61
|
|
|
61
|
-
Clone(): EvidenceBase |
|
|
62
|
+
Clone(): EvidenceBase | null;
|
|
62
63
|
}
|
|
63
64
|
|
|
64
65
|
|