@tsonic/dotnet 0.7.4 → 0.7.7
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 +0 -25
- package/Microsoft.CSharp.RuntimeBinder/internal/index.d.ts +0 -25
- package/Microsoft.VisualBasic/bindings.json +203 -29
- package/Microsoft.VisualBasic/internal/index.d.ts +30 -55
- package/Microsoft.VisualBasic/internal/metadata.json +203 -29
- package/Microsoft.VisualBasic.CompilerServices/bindings.json +25 -3
- package/Microsoft.VisualBasic.CompilerServices/internal/index.d.ts +4 -29
- package/Microsoft.VisualBasic.CompilerServices/internal/metadata.json +25 -3
- package/Microsoft.VisualBasic.FileIO/internal/index.d.ts +6 -31
- package/Microsoft.Win32/internal/index.d.ts +0 -25
- package/Microsoft.Win32.SafeHandles/internal/index.d.ts +0 -25
- package/System/bindings.json +4800 -552
- package/System/internal/index.d.ts +2537 -395
- package/System/internal/metadata.json +4800 -552
- package/System.Buffers/bindings.json +196 -24
- package/System.Buffers/internal/index.d.ts +29 -54
- package/System.Buffers/internal/metadata.json +196 -24
- package/System.Buffers.Binary/bindings.json +182 -26
- package/System.Buffers.Binary/internal/index.d.ts +115 -140
- package/System.Buffers.Binary/internal/metadata.json +182 -26
- package/System.Buffers.Text/bindings.json +431 -49
- package/System.Buffers.Text/internal/index.d.ts +64 -89
- package/System.Buffers.Text/internal/metadata.json +431 -49
- package/System.CodeDom.Compiler/internal/index.d.ts +6 -31
- package/System.Collections/bindings.json +11 -1
- package/System.Collections/internal/index.d.ts +2 -27
- package/System.Collections/internal/metadata.json +11 -1
- package/System.Collections.Concurrent/bindings.json +211 -29
- package/System.Collections.Concurrent/internal/index.d.ts +31 -56
- package/System.Collections.Concurrent/internal/metadata.json +211 -29
- package/System.Collections.Frozen/bindings.json +56 -8
- package/System.Collections.Frozen/internal/index.d.ts +9 -34
- package/System.Collections.Frozen/internal/metadata.json +56 -8
- package/System.Collections.Generic/bindings.json +273 -35
- package/System.Collections.Generic/internal/index.d.ts +36 -61
- package/System.Collections.Generic/internal/metadata.json +273 -35
- package/System.Collections.Immutable/bindings.json +362 -50
- package/System.Collections.Immutable/internal/index.d.ts +49 -74
- package/System.Collections.Immutable/internal/metadata.json +362 -50
- package/System.Collections.ObjectModel/bindings.json +28 -4
- package/System.Collections.ObjectModel/internal/index.d.ts +3 -28
- package/System.Collections.ObjectModel/internal/metadata.json +28 -4
- package/System.Collections.Specialized/internal/index.d.ts +0 -25
- package/System.ComponentModel/bindings.json +174 -18
- package/System.ComponentModel/internal/index.d.ts +22 -47
- package/System.ComponentModel/internal/metadata.json +174 -18
- package/System.ComponentModel.DataAnnotations/internal/index.d.ts +9 -34
- package/System.ComponentModel.DataAnnotations.Schema/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design/internal/index.d.ts +0 -25
- package/System.ComponentModel.Design.Serialization/internal/index.d.ts +0 -25
- package/System.Configuration.Assemblies/internal/index.d.ts +0 -25
- package/System.Data/internal/index.d.ts +7 -32
- package/System.Data.Common/bindings.json +14 -2
- package/System.Data.Common/internal/index.d.ts +27 -52
- package/System.Data.Common/internal/metadata.json +14 -2
- package/System.Data.SqlTypes/internal/index.d.ts +1 -26
- package/System.Diagnostics/bindings.json +181 -23
- package/System.Diagnostics/internal/index.d.ts +87 -112
- package/System.Diagnostics/internal/metadata.json +181 -23
- package/System.Diagnostics.CodeAnalysis/internal/index.d.ts +0 -25
- package/System.Diagnostics.Contracts/bindings.json +7 -1
- package/System.Diagnostics.Contracts/internal/index.d.ts +4 -29
- package/System.Diagnostics.Contracts/internal/metadata.json +7 -1
- package/System.Diagnostics.Metrics/bindings.json +35 -5
- package/System.Diagnostics.Metrics/internal/index.d.ts +44 -69
- package/System.Diagnostics.Metrics/internal/metadata.json +35 -5
- package/System.Diagnostics.SymbolStore/internal/index.d.ts +0 -25
- package/System.Diagnostics.Tracing/bindings.json +37 -3
- package/System.Diagnostics.Tracing/internal/index.d.ts +10 -35
- package/System.Diagnostics.Tracing/internal/metadata.json +37 -3
- package/System.Drawing/internal/index.d.ts +0 -25
- package/System.Dynamic/bindings.json +63 -9
- package/System.Dynamic/internal/index.d.ts +17 -42
- package/System.Dynamic/internal/metadata.json +63 -9
- package/System.Formats.Asn1/bindings.json +451 -49
- package/System.Formats.Asn1/internal/index.d.ts +69 -94
- package/System.Formats.Asn1/internal/metadata.json +451 -49
- package/System.Formats.Tar/internal/index.d.ts +4 -29
- package/System.Globalization/bindings.json +28 -4
- package/System.Globalization/internal/index.d.ts +18 -43
- package/System.Globalization/internal/metadata.json +28 -4
- package/System.IO/bindings.json +35 -5
- package/System.IO/internal/index.d.ts +197 -222
- package/System.IO/internal/metadata.json +35 -5
- package/System.IO.Compression/bindings.json +50 -6
- package/System.IO.Compression/internal/index.d.ts +51 -76
- package/System.IO.Compression/internal/metadata.json +50 -6
- package/System.IO.Enumeration/bindings.json +42 -6
- package/System.IO.Enumeration/internal/index.d.ts +11 -36
- package/System.IO.Enumeration/internal/metadata.json +42 -6
- package/System.IO.IsolatedStorage/internal/index.d.ts +11 -36
- package/System.IO.MemoryMappedFiles/internal/index.d.ts +0 -25
- package/System.IO.Pipelines/bindings.json +7 -1
- package/System.IO.Pipelines/internal/index.d.ts +17 -42
- package/System.IO.Pipelines/internal/metadata.json +7 -1
- package/System.IO.Pipes/internal/index.d.ts +11 -36
- package/System.Linq/bindings.json +7 -1
- package/System.Linq/internal/index.d.ts +332 -357
- package/System.Linq/internal/metadata.json +7 -1
- package/System.Linq.Expressions/bindings.json +14 -2
- package/System.Linq.Expressions/internal/index.d.ts +3 -28
- package/System.Linq.Expressions/internal/metadata.json +14 -2
- package/System.Linq.Expressions.Interpreter/internal/index.d.ts +0 -25
- package/System.Net/bindings.json +175 -25
- package/System.Net/internal/index.d.ts +36 -61
- package/System.Net/internal/metadata.json +175 -25
- package/System.Net.Cache/internal/index.d.ts +0 -25
- package/System.Net.Http/bindings.json +21 -3
- package/System.Net.Http/internal/index.d.ts +21 -46
- package/System.Net.Http/internal/metadata.json +21 -3
- package/System.Net.Http.Headers/bindings.json +154 -22
- package/System.Net.Http.Headers/internal/index.d.ts +67 -92
- package/System.Net.Http.Headers/internal/metadata.json +154 -22
- package/System.Net.Http.Json/internal/index.d.ts +0 -25
- package/System.Net.Http.Metrics/internal/index.d.ts +0 -25
- package/System.Net.Mail/bindings.json +21 -3
- package/System.Net.Mail/internal/index.d.ts +4 -29
- package/System.Net.Mail/internal/metadata.json +21 -3
- package/System.Net.Mime/internal/index.d.ts +0 -25
- package/System.Net.NetworkInformation/bindings.json +14 -2
- package/System.Net.NetworkInformation/internal/index.d.ts +4 -29
- package/System.Net.NetworkInformation/internal/metadata.json +14 -2
- package/System.Net.Quic/internal/index.d.ts +14 -39
- package/System.Net.Security/bindings.json +43 -5
- package/System.Net.Security/internal/index.d.ts +29 -54
- package/System.Net.Security/internal/metadata.json +43 -5
- package/System.Net.ServerSentEvents/internal/index.d.ts +4 -29
- package/System.Net.Sockets/bindings.json +224 -28
- package/System.Net.Sockets/internal/index.d.ts +108 -133
- package/System.Net.Sockets/internal/metadata.json +224 -28
- package/System.Net.WebSockets/internal/index.d.ts +29 -54
- package/System.Numerics/bindings.json +1030 -142
- package/System.Numerics/internal/index.d.ts +264 -289
- package/System.Numerics/internal/metadata.json +1030 -142
- package/System.Reflection/bindings.json +29 -3
- package/System.Reflection/internal/index.d.ts +4 -29
- package/System.Reflection/internal/metadata.json +29 -3
- package/System.Reflection.Emit/bindings.json +26 -2
- package/System.Reflection.Emit/internal/index.d.ts +3 -28
- package/System.Reflection.Emit/internal/metadata.json +26 -2
- package/System.Reflection.Metadata/bindings.json +46 -6
- package/System.Reflection.Metadata/internal/index.d.ts +31 -56
- package/System.Reflection.Metadata/internal/metadata.json +46 -6
- package/System.Reflection.Metadata.Ecma335/bindings.json +126 -14
- package/System.Reflection.Metadata.Ecma335/internal/index.d.ts +24 -49
- package/System.Reflection.Metadata.Ecma335/internal/metadata.json +126 -14
- package/System.Reflection.PortableExecutable/bindings.json +18 -2
- package/System.Reflection.PortableExecutable/internal/index.d.ts +8 -33
- package/System.Reflection.PortableExecutable/internal/metadata.json +18 -2
- package/System.Resources/bindings.json +11 -1
- package/System.Resources/internal/index.d.ts +3 -28
- package/System.Resources/internal/metadata.json +11 -1
- package/System.Runtime/internal/index.d.ts +0 -25
- package/System.Runtime.CompilerServices/bindings.json +495 -57
- package/System.Runtime.CompilerServices/internal/index.d.ts +68 -93
- package/System.Runtime.CompilerServices/internal/metadata.json +495 -57
- package/System.Runtime.ConstrainedExecution/internal/index.d.ts +0 -25
- package/System.Runtime.ExceptionServices/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices/bindings.json +377 -47
- package/System.Runtime.InteropServices/internal/index.d.ts +68 -93
- package/System.Runtime.InteropServices/internal/metadata.json +377 -47
- package/System.Runtime.InteropServices.ComTypes/bindings.json +832 -96
- package/System.Runtime.InteropServices.ComTypes/internal/index.d.ts +107 -132
- package/System.Runtime.InteropServices.ComTypes/internal/metadata.json +832 -96
- package/System.Runtime.InteropServices.Java/internal/index.d.ts +1 -26
- package/System.Runtime.InteropServices.JavaScript/bindings.json +411 -57
- package/System.Runtime.InteropServices.JavaScript/internal/index.d.ts +72 -97
- package/System.Runtime.InteropServices.JavaScript/internal/metadata.json +411 -57
- package/System.Runtime.InteropServices.Marshalling/bindings.json +85 -11
- package/System.Runtime.InteropServices.Marshalling/internal/index.d.ts +26 -51
- package/System.Runtime.InteropServices.Marshalling/internal/metadata.json +85 -11
- package/System.Runtime.InteropServices.ObjectiveC/bindings.json +28 -4
- package/System.Runtime.InteropServices.ObjectiveC/internal/index.d.ts +3 -28
- package/System.Runtime.InteropServices.ObjectiveC/internal/metadata.json +28 -4
- package/System.Runtime.InteropServices.Swift/internal/index.d.ts +1 -26
- package/System.Runtime.Intrinsics/bindings.json +112 -16
- package/System.Runtime.Intrinsics/internal/index.d.ts +800 -825
- package/System.Runtime.Intrinsics/internal/metadata.json +112 -16
- package/System.Runtime.Intrinsics.Arm/internal/index.d.ts +4787 -4812
- package/System.Runtime.Intrinsics.Wasm/internal/index.d.ts +471 -496
- package/System.Runtime.Intrinsics.X86/internal/index.d.ts +3513 -3538
- package/System.Runtime.Loader/internal/index.d.ts +0 -25
- package/System.Runtime.Remoting/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization/bindings.json +71 -9
- package/System.Runtime.Serialization/internal/index.d.ts +9 -34
- package/System.Runtime.Serialization/internal/metadata.json +71 -9
- package/System.Runtime.Serialization.DataContracts/bindings.json +26 -2
- package/System.Runtime.Serialization.DataContracts/internal/index.d.ts +3 -28
- package/System.Runtime.Serialization.DataContracts/internal/metadata.json +26 -2
- package/System.Runtime.Serialization.Formatters/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Formatters.Binary/internal/index.d.ts +0 -25
- package/System.Runtime.Serialization.Json/internal/index.d.ts +0 -25
- package/System.Runtime.Versioning/internal/index.d.ts +0 -25
- package/System.Security/internal/index.d.ts +1 -26
- package/System.Security.AccessControl/bindings.json +14 -2
- package/System.Security.AccessControl/internal/index.d.ts +3 -28
- package/System.Security.AccessControl/internal/metadata.json +14 -2
- package/System.Security.Authentication/internal/index.d.ts +0 -25
- package/System.Security.Authentication.ExtendedProtection/internal/index.d.ts +0 -25
- package/System.Security.Claims/internal/index.d.ts +1 -26
- package/System.Security.Cryptography/bindings.json +1348 -192
- package/System.Security.Cryptography/internal/index.d.ts +593 -618
- package/System.Security.Cryptography/internal/metadata.json +1348 -192
- package/System.Security.Cryptography.X509Certificates/bindings.json +81 -11
- package/System.Security.Cryptography.X509Certificates/internal/index.d.ts +67 -92
- package/System.Security.Cryptography.X509Certificates/internal/metadata.json +81 -11
- package/System.Security.Permissions/internal/index.d.ts +0 -25
- package/System.Security.Policy/internal/index.d.ts +0 -25
- package/System.Security.Principal/internal/index.d.ts +0 -25
- package/System.Text/bindings.json +494 -58
- package/System.Text/internal/index.d.ts +137 -162
- package/System.Text/internal/metadata.json +494 -58
- package/System.Text.Encodings.Web/bindings.json +29 -3
- package/System.Text.Encodings.Web/internal/index.d.ts +7 -32
- package/System.Text.Encodings.Web/internal/metadata.json +29 -3
- package/System.Text.Json/bindings.json +309 -43
- package/System.Text.Json/internal/index.d.ts +141 -166
- package/System.Text.Json/internal/metadata.json +309 -43
- package/System.Text.Json.Nodes/bindings.json +46 -6
- package/System.Text.Json.Nodes/internal/index.d.ts +29 -54
- package/System.Text.Json.Nodes/internal/metadata.json +46 -6
- package/System.Text.Json.Schema/internal/index.d.ts +1 -26
- package/System.Text.Json.Serialization/bindings.json +21 -3
- package/System.Text.Json.Serialization/internal/index.d.ts +4 -29
- package/System.Text.Json.Serialization/internal/metadata.json +21 -3
- package/System.Text.Json.Serialization.Metadata/internal/index.d.ts +20 -45
- package/System.Text.RegularExpressions/bindings.json +14 -2
- package/System.Text.RegularExpressions/internal/index.d.ts +26 -51
- package/System.Text.RegularExpressions/internal/metadata.json +14 -2
- package/System.Text.Unicode/bindings.json +58 -6
- package/System.Text.Unicode/internal/index.d.ts +12 -37
- package/System.Text.Unicode/internal/metadata.json +58 -6
- package/System.Threading/bindings.json +1012 -140
- package/System.Threading/internal/index.d.ts +149 -174
- package/System.Threading/internal/metadata.json +1012 -140
- package/System.Threading.Channels/bindings.json +14 -2
- package/System.Threading.Channels/internal/index.d.ts +5 -30
- package/System.Threading.Channels/internal/metadata.json +14 -2
- package/System.Threading.Tasks/internal/index.d.ts +23 -48
- package/System.Threading.Tasks.Dataflow/bindings.json +378 -54
- package/System.Threading.Tasks.Dataflow/internal/index.d.ts +33 -58
- package/System.Threading.Tasks.Dataflow/internal/metadata.json +378 -54
- package/System.Threading.Tasks.Sources/internal/index.d.ts +0 -25
- package/System.Timers/internal/index.d.ts +0 -25
- package/System.Transactions/internal/index.d.ts +0 -25
- package/System.Web/internal/index.d.ts +0 -25
- package/System.Windows.Input/internal/index.d.ts +0 -25
- package/System.Windows.Markup/internal/index.d.ts +0 -25
- package/System.Xml/bindings.json +197 -27
- package/System.Xml/internal/index.d.ts +35 -60
- package/System.Xml/internal/metadata.json +197 -27
- package/System.Xml.Linq/internal/index.d.ts +0 -25
- package/System.Xml.Resolvers/internal/index.d.ts +0 -25
- package/System.Xml.Schema/internal/index.d.ts +0 -25
- package/System.Xml.Serialization/internal/index.d.ts +0 -25
- package/System.Xml.XPath/internal/index.d.ts +1 -26
- package/System.Xml.Xsl/internal/index.d.ts +1 -26
- package/System.Xml.Xsl.Runtime/bindings.json +35 -5
- package/System.Xml.Xsl.Runtime/internal/index.d.ts +7 -32
- package/System.Xml.Xsl.Runtime/internal/metadata.json +35 -5
- package/System.d.ts +21 -0
- package/__internal/extensions/index.d.ts +463 -463
- package/package.json +1 -1
|
@@ -14234,7 +14234,13 @@
|
|
|
14234
14234
|
"parameterCount": 5,
|
|
14235
14235
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.CertificateRequest",
|
|
14236
14236
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
14237
|
-
"isExtensionMethod": false
|
|
14237
|
+
"isExtensionMethod": false,
|
|
14238
|
+
"parameterModifiers": [
|
|
14239
|
+
{
|
|
14240
|
+
"index": 2,
|
|
14241
|
+
"modifier": "out"
|
|
14242
|
+
}
|
|
14243
|
+
]
|
|
14238
14244
|
}
|
|
14239
14245
|
],
|
|
14240
14246
|
"properties": [
|
|
@@ -14919,7 +14925,13 @@
|
|
|
14919
14925
|
"parameterCount": 2,
|
|
14920
14926
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
14921
14927
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
14922
|
-
"isExtensionMethod": false
|
|
14928
|
+
"isExtensionMethod": false,
|
|
14929
|
+
"parameterModifiers": [
|
|
14930
|
+
{
|
|
14931
|
+
"index": 1,
|
|
14932
|
+
"modifier": "out"
|
|
14933
|
+
}
|
|
14934
|
+
]
|
|
14923
14935
|
},
|
|
14924
14936
|
{
|
|
14925
14937
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder::Load(System.ReadOnlySpan_1[[System.Byte,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Numerics.BigInteger\u0026,System.Int32\u0026):System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
@@ -14933,7 +14945,17 @@
|
|
|
14933
14945
|
"parameterCount": 3,
|
|
14934
14946
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
14935
14947
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
14936
|
-
"isExtensionMethod": false
|
|
14948
|
+
"isExtensionMethod": false,
|
|
14949
|
+
"parameterModifiers": [
|
|
14950
|
+
{
|
|
14951
|
+
"index": 1,
|
|
14952
|
+
"modifier": "out"
|
|
14953
|
+
},
|
|
14954
|
+
{
|
|
14955
|
+
"index": 2,
|
|
14956
|
+
"modifier": "out"
|
|
14957
|
+
}
|
|
14958
|
+
]
|
|
14937
14959
|
},
|
|
14938
14960
|
{
|
|
14939
14961
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder::LoadPem(System.String,System.Numerics.BigInteger\u0026):System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
@@ -14947,7 +14969,13 @@
|
|
|
14947
14969
|
"parameterCount": 2,
|
|
14948
14970
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
14949
14971
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
14950
|
-
"isExtensionMethod": false
|
|
14972
|
+
"isExtensionMethod": false,
|
|
14973
|
+
"parameterModifiers": [
|
|
14974
|
+
{
|
|
14975
|
+
"index": 1,
|
|
14976
|
+
"modifier": "out"
|
|
14977
|
+
}
|
|
14978
|
+
]
|
|
14951
14979
|
},
|
|
14952
14980
|
{
|
|
14953
14981
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder::LoadPem(System.ReadOnlySpan_1[[System.Char,System.Private.CoreLib,Version=10.0.0.0,Culture=neutral,PublicKeyToken=7cec85d7bea7798e]],System.Numerics.BigInteger\u0026):System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
@@ -14961,7 +14989,13 @@
|
|
|
14961
14989
|
"parameterCount": 2,
|
|
14962
14990
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.CertificateRevocationListBuilder",
|
|
14963
14991
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
14964
|
-
"isExtensionMethod": false
|
|
14992
|
+
"isExtensionMethod": false,
|
|
14993
|
+
"parameterModifiers": [
|
|
14994
|
+
{
|
|
14995
|
+
"index": 1,
|
|
14996
|
+
"modifier": "out"
|
|
14997
|
+
}
|
|
14998
|
+
]
|
|
14965
14999
|
}
|
|
14966
15000
|
],
|
|
14967
15001
|
"properties": [],
|
|
@@ -15932,7 +15966,13 @@
|
|
|
15932
15966
|
"parameterCount": 2,
|
|
15933
15967
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.PublicKey",
|
|
15934
15968
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
15935
|
-
"isExtensionMethod": false
|
|
15969
|
+
"isExtensionMethod": false,
|
|
15970
|
+
"parameterModifiers": [
|
|
15971
|
+
{
|
|
15972
|
+
"index": 1,
|
|
15973
|
+
"modifier": "out"
|
|
15974
|
+
}
|
|
15975
|
+
]
|
|
15936
15976
|
},
|
|
15937
15977
|
{
|
|
15938
15978
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.PublicKey::ExportSubjectPublicKeyInfo():System.Byte[]",
|
|
@@ -15960,7 +16000,13 @@
|
|
|
15960
16000
|
"parameterCount": 2,
|
|
15961
16001
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.PublicKey",
|
|
15962
16002
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
15963
|
-
"isExtensionMethod": false
|
|
16003
|
+
"isExtensionMethod": false,
|
|
16004
|
+
"parameterModifiers": [
|
|
16005
|
+
{
|
|
16006
|
+
"index": 1,
|
|
16007
|
+
"modifier": "out"
|
|
16008
|
+
}
|
|
16009
|
+
]
|
|
15964
16010
|
},
|
|
15965
16011
|
{
|
|
15966
16012
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.PublicKey::GetRSAPublicKey():System.Security.Cryptography.RSA",
|
|
@@ -18908,7 +18954,13 @@
|
|
|
18908
18954
|
"parameterCount": 3,
|
|
18909
18955
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.X509Certificate",
|
|
18910
18956
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
18911
|
-
"isExtensionMethod": false
|
|
18957
|
+
"isExtensionMethod": false,
|
|
18958
|
+
"parameterModifiers": [
|
|
18959
|
+
{
|
|
18960
|
+
"index": 2,
|
|
18961
|
+
"modifier": "out"
|
|
18962
|
+
}
|
|
18963
|
+
]
|
|
18912
18964
|
},
|
|
18913
18965
|
{
|
|
18914
18966
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.X509Certificate::GetCertHashString():System.String",
|
|
@@ -20623,7 +20675,13 @@
|
|
|
20623
20675
|
"parameterCount": 2,
|
|
20624
20676
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.X509Certificate2",
|
|
20625
20677
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
20626
|
-
"isExtensionMethod": false
|
|
20678
|
+
"isExtensionMethod": false,
|
|
20679
|
+
"parameterModifiers": [
|
|
20680
|
+
{
|
|
20681
|
+
"index": 1,
|
|
20682
|
+
"modifier": "out"
|
|
20683
|
+
}
|
|
20684
|
+
]
|
|
20627
20685
|
},
|
|
20628
20686
|
{
|
|
20629
20687
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.X509Certificate2::MatchesHostname(System.String,System.Boolean,System.Boolean):System.Boolean",
|
|
@@ -22554,7 +22612,13 @@
|
|
|
22554
22612
|
"parameterCount": 2,
|
|
22555
22613
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.X509Certificate2Collection",
|
|
22556
22614
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
22557
|
-
"isExtensionMethod": false
|
|
22615
|
+
"isExtensionMethod": false,
|
|
22616
|
+
"parameterModifiers": [
|
|
22617
|
+
{
|
|
22618
|
+
"index": 1,
|
|
22619
|
+
"modifier": "out"
|
|
22620
|
+
}
|
|
22621
|
+
]
|
|
22558
22622
|
},
|
|
22559
22623
|
{
|
|
22560
22624
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.X509Certificate2Collection::ExportCertificatePems():System.String",
|
|
@@ -22582,7 +22646,13 @@
|
|
|
22582
22646
|
"parameterCount": 2,
|
|
22583
22647
|
"declaringClrType": "System.Security.Cryptography.X509Certificates.X509Certificate2Collection",
|
|
22584
22648
|
"declaringAssemblyName": "System.Security.Cryptography",
|
|
22585
|
-
"isExtensionMethod": false
|
|
22649
|
+
"isExtensionMethod": false,
|
|
22650
|
+
"parameterModifiers": [
|
|
22651
|
+
{
|
|
22652
|
+
"index": 1,
|
|
22653
|
+
"modifier": "out"
|
|
22654
|
+
}
|
|
22655
|
+
]
|
|
22586
22656
|
},
|
|
22587
22657
|
{
|
|
22588
22658
|
"stableId": "System.Security.Cryptography:System.Security.Cryptography.X509Certificates.X509Certificate2Collection::FindByThumbprint(System.Security.Cryptography.HashAlgorithmName,System.String):System.Security.Cryptography.X509Certificates.X509Certificate2Collection",
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint128, half, float, double, decimal, nint, nuint, char } from '@tsonic/types';
|
|
7
7
|
|
|
8
8
|
// Import support types from @tsonic/types
|
|
9
|
-
import type { ptr
|
|
9
|
+
import type { ptr } from "@tsonic/types";
|
|
10
10
|
|
|
11
11
|
// Import types from other namespaces
|
|
12
12
|
import type { SafeX509ChainHandle } from "../../Microsoft.Win32.SafeHandles/internal/index.js";
|
|
@@ -27,31 +27,6 @@ import type { SecureString } from "../../System.Security/internal/index.js";
|
|
|
27
27
|
import * as System_Internal from "../../System/internal/index.js";
|
|
28
28
|
import type { Array as ClrArray, Boolean as ClrBoolean, Byte, Char, DateTime, DateTimeOffset, Enum, Exception, IComparable, IConvertible, IDisposable, IFormatProvider, IFormattable, Int32, IntPtr, ISpanFormattable, Nullable_1, Object as ClrObject, ReadOnlyMemory_1, ReadOnlySpan_1, Span_1, String as ClrString, TimeSpan, Type, TypeCode, Uri, ValueType, Void } from "../../System/internal/index.js";
|
|
29
29
|
|
|
30
|
-
// CLROf<T> - Maps ergonomic primitives to their CLR types for generic constraints
|
|
31
|
-
// This utility is used ONLY in generic type arguments to satisfy CLR interface constraints
|
|
32
|
-
// Value positions (parameters, return types) use lowercase primitives for ergonomics
|
|
33
|
-
export type CLROf<T> =
|
|
34
|
-
T extends sbyte ? System_Internal.SByte :
|
|
35
|
-
T extends short ? System_Internal.Int16 :
|
|
36
|
-
T extends int ? System_Internal.Int32 :
|
|
37
|
-
T extends long ? System_Internal.Int64 :
|
|
38
|
-
T extends int128 ? System_Internal.Int128 :
|
|
39
|
-
T extends nint ? System_Internal.IntPtr :
|
|
40
|
-
T extends byte ? System_Internal.Byte :
|
|
41
|
-
T extends ushort ? System_Internal.UInt16 :
|
|
42
|
-
T extends uint ? System_Internal.UInt32 :
|
|
43
|
-
T extends ulong ? System_Internal.UInt64 :
|
|
44
|
-
T extends uint128 ? System_Internal.UInt128 :
|
|
45
|
-
T extends nuint ? System_Internal.UIntPtr :
|
|
46
|
-
T extends half ? System_Internal.Half :
|
|
47
|
-
T extends float ? System_Internal.Single :
|
|
48
|
-
T extends double ? System_Internal.Double :
|
|
49
|
-
T extends decimal ? System_Internal.Decimal :
|
|
50
|
-
T extends char ? System_Internal.Char :
|
|
51
|
-
T extends boolean ? System_Internal.Boolean :
|
|
52
|
-
T extends string ? System_Internal.String :
|
|
53
|
-
T; // Identity fallback for non-primitive types
|
|
54
|
-
|
|
55
30
|
export enum CertificateRequestLoadOptions {
|
|
56
31
|
default_ = 0,
|
|
57
32
|
skipSignatureValidation = 1,
|
|
@@ -297,9 +272,9 @@ export interface CertificateRequest$instance {
|
|
|
297
272
|
readonly publicKey: PublicKey;
|
|
298
273
|
readonly subjectName: X500DistinguishedName;
|
|
299
274
|
create(issuerCertificate: X509Certificate2, notBefore: DateTimeOffset, notAfter: DateTimeOffset, serialNumber: byte[]): X509Certificate2;
|
|
300
|
-
create(issuerCertificate: X509Certificate2, notBefore: DateTimeOffset, notAfter: DateTimeOffset, serialNumber: ReadOnlySpan_1<
|
|
275
|
+
create(issuerCertificate: X509Certificate2, notBefore: DateTimeOffset, notAfter: DateTimeOffset, serialNumber: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
301
276
|
create(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, notBefore: DateTimeOffset, notAfter: DateTimeOffset, serialNumber: byte[]): X509Certificate2;
|
|
302
|
-
create(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, notBefore: DateTimeOffset, notAfter: DateTimeOffset, serialNumber: ReadOnlySpan_1<
|
|
277
|
+
create(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, notBefore: DateTimeOffset, notAfter: DateTimeOffset, serialNumber: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
303
278
|
createSelfSigned(notBefore: DateTimeOffset, notAfter: DateTimeOffset): X509Certificate2;
|
|
304
279
|
createSigningRequest(): byte[];
|
|
305
280
|
createSigningRequest(signatureGenerator: X509SignatureGenerator): byte[];
|
|
@@ -322,8 +297,8 @@ export const CertificateRequest: {
|
|
|
322
297
|
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName): CertificateRequest$instance;
|
|
323
298
|
new(subjectName: X500DistinguishedName, publicKey: PublicKey, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding: RSASignaturePadding): CertificateRequest$instance;
|
|
324
299
|
loadSigningRequest(pkcs10: byte[], signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
325
|
-
loadSigningRequest(pkcs10: ReadOnlySpan_1<
|
|
326
|
-
loadSigningRequestPem(pkcs10Pem: ReadOnlySpan_1<
|
|
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;
|
|
327
302
|
loadSigningRequestPem(pkcs10Pem: string, signerHashAlgorithm: HashAlgorithmName, options?: CertificateRequestLoadOptions, signerSignaturePadding?: RSASignaturePadding): CertificateRequest;
|
|
328
303
|
};
|
|
329
304
|
|
|
@@ -333,21 +308,21 @@ export type CertificateRequest = CertificateRequest$instance;
|
|
|
333
308
|
export interface CertificateRevocationListBuilder$instance {
|
|
334
309
|
addEntry(certificate: X509Certificate2, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
335
310
|
addEntry(serialNumber: byte[], revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
336
|
-
addEntry(serialNumber: ReadOnlySpan_1<
|
|
311
|
+
addEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>, revocationTime?: Nullable_1<DateTimeOffset>, reason?: Nullable_1<X509RevocationReason>): void;
|
|
337
312
|
build(issuerCertificate: X509Certificate2, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, rsaSignaturePadding?: RSASignaturePadding, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
338
313
|
build(issuerName: X500DistinguishedName, generator: X509SignatureGenerator, crlNumber: BigInteger, nextUpdate: DateTimeOffset, hashAlgorithm: HashAlgorithmName, authorityKeyIdentifier: X509AuthorityKeyIdentifierExtension, thisUpdate?: Nullable_1<DateTimeOffset>): byte[];
|
|
339
314
|
removeEntry(serialNumber: byte[]): boolean;
|
|
340
|
-
removeEntry(serialNumber: ReadOnlySpan_1<
|
|
315
|
+
removeEntry(serialNumber: ReadOnlySpan_1<System_Internal.Byte>): boolean;
|
|
341
316
|
}
|
|
342
317
|
|
|
343
318
|
|
|
344
319
|
export const CertificateRevocationListBuilder: {
|
|
345
320
|
new(): CertificateRevocationListBuilder$instance;
|
|
346
|
-
buildCrlDistributionPointExtension(uris: IEnumerable_1<
|
|
347
|
-
load(currentCrl: byte[], currentCrlNumber:
|
|
348
|
-
load(currentCrl: ReadOnlySpan_1<
|
|
349
|
-
loadPem(currentCrl: ReadOnlySpan_1<
|
|
350
|
-
loadPem(currentCrl: string, currentCrlNumber:
|
|
321
|
+
buildCrlDistributionPointExtension(uris: IEnumerable_1<System_Internal.String>, critical?: boolean): X509Extension;
|
|
322
|
+
load(currentCrl: byte[], currentCrlNumber: BigInteger): CertificateRevocationListBuilder;
|
|
323
|
+
load(currentCrl: ReadOnlySpan_1<System_Internal.Byte>, currentCrlNumber: BigInteger, bytesConsumed: int): CertificateRevocationListBuilder;
|
|
324
|
+
loadPem(currentCrl: ReadOnlySpan_1<System_Internal.Char>, currentCrlNumber: BigInteger): CertificateRevocationListBuilder;
|
|
325
|
+
loadPem(currentCrl: string, currentCrlNumber: BigInteger): CertificateRevocationListBuilder;
|
|
351
326
|
};
|
|
352
327
|
|
|
353
328
|
|
|
@@ -357,16 +332,16 @@ export interface Pkcs12LoaderLimits$instance {
|
|
|
357
332
|
allowDuplicateAttributes: boolean;
|
|
358
333
|
ignoreEncryptedAuthSafes: boolean;
|
|
359
334
|
ignorePrivateKeys: boolean;
|
|
360
|
-
individualKdfIterationLimit: Nullable_1<
|
|
335
|
+
individualKdfIterationLimit: Nullable_1<System_Internal.Int32>;
|
|
361
336
|
readonly isReadOnly: boolean;
|
|
362
|
-
macIterationLimit: Nullable_1<
|
|
363
|
-
maxCertificates: Nullable_1<
|
|
364
|
-
maxKeys: Nullable_1<
|
|
337
|
+
macIterationLimit: Nullable_1<System_Internal.Int32>;
|
|
338
|
+
maxCertificates: Nullable_1<System_Internal.Int32>;
|
|
339
|
+
maxKeys: Nullable_1<System_Internal.Int32>;
|
|
365
340
|
preserveCertificateAlias: boolean;
|
|
366
341
|
preserveKeyName: boolean;
|
|
367
342
|
preserveStorageProvider: boolean;
|
|
368
343
|
preserveUnknownAttributes: boolean;
|
|
369
|
-
totalKdfIterationLimit: Nullable_1<
|
|
344
|
+
totalKdfIterationLimit: Nullable_1<System_Internal.Int32>;
|
|
370
345
|
makeReadOnly(): void;
|
|
371
346
|
}
|
|
372
347
|
|
|
@@ -412,7 +387,7 @@ export interface PublicKey$instance {
|
|
|
412
387
|
getMLKemPublicKey(): MLKem;
|
|
413
388
|
getRSAPublicKey(): RSA;
|
|
414
389
|
getSlhDsaPublicKey(): SlhDsa;
|
|
415
|
-
tryExportSubjectPublicKeyInfo(destination: Span_1<
|
|
390
|
+
tryExportSubjectPublicKeyInfo(destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
416
391
|
}
|
|
417
392
|
|
|
418
393
|
|
|
@@ -423,7 +398,7 @@ export const PublicKey: {
|
|
|
423
398
|
new(key: MLDsa): PublicKey$instance;
|
|
424
399
|
new(key: SlhDsa): PublicKey$instance;
|
|
425
400
|
new(key: CompositeMLDsa): PublicKey$instance;
|
|
426
|
-
createFromSubjectPublicKeyInfo(source: ReadOnlySpan_1<
|
|
401
|
+
createFromSubjectPublicKeyInfo(source: ReadOnlySpan_1<System_Internal.Byte>, bytesRead: int): PublicKey;
|
|
427
402
|
};
|
|
428
403
|
|
|
429
404
|
|
|
@@ -456,7 +431,7 @@ export interface X500DistinguishedName$instance extends AsnEncodedData {
|
|
|
456
431
|
|
|
457
432
|
export const X500DistinguishedName: {
|
|
458
433
|
new(encodedDistinguishedName: byte[]): X500DistinguishedName$instance;
|
|
459
|
-
new(encodedDistinguishedName: ReadOnlySpan_1<
|
|
434
|
+
new(encodedDistinguishedName: ReadOnlySpan_1<System_Internal.Byte>): X500DistinguishedName$instance;
|
|
460
435
|
new(encodedDistinguishedName: AsnEncodedData): X500DistinguishedName$instance;
|
|
461
436
|
new(distinguishedName: X500DistinguishedName): X500DistinguishedName$instance;
|
|
462
437
|
new(distinguishedName: string): X500DistinguishedName$instance;
|
|
@@ -490,7 +465,7 @@ export type X500DistinguishedNameBuilder = X500DistinguishedNameBuilder$instance
|
|
|
490
465
|
|
|
491
466
|
export interface X500RelativeDistinguishedName$instance {
|
|
492
467
|
readonly hasMultipleElements: boolean;
|
|
493
|
-
readonly rawData: ReadOnlyMemory_1<
|
|
468
|
+
readonly rawData: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
494
469
|
getSingleElementType(): Oid;
|
|
495
470
|
getSingleElementValue(): string;
|
|
496
471
|
}
|
|
@@ -505,28 +480,28 @@ export type X500RelativeDistinguishedName = X500RelativeDistinguishedName$instan
|
|
|
505
480
|
|
|
506
481
|
export interface X509AuthorityInformationAccessExtension$instance extends X509Extension {
|
|
507
482
|
copyFrom(asnEncodedData: AsnEncodedData): void;
|
|
508
|
-
enumerateCAIssuersUris(): IEnumerable_1<
|
|
509
|
-
enumerateOcspUris(): IEnumerable_1<
|
|
510
|
-
enumerateUris(accessMethodOid: string): IEnumerable_1<
|
|
511
|
-
enumerateUris(accessMethodOid: Oid): IEnumerable_1<
|
|
483
|
+
enumerateCAIssuersUris(): IEnumerable_1<System_Internal.String>;
|
|
484
|
+
enumerateOcspUris(): IEnumerable_1<System_Internal.String>;
|
|
485
|
+
enumerateUris(accessMethodOid: string): IEnumerable_1<System_Internal.String>;
|
|
486
|
+
enumerateUris(accessMethodOid: Oid): IEnumerable_1<System_Internal.String>;
|
|
512
487
|
}
|
|
513
488
|
|
|
514
489
|
|
|
515
490
|
export const X509AuthorityInformationAccessExtension: {
|
|
516
491
|
new(): X509AuthorityInformationAccessExtension$instance;
|
|
517
492
|
new(rawData: byte[], critical: boolean): X509AuthorityInformationAccessExtension$instance;
|
|
518
|
-
new(rawData: ReadOnlySpan_1<
|
|
519
|
-
new(ocspUris: IEnumerable_1<
|
|
493
|
+
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityInformationAccessExtension$instance;
|
|
494
|
+
new(ocspUris: IEnumerable_1<System_Internal.String>, caIssuersUris: IEnumerable_1<System_Internal.String>, critical: boolean): X509AuthorityInformationAccessExtension$instance;
|
|
520
495
|
};
|
|
521
496
|
|
|
522
497
|
|
|
523
498
|
export type X509AuthorityInformationAccessExtension = X509AuthorityInformationAccessExtension$instance;
|
|
524
499
|
|
|
525
500
|
export interface X509AuthorityKeyIdentifierExtension$instance extends X509Extension {
|
|
526
|
-
readonly keyIdentifier: Nullable_1<ReadOnlyMemory_1<
|
|
501
|
+
readonly keyIdentifier: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
527
502
|
readonly namedIssuer: X500DistinguishedName;
|
|
528
|
-
readonly rawIssuer: Nullable_1<ReadOnlyMemory_1<
|
|
529
|
-
readonly serialNumber: Nullable_1<ReadOnlyMemory_1<
|
|
503
|
+
readonly rawIssuer: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
504
|
+
readonly serialNumber: Nullable_1<ReadOnlyMemory_1<System_Internal.Byte>>;
|
|
530
505
|
copyFrom(asnEncodedData: AsnEncodedData): void;
|
|
531
506
|
}
|
|
532
507
|
|
|
@@ -534,14 +509,14 @@ export interface X509AuthorityKeyIdentifierExtension$instance extends X509Extens
|
|
|
534
509
|
export const X509AuthorityKeyIdentifierExtension: {
|
|
535
510
|
new(): X509AuthorityKeyIdentifierExtension$instance;
|
|
536
511
|
new(rawData: byte[], critical: boolean): X509AuthorityKeyIdentifierExtension$instance;
|
|
537
|
-
new(rawData: ReadOnlySpan_1<
|
|
512
|
+
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509AuthorityKeyIdentifierExtension$instance;
|
|
538
513
|
create(keyIdentifier: byte[], issuerName: X500DistinguishedName, serialNumber: byte[]): X509AuthorityKeyIdentifierExtension;
|
|
539
|
-
create(keyIdentifier: ReadOnlySpan_1<
|
|
514
|
+
create(keyIdentifier: ReadOnlySpan_1<System_Internal.Byte>, issuerName: X500DistinguishedName, serialNumber: ReadOnlySpan_1<System_Internal.Byte>): X509AuthorityKeyIdentifierExtension;
|
|
540
515
|
createFromCertificate(certificate: X509Certificate2, includeKeyIdentifier: boolean, includeIssuerAndSerial: boolean): X509AuthorityKeyIdentifierExtension;
|
|
541
516
|
createFromIssuerNameAndSerialNumber(issuerName: X500DistinguishedName, serialNumber: byte[]): X509AuthorityKeyIdentifierExtension;
|
|
542
|
-
createFromIssuerNameAndSerialNumber(issuerName: X500DistinguishedName, serialNumber: ReadOnlySpan_1<
|
|
517
|
+
createFromIssuerNameAndSerialNumber(issuerName: X500DistinguishedName, serialNumber: ReadOnlySpan_1<System_Internal.Byte>): X509AuthorityKeyIdentifierExtension;
|
|
543
518
|
createFromSubjectKeyIdentifier(subjectKeyIdentifier: byte[]): X509AuthorityKeyIdentifierExtension;
|
|
544
|
-
createFromSubjectKeyIdentifier(subjectKeyIdentifier: ReadOnlySpan_1<
|
|
519
|
+
createFromSubjectKeyIdentifier(subjectKeyIdentifier: ReadOnlySpan_1<System_Internal.Byte>): X509AuthorityKeyIdentifierExtension;
|
|
545
520
|
createFromSubjectKeyIdentifier(subjectKeyIdentifier: X509SubjectKeyIdentifierExtension): X509AuthorityKeyIdentifierExtension;
|
|
546
521
|
};
|
|
547
522
|
|
|
@@ -560,7 +535,7 @@ export const X509BasicConstraintsExtension: {
|
|
|
560
535
|
new(): X509BasicConstraintsExtension$instance;
|
|
561
536
|
new(certificateAuthority: boolean, hasPathLengthConstraint: boolean, pathLengthConstraint: int, critical: boolean): X509BasicConstraintsExtension$instance;
|
|
562
537
|
new(encodedBasicConstraints: AsnEncodedData, critical: boolean): X509BasicConstraintsExtension$instance;
|
|
563
|
-
createForCertificateAuthority(pathLengthConstraint?: Nullable_1<
|
|
538
|
+
createForCertificateAuthority(pathLengthConstraint?: Nullable_1<System_Internal.Int32>): X509BasicConstraintsExtension;
|
|
564
539
|
createForEndEntity(critical?: boolean): X509BasicConstraintsExtension;
|
|
565
540
|
};
|
|
566
541
|
|
|
@@ -570,7 +545,7 @@ export type X509BasicConstraintsExtension = X509BasicConstraintsExtension$instan
|
|
|
570
545
|
export interface X509Certificate$instance {
|
|
571
546
|
readonly handle: nint;
|
|
572
547
|
readonly issuer: string;
|
|
573
|
-
readonly serialNumberBytes: ReadOnlyMemory_1<
|
|
548
|
+
readonly serialNumberBytes: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
574
549
|
readonly subject: string;
|
|
575
550
|
dispose(): void;
|
|
576
551
|
equals(obj: unknown): boolean;
|
|
@@ -608,7 +583,7 @@ export interface X509Certificate$instance {
|
|
|
608
583
|
reset(): void;
|
|
609
584
|
toString(): string;
|
|
610
585
|
toString(fVerbose: boolean): string;
|
|
611
|
-
tryGetCertHash(hashAlgorithm: HashAlgorithmName, destination: Span_1<
|
|
586
|
+
tryGetCertHash(hashAlgorithm: HashAlgorithmName, destination: Span_1<System_Internal.Byte>, bytesWritten: int): boolean;
|
|
612
587
|
}
|
|
613
588
|
|
|
614
589
|
|
|
@@ -654,7 +629,7 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
|
|
|
654
629
|
privateKey: AsymmetricAlgorithm;
|
|
655
630
|
readonly publicKey: PublicKey;
|
|
656
631
|
readonly rawData: byte[];
|
|
657
|
-
readonly rawDataMemory: ReadOnlyMemory_1<
|
|
632
|
+
readonly rawDataMemory: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
658
633
|
readonly serialNumber: string;
|
|
659
634
|
readonly signatureAlgorithm: Oid;
|
|
660
635
|
readonly subjectName: X500DistinguishedName;
|
|
@@ -690,7 +665,7 @@ export interface X509Certificate2$instance extends X509Certificate$instance {
|
|
|
690
665
|
reset(): void;
|
|
691
666
|
toString(): string;
|
|
692
667
|
toString(verbose: boolean): string;
|
|
693
|
-
tryExportCertificatePem(destination: Span_1<
|
|
668
|
+
tryExportCertificatePem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
694
669
|
verify(): boolean;
|
|
695
670
|
}
|
|
696
671
|
|
|
@@ -702,23 +677,23 @@ export const X509Certificate2: {
|
|
|
702
677
|
new(rawData: byte[], password: SecureString): X509Certificate2$instance;
|
|
703
678
|
new(rawData: byte[], password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
|
|
704
679
|
new(rawData: byte[], password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
|
|
705
|
-
new(rawData: ReadOnlySpan_1<
|
|
706
|
-
new(rawData: ReadOnlySpan_1<
|
|
680
|
+
new(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2$instance;
|
|
681
|
+
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
|
|
707
682
|
new(handle: nint): X509Certificate2$instance;
|
|
708
683
|
new(fileName: string): X509Certificate2$instance;
|
|
709
684
|
new(fileName: string, password: string): X509Certificate2$instance;
|
|
710
685
|
new(fileName: string, password: SecureString): X509Certificate2$instance;
|
|
711
686
|
new(fileName: string, password: string, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
|
|
712
687
|
new(fileName: string, password: SecureString, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
|
|
713
|
-
new(fileName: string, password: ReadOnlySpan_1<
|
|
688
|
+
new(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags: X509KeyStorageFlags): X509Certificate2$instance;
|
|
714
689
|
new(certificate: X509Certificate): X509Certificate2$instance;
|
|
715
|
-
createFromEncryptedPem(certPem: ReadOnlySpan_1<
|
|
716
|
-
createFromEncryptedPemFile(certPemFilePath: string, password: ReadOnlySpan_1<
|
|
717
|
-
createFromPem(certPem: ReadOnlySpan_1<
|
|
718
|
-
createFromPem(certPem: ReadOnlySpan_1<
|
|
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;
|
|
692
|
+
createFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>, keyPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
693
|
+
createFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2;
|
|
719
694
|
createFromPemFile(certPemFilePath: string, keyPemFilePath?: string): X509Certificate2;
|
|
720
695
|
getCertContentType(rawData: byte[]): X509ContentType;
|
|
721
|
-
getCertContentType(rawData: ReadOnlySpan_1<
|
|
696
|
+
getCertContentType(rawData: ReadOnlySpan_1<System_Internal.Byte>): X509ContentType;
|
|
722
697
|
getCertContentType(fileName: string): X509ContentType;
|
|
723
698
|
};
|
|
724
699
|
|
|
@@ -753,19 +728,19 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
|
|
|
753
728
|
exportPkcs7Pem(): string;
|
|
754
729
|
find(findType: X509FindType, findValue: unknown, validOnly: boolean): X509Certificate2Collection;
|
|
755
730
|
findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: string): X509Certificate2Collection;
|
|
756
|
-
findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: ReadOnlySpan_1<
|
|
757
|
-
findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintBytes: ReadOnlySpan_1<
|
|
731
|
+
findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintHex: ReadOnlySpan_1<System_Internal.Char>): X509Certificate2Collection;
|
|
732
|
+
findByThumbprint(hashAlgorithm: HashAlgorithmName, thumbprintBytes: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2Collection;
|
|
758
733
|
getEnumerator(): X509CertificateCollection_X509CertificateEnumerator;
|
|
759
734
|
getEnumerator(): IEnumerator;
|
|
760
735
|
import_(rawData: byte[]): void;
|
|
761
|
-
import_(rawData: ReadOnlySpan_1<
|
|
736
|
+
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>): void;
|
|
762
737
|
import_(rawData: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
763
|
-
import_(rawData: ReadOnlySpan_1<
|
|
764
|
-
import_(rawData: ReadOnlySpan_1<
|
|
738
|
+
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
739
|
+
import_(rawData: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
765
740
|
import_(fileName: string): void;
|
|
766
741
|
import_(fileName: string, password: string, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
767
|
-
import_(fileName: string, password: ReadOnlySpan_1<
|
|
768
|
-
importFromPem(certPem: ReadOnlySpan_1<
|
|
742
|
+
import_(fileName: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags): void;
|
|
743
|
+
importFromPem(certPem: ReadOnlySpan_1<System_Internal.Char>): void;
|
|
769
744
|
importFromPemFile(certPemFilePath: string): void;
|
|
770
745
|
indexOf(value: X509Certificate): int;
|
|
771
746
|
insert(index: int, value: X509Certificate): void;
|
|
@@ -775,8 +750,8 @@ export interface X509Certificate2Collection$instance extends X509CertificateColl
|
|
|
775
750
|
removeAt(index: int): void;
|
|
776
751
|
removeRange(certificates: X509Certificate2[]): void;
|
|
777
752
|
removeRange(certificates: X509Certificate2Collection): void;
|
|
778
|
-
tryExportCertificatePems(destination: Span_1<
|
|
779
|
-
tryExportPkcs7Pem(destination: Span_1<
|
|
753
|
+
tryExportCertificatePems(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
754
|
+
tryExportPkcs7Pem(destination: Span_1<System_Internal.Char>, charsWritten: int): boolean;
|
|
780
755
|
}
|
|
781
756
|
|
|
782
757
|
|
|
@@ -1008,9 +983,9 @@ export interface X509Extension$instance extends AsnEncodedData {
|
|
|
1008
983
|
export const X509Extension: {
|
|
1009
984
|
new(encodedExtension: AsnEncodedData, critical: boolean): X509Extension$instance;
|
|
1010
985
|
new(oid: Oid, rawData: byte[], critical: boolean): X509Extension$instance;
|
|
1011
|
-
new(oid: Oid, rawData: ReadOnlySpan_1<
|
|
986
|
+
new(oid: Oid, rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509Extension$instance;
|
|
1012
987
|
new(oid: string, rawData: byte[], critical: boolean): X509Extension$instance;
|
|
1013
|
-
new(oid: string, rawData: ReadOnlySpan_1<
|
|
988
|
+
new(oid: string, rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509Extension$instance;
|
|
1014
989
|
};
|
|
1015
990
|
|
|
1016
991
|
|
|
@@ -1136,7 +1111,7 @@ export type X509Store = X509Store$instance & __X509Store$views;
|
|
|
1136
1111
|
|
|
1137
1112
|
export interface X509SubjectAlternativeNameExtension$instance extends X509Extension {
|
|
1138
1113
|
copyFrom(asnEncodedData: AsnEncodedData): void;
|
|
1139
|
-
enumerateDnsNames(): IEnumerable_1<
|
|
1114
|
+
enumerateDnsNames(): IEnumerable_1<System_Internal.String>;
|
|
1140
1115
|
enumerateIPAddresses(): IEnumerable_1<IPAddress>;
|
|
1141
1116
|
}
|
|
1142
1117
|
|
|
@@ -1144,7 +1119,7 @@ export interface X509SubjectAlternativeNameExtension$instance extends X509Extens
|
|
|
1144
1119
|
export const X509SubjectAlternativeNameExtension: {
|
|
1145
1120
|
new(): X509SubjectAlternativeNameExtension$instance;
|
|
1146
1121
|
new(rawData: byte[], critical: boolean): X509SubjectAlternativeNameExtension$instance;
|
|
1147
|
-
new(rawData: ReadOnlySpan_1<
|
|
1122
|
+
new(rawData: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509SubjectAlternativeNameExtension$instance;
|
|
1148
1123
|
};
|
|
1149
1124
|
|
|
1150
1125
|
|
|
@@ -1152,7 +1127,7 @@ export type X509SubjectAlternativeNameExtension = X509SubjectAlternativeNameExte
|
|
|
1152
1127
|
|
|
1153
1128
|
export interface X509SubjectKeyIdentifierExtension$instance extends X509Extension {
|
|
1154
1129
|
readonly subjectKeyIdentifier: string;
|
|
1155
|
-
readonly subjectKeyIdentifierBytes: ReadOnlyMemory_1<
|
|
1130
|
+
readonly subjectKeyIdentifierBytes: ReadOnlyMemory_1<System_Internal.Byte>;
|
|
1156
1131
|
copyFrom(asnEncodedData: AsnEncodedData): void;
|
|
1157
1132
|
}
|
|
1158
1133
|
|
|
@@ -1161,7 +1136,7 @@ export const X509SubjectKeyIdentifierExtension: {
|
|
|
1161
1136
|
new(): X509SubjectKeyIdentifierExtension$instance;
|
|
1162
1137
|
new(encodedSubjectKeyIdentifier: AsnEncodedData, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
|
|
1163
1138
|
new(subjectKeyIdentifier: byte[], critical: boolean): X509SubjectKeyIdentifierExtension$instance;
|
|
1164
|
-
new(subjectKeyIdentifier: ReadOnlySpan_1<
|
|
1139
|
+
new(subjectKeyIdentifier: ReadOnlySpan_1<System_Internal.Byte>, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
|
|
1165
1140
|
new(key: PublicKey, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
|
|
1166
1141
|
new(key: PublicKey, algorithm: X509SubjectKeyIdentifierHashAlgorithm, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
|
|
1167
1142
|
new(subjectKeyIdentifier: string, critical: boolean): X509SubjectKeyIdentifierExtension$instance;
|
|
@@ -1199,15 +1174,15 @@ export type RSACertificateExtensions = RSACertificateExtensions$instance;
|
|
|
1199
1174
|
|
|
1200
1175
|
export abstract class X509CertificateLoader$instance {
|
|
1201
1176
|
static loadCertificate(data: byte[]): X509Certificate2;
|
|
1202
|
-
static loadCertificate(data: ReadOnlySpan_1<
|
|
1177
|
+
static loadCertificate(data: ReadOnlySpan_1<System_Internal.Byte>): X509Certificate2;
|
|
1203
1178
|
static loadCertificateFromFile(path: string): X509Certificate2;
|
|
1204
1179
|
static loadPkcs12(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1205
|
-
static loadPkcs12(data: ReadOnlySpan_1<
|
|
1180
|
+
static loadPkcs12(data: ReadOnlySpan_1<System_Internal.Byte>, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1206
1181
|
static loadPkcs12Collection(data: byte[], password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1207
|
-
static loadPkcs12Collection(data: ReadOnlySpan_1<
|
|
1208
|
-
static loadPkcs12CollectionFromFile(path: string, password: ReadOnlySpan_1<
|
|
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;
|
|
1209
1184
|
static loadPkcs12CollectionFromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2Collection;
|
|
1210
|
-
static loadPkcs12FromFile(path: string, password: ReadOnlySpan_1<
|
|
1185
|
+
static loadPkcs12FromFile(path: string, password: ReadOnlySpan_1<System_Internal.Char>, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1211
1186
|
static loadPkcs12FromFile(path: string, password: string, keyStorageFlags?: X509KeyStorageFlags, loaderLimits?: Pkcs12LoaderLimits): X509Certificate2;
|
|
1212
1187
|
}
|
|
1213
1188
|
|