@tsonic/aspnetcore 10.0.2 → 10.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Microsoft.AspNetCore/internal/index.d.ts +6 -6
- package/Microsoft.AspNetCore.Antiforgery/internal/index.d.ts +27 -9
- package/Microsoft.AspNetCore.Authentication/internal/index.d.ts +250 -112
- package/Microsoft.AspNetCore.Authentication.BearerToken/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Authentication.Cookies/internal/index.d.ts +64 -34
- package/Microsoft.AspNetCore.Authentication.OAuth/internal/index.d.ts +47 -28
- package/Microsoft.AspNetCore.Authentication.OAuth.Claims/internal/index.d.ts +28 -11
- package/Microsoft.AspNetCore.Authorization/internal/index.d.ts +137 -75
- package/Microsoft.AspNetCore.Authorization.Infrastructure/internal/index.d.ts +53 -32
- package/Microsoft.AspNetCore.Authorization.Policy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Builder/internal/index.d.ts +221 -139
- package/Microsoft.AspNetCore.Builder.Extensions/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components/internal/index.d.ts +358 -187
- package/Microsoft.AspNetCore.Components.Authorization/internal/index.d.ts +46 -17
- package/Microsoft.AspNetCore.Components.CompilerServices/internal/index.d.ts +8 -8
- package/Microsoft.AspNetCore.Components.Endpoints/internal/index.d.ts +15 -5
- package/Microsoft.AspNetCore.Components.Endpoints.Infrastructure/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Forms/internal/index.d.ts +220 -89
- package/Microsoft.AspNetCore.Components.Forms.Mapping/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Forms.Mapping.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.HtmlRendering.Infrastructure/internal/index.d.ts +10 -5
- package/Microsoft.AspNetCore.Components.Infrastructure/internal/index.d.ts +9 -7
- package/Microsoft.AspNetCore.Components.Infrastructure.d.ts +3 -0
- package/Microsoft.AspNetCore.Components.RenderTree/internal/index.d.ts +44 -13
- package/Microsoft.AspNetCore.Components.Rendering/internal/index.d.ts +16 -8
- package/Microsoft.AspNetCore.Components.Routing/internal/index.d.ts +55 -22
- package/Microsoft.AspNetCore.Components.Sections/internal/index.d.ts +15 -9
- package/Microsoft.AspNetCore.Components.Server/internal/index.d.ts +33 -20
- package/Microsoft.AspNetCore.Components.Server.Circuits/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.Components.Server.ProtectedBrowserStorage/internal/index.d.ts +13 -5
- package/Microsoft.AspNetCore.Components.Web/internal/index.d.ts +105 -37
- package/Microsoft.AspNetCore.Components.Web.HtmlRendering/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Components.Web.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Components.Web.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Components.Web.Virtualization/internal/index.d.ts +27 -15
- package/Microsoft.AspNetCore.Connections/internal/index.d.ts +130 -49
- package/Microsoft.AspNetCore.Connections.Abstractions/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Connections.Features/internal/index.d.ts +64 -20
- package/Microsoft.AspNetCore.CookiePolicy/internal/index.d.ts +13 -7
- package/Microsoft.AspNetCore.Cors/internal/index.d.ts +19 -8
- package/Microsoft.AspNetCore.Cors.Infrastructure/internal/index.d.ts +55 -29
- package/Microsoft.AspNetCore.Cryptography.KeyDerivation/internal/index.d.ts +2 -2
- package/Microsoft.AspNetCore.DataProtection/internal/index.d.ts +43 -20
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.d.ts +28 -16
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.d.ts +59 -27
- package/Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel.d.ts +3 -0
- package/Microsoft.AspNetCore.DataProtection.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.Internal/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.d.ts +32 -19
- package/Microsoft.AspNetCore.DataProtection.KeyManagement.Internal/internal/index.d.ts +19 -5
- package/Microsoft.AspNetCore.DataProtection.Repositories/internal/index.d.ts +31 -15
- package/Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.d.ts +58 -32
- package/Microsoft.AspNetCore.Diagnostics/internal/index.d.ts +64 -21
- package/Microsoft.AspNetCore.Diagnostics.HealthChecks/internal/index.d.ts +15 -11
- package/Microsoft.AspNetCore.HostFiltering/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting/internal/index.d.ts +89 -47
- package/Microsoft.AspNetCore.Hosting.Builder/internal/index.d.ts +9 -5
- package/Microsoft.AspNetCore.Hosting.Infrastructure/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Hosting.Server/internal/index.d.ts +16 -4
- package/Microsoft.AspNetCore.Hosting.Server.Abstractions/internal/index.d.ts +2 -0
- package/Microsoft.AspNetCore.Hosting.Server.Features/internal/index.d.ts +12 -8
- package/Microsoft.AspNetCore.Hosting.StaticWebAssets/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Html/internal/index.d.ts +31 -13
- package/Microsoft.AspNetCore.Http/internal/index.d.ts +408 -199
- package/Microsoft.AspNetCore.Http.Connections/internal/index.d.ts +34 -16
- package/Microsoft.AspNetCore.Http.Connections.Features/internal/index.d.ts +4 -0
- package/Microsoft.AspNetCore.Http.Extensions/internal/index.d.ts +21 -16
- package/Microsoft.AspNetCore.Http.Features/internal/index.d.ts +208 -88
- package/Microsoft.AspNetCore.Http.Features.Authentication/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Http.Headers/internal/index.d.ts +31 -27
- package/Microsoft.AspNetCore.Http.HttpResults/internal/index.d.ts +378 -171
- package/Microsoft.AspNetCore.Http.Json/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Http.Metadata/internal/index.d.ts +74 -26
- package/Microsoft.AspNetCore.Http.Timeouts/internal/index.d.ts +18 -8
- package/Microsoft.AspNetCore.HttpLogging/internal/index.d.ts +23 -11
- package/Microsoft.AspNetCore.HttpOverrides/internal/index.d.ts +23 -13
- package/Microsoft.AspNetCore.HttpsPolicy/internal/index.d.ts +21 -13
- package/Microsoft.AspNetCore.Identity/internal/index.d.ts +725 -456
- package/Microsoft.AspNetCore.Identity.Data/internal/index.d.ts +23 -3
- package/Microsoft.AspNetCore.Identity.UI.Services/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Localization/internal/index.d.ts +57 -27
- package/Microsoft.AspNetCore.Localization.Routing/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc/internal/index.d.ts +724 -205
- package/Microsoft.AspNetCore.Mvc.Abstractions/internal/index.d.ts +27 -13
- package/Microsoft.AspNetCore.Mvc.ActionConstraints/internal/index.d.ts +37 -13
- package/Microsoft.AspNetCore.Mvc.ApiExplorer/internal/index.d.ts +76 -30
- package/Microsoft.AspNetCore.Mvc.ApplicationModels/internal/index.d.ts +244 -125
- package/Microsoft.AspNetCore.Mvc.ApplicationParts/internal/index.d.ts +59 -25
- package/Microsoft.AspNetCore.Mvc.Authorization/internal/index.d.ts +21 -10
- package/Microsoft.AspNetCore.Mvc.Controllers/internal/index.d.ts +51 -24
- package/Microsoft.AspNetCore.Mvc.Core.Infrastructure/internal/index.d.ts +3 -1
- package/Microsoft.AspNetCore.Mvc.Cors/internal/index.d.ts +12 -7
- package/Microsoft.AspNetCore.Mvc.DataAnnotations/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.Diagnostics/internal/index.d.ts +431 -68
- package/Microsoft.AspNetCore.Mvc.Filters/internal/index.d.ts +140 -44
- package/Microsoft.AspNetCore.Mvc.Formatters/internal/index.d.ts +192 -89
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml/internal/index.d.ts +77 -36
- package/Microsoft.AspNetCore.Mvc.Formatters.Xml.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Infrastructure/internal/index.d.ts +162 -66
- package/Microsoft.AspNetCore.Mvc.Localization/internal/index.d.ts +48 -25
- package/Microsoft.AspNetCore.Mvc.ModelBinding/internal/index.d.ts +379 -133
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Binders/internal/index.d.ts +217 -128
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata/internal/index.d.ts +156 -102
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Metadata.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation/internal/index.d.ts +100 -43
- package/Microsoft.AspNetCore.Mvc.ModelBinding.Validation.d.ts +3 -0
- package/Microsoft.AspNetCore.Mvc.Razor/internal/index.d.ts +105 -56
- package/Microsoft.AspNetCore.Mvc.Razor.Compilation/internal/index.d.ts +19 -9
- package/Microsoft.AspNetCore.Mvc.Razor.Infrastructure/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Mvc.Razor.Internal/internal/index.d.ts +4 -2
- package/Microsoft.AspNetCore.Mvc.Razor.TagHelpers/internal/index.d.ts +43 -18
- package/Microsoft.AspNetCore.Mvc.RazorPages/internal/index.d.ts +81 -42
- package/Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure/internal/index.d.ts +70 -37
- package/Microsoft.AspNetCore.Mvc.Rendering/internal/index.d.ts +123 -95
- package/Microsoft.AspNetCore.Mvc.Routing/internal/index.d.ts +57 -25
- package/Microsoft.AspNetCore.Mvc.TagHelpers/internal/index.d.ts +151 -72
- package/Microsoft.AspNetCore.Mvc.TagHelpers.Cache/internal/index.d.ts +41 -23
- package/Microsoft.AspNetCore.Mvc.ViewComponents/internal/index.d.ts +94 -48
- package/Microsoft.AspNetCore.Mvc.ViewEngines/internal/index.d.ts +24 -11
- package/Microsoft.AspNetCore.Mvc.ViewFeatures/internal/index.d.ts +266 -144
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Buffers/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.Mvc.ViewFeatures.Infrastructure/internal/index.d.ts +7 -5
- package/Microsoft.AspNetCore.OutputCaching/internal/index.d.ts +44 -26
- package/Microsoft.AspNetCore.RateLimiting/internal/index.d.ts +22 -12
- package/Microsoft.AspNetCore.Razor.Hosting/internal/index.d.ts +28 -10
- package/Microsoft.AspNetCore.Razor.Runtime.TagHelpers/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Razor.TagHelpers/internal/index.d.ts +100 -31
- package/Microsoft.AspNetCore.RequestDecompression/internal/index.d.ts +11 -5
- package/Microsoft.AspNetCore.ResponseCaching/internal/index.d.ts +18 -10
- package/Microsoft.AspNetCore.ResponseCompression/internal/index.d.ts +64 -29
- package/Microsoft.AspNetCore.Rewrite/internal/index.d.ts +20 -12
- package/Microsoft.AspNetCore.Routing/internal/index.d.ts +291 -131
- package/Microsoft.AspNetCore.Routing.Constraints/internal/index.d.ts +191 -79
- package/Microsoft.AspNetCore.Routing.Internal/internal/index.d.ts +5 -3
- package/Microsoft.AspNetCore.Routing.Matching/internal/index.d.ts +61 -25
- package/Microsoft.AspNetCore.Routing.Patterns/internal/index.d.ts +40 -20
- package/Microsoft.AspNetCore.Routing.Template/internal/index.d.ts +25 -9
- package/Microsoft.AspNetCore.Routing.Tree/internal/index.d.ts +29 -13
- package/Microsoft.AspNetCore.Server.HttpSys/internal/index.d.ts +50 -18
- package/Microsoft.AspNetCore.Server.IIS/internal/index.d.ts +12 -4
- package/Microsoft.AspNetCore.Server.IISIntegration/internal/index.d.ts +17 -11
- package/Microsoft.AspNetCore.Server.Kestrel/internal/index.d.ts +16 -12
- package/Microsoft.AspNetCore.Server.Kestrel.Core/internal/index.d.ts +56 -36
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Features/internal/index.d.ts +17 -3
- package/Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http/internal/index.d.ts +20 -8
- package/Microsoft.AspNetCore.Server.Kestrel.Https/internal/index.d.ts +23 -17
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.NamedPipes/internal/index.d.ts +10 -6
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Quic/internal/index.d.ts +6 -4
- package/Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets/internal/index.d.ts +29 -18
- package/Microsoft.AspNetCore.Session/internal/index.d.ts +32 -22
- package/Microsoft.AspNetCore.SignalR/internal/index.d.ts +191 -91
- package/Microsoft.AspNetCore.SignalR.Protocol/internal/index.d.ts +63 -25
- package/Microsoft.AspNetCore.StaticAssets/internal/index.d.ts +21 -11
- package/Microsoft.AspNetCore.StaticAssets.Infrastructure/internal/index.d.ts +4 -4
- package/Microsoft.AspNetCore.StaticFiles/internal/index.d.ts +38 -22
- package/Microsoft.AspNetCore.StaticFiles.Infrastructure/internal/index.d.ts +7 -3
- package/Microsoft.AspNetCore.WebSockets/internal/index.d.ts +14 -10
- package/Microsoft.AspNetCore.WebSockets.d.ts +3 -0
- package/Microsoft.AspNetCore.WebUtilities/internal/index.d.ts +119 -73
- package/Microsoft.Extensions.DependencyInjection/internal/index.d.ts +135 -123
- package/Microsoft.Extensions.Hosting/internal/index.d.ts +10 -8
- package/Microsoft.Extensions.Hosting.d.ts +3 -0
- package/Microsoft.JSInterop/internal/index.d.ts +95 -52
- package/Microsoft.JSInterop.Implementation/internal/index.d.ts +40 -26
- package/Microsoft.JSInterop.Infrastructure/internal/index.d.ts +10 -2
- package/Microsoft.Net.Http.Headers/internal/index.d.ts +92 -60
- package/System.Formats.Cbor/internal/index.d.ts +29 -21
- package/System.Security.Claims/internal/index.d.ts +3 -3
- package/System.Security.Claims.d.ts +3 -0
- package/System.Threading.RateLimiting/internal/index.d.ts +84 -29
- package/__internal/extensions/index.d.ts +1776 -1190
- package/package.json +4 -4
|
@@ -12,16 +12,18 @@ import type { ptr } from "@tsonic/core/types.js";
|
|
|
12
12
|
import type { AuthenticatedEncryptorConfiguration, CngCbcAuthenticatedEncryptorConfiguration, CngGcmAuthenticatedEncryptorConfiguration, ManagedAuthenticatedEncryptorConfiguration } from "../../Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.js";
|
|
13
13
|
import type { IKeyEscrowSink, KeyManagementOptions } from "../../Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.js";
|
|
14
14
|
import type { DpapiNGProtectionDescriptorFlags } from "../../Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.js";
|
|
15
|
-
import type { RegistryKey } from "@tsonic/dotnet/Microsoft.Win32.js";
|
|
16
|
-
import type {
|
|
17
|
-
import type { DirectoryInfo } from "@tsonic/dotnet/System.IO.js";
|
|
18
|
-
import
|
|
19
|
-
import
|
|
20
|
-
import type {
|
|
21
|
-
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection.js";
|
|
22
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
15
|
+
import type { RegistryKey } from "@tsonic/dotnet/Microsoft.Win32/internal/index.js";
|
|
16
|
+
import type { IEnumerable_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
17
|
+
import type { DirectoryInfo } from "@tsonic/dotnet/System.IO/internal/index.js";
|
|
18
|
+
import type { X509Certificate2 } from "@tsonic/dotnet/System.Security.Cryptography.X509Certificates/internal/index.js";
|
|
19
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
20
|
+
import type { Action_1, ArraySegment_1, Boolean as ClrBoolean, Byte, DateTimeOffset, Func_2, IDisposable, Int32, IServiceProvider, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
21
|
+
import type { IServiceCollection } from "@tsonic/microsoft-extensions/Microsoft.Extensions.DependencyInjection/internal/index.js";
|
|
22
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
23
23
|
|
|
24
24
|
export interface IDataProtectionBuilder$instance {
|
|
25
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_IDataProtectionBuilder: never;
|
|
26
|
+
|
|
25
27
|
readonly Services: IServiceCollection;
|
|
26
28
|
}
|
|
27
29
|
|
|
@@ -29,6 +31,8 @@ export interface IDataProtectionBuilder$instance {
|
|
|
29
31
|
export type IDataProtectionBuilder = IDataProtectionBuilder$instance;
|
|
30
32
|
|
|
31
33
|
export interface IDataProtectionProvider$instance {
|
|
34
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_IDataProtectionProvider: never;
|
|
35
|
+
|
|
32
36
|
CreateProtector(purpose: string): IDataProtector;
|
|
33
37
|
}
|
|
34
38
|
|
|
@@ -36,6 +40,8 @@ export interface IDataProtectionProvider$instance {
|
|
|
36
40
|
export type IDataProtectionProvider = IDataProtectionProvider$instance;
|
|
37
41
|
|
|
38
42
|
export interface IDataProtector$instance extends IDataProtectionProvider {
|
|
43
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_IDataProtector: never;
|
|
44
|
+
|
|
39
45
|
CreateProtector(purpose: string): IDataProtector;
|
|
40
46
|
Protect(plaintext: byte[]): byte[];
|
|
41
47
|
}
|
|
@@ -46,6 +52,8 @@ export interface IDataProtector$instance extends IDataProtectionProvider$instanc
|
|
|
46
52
|
export type IDataProtector = IDataProtector$instance;
|
|
47
53
|
|
|
48
54
|
export interface IPersistedDataProtector$instance extends IDataProtector, IDataProtectionProvider {
|
|
55
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_IPersistedDataProtector: never;
|
|
56
|
+
|
|
49
57
|
CreateProtector(purpose: string): IDataProtector;
|
|
50
58
|
DangerousUnprotect(protectedData: byte[], ignoreRevocationErrors: boolean, requiresMigration: boolean, wasRevoked: boolean): byte[];
|
|
51
59
|
Protect(plaintext: byte[]): byte[];
|
|
@@ -55,14 +63,20 @@ export interface IPersistedDataProtector$instance extends IDataProtector, IDataP
|
|
|
55
63
|
export type IPersistedDataProtector = IPersistedDataProtector$instance;
|
|
56
64
|
|
|
57
65
|
export interface ISecret$instance extends IDisposable {
|
|
66
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_ISecret: never;
|
|
67
|
+
|
|
58
68
|
readonly Length: int;
|
|
59
|
-
WriteSecretIntoBuffer(buffer:
|
|
69
|
+
WriteSecretIntoBuffer(buffer: ArraySegment_1<System_Internal.Byte>): void;
|
|
60
70
|
}
|
|
61
71
|
|
|
62
72
|
|
|
73
|
+
export interface ISecret$instance extends System_Internal.IDisposable {}
|
|
74
|
+
|
|
63
75
|
export type ISecret = ISecret$instance;
|
|
64
76
|
|
|
65
77
|
export interface ITimeLimitedDataProtector$instance extends IDataProtector, IDataProtectionProvider {
|
|
78
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_ITimeLimitedDataProtector: never;
|
|
79
|
+
|
|
66
80
|
CreateProtector(purpose: string): IDataProtector;
|
|
67
81
|
CreateProtector(purpose: string): ITimeLimitedDataProtector;
|
|
68
82
|
Protect(plaintext: byte[]): byte[];
|
|
@@ -74,6 +88,8 @@ export interface ITimeLimitedDataProtector$instance extends IDataProtector, IDat
|
|
|
74
88
|
export type ITimeLimitedDataProtector = ITimeLimitedDataProtector$instance;
|
|
75
89
|
|
|
76
90
|
export interface DataProtectionOptions$instance {
|
|
91
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_DataProtectionOptions: never;
|
|
92
|
+
|
|
77
93
|
get ApplicationDiscriminator(): string | undefined;
|
|
78
94
|
set ApplicationDiscriminator(value: string | undefined);
|
|
79
95
|
}
|
|
@@ -86,7 +102,11 @@ export const DataProtectionOptions: {
|
|
|
86
102
|
|
|
87
103
|
export type DataProtectionOptions = DataProtectionOptions$instance;
|
|
88
104
|
|
|
89
|
-
export interface EphemeralDataProtectionProvider$instance {
|
|
105
|
+
export interface EphemeralDataProtectionProvider$instance extends IDataProtectionProvider$instance {
|
|
106
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_EphemeralDataProtectionProvider: never;
|
|
107
|
+
|
|
108
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_IDataProtectionProvider: never;
|
|
109
|
+
|
|
90
110
|
CreateProtector(purpose: string): IDataProtector;
|
|
91
111
|
}
|
|
92
112
|
|
|
@@ -101,21 +121,24 @@ export interface __EphemeralDataProtectionProvider$views {
|
|
|
101
121
|
As_IDataProtectionProvider(): IDataProtectionProvider$instance;
|
|
102
122
|
}
|
|
103
123
|
|
|
104
|
-
export interface EphemeralDataProtectionProvider$instance extends IDataProtectionProvider$instance {}
|
|
105
|
-
|
|
106
124
|
export type EphemeralDataProtectionProvider = EphemeralDataProtectionProvider$instance & __EphemeralDataProtectionProvider$views;
|
|
107
125
|
|
|
108
126
|
|
|
109
127
|
export interface Secret$instance {
|
|
128
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_Secret: never;
|
|
129
|
+
|
|
130
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_ISecret: never;
|
|
131
|
+
readonly __tsonic_iface_System_IDisposable: never;
|
|
132
|
+
|
|
110
133
|
readonly Length: int;
|
|
111
134
|
Dispose(): void;
|
|
112
|
-
WriteSecretIntoBuffer(buffer:
|
|
135
|
+
WriteSecretIntoBuffer(buffer: ArraySegment_1<System_Internal.Byte>): void;
|
|
113
136
|
WriteSecretIntoBuffer(buffer: ptr<byte>, bufferLength: int): void;
|
|
114
137
|
}
|
|
115
138
|
|
|
116
139
|
|
|
117
140
|
export const Secret: {
|
|
118
|
-
new(value:
|
|
141
|
+
new(value: ArraySegment_1<System_Internal.Byte>): Secret;
|
|
119
142
|
new(value: byte[]): Secret;
|
|
120
143
|
new(secret: ptr<byte>, secretLength: int): Secret;
|
|
121
144
|
new(secret: ISecret): Secret;
|
|
@@ -143,9 +166,9 @@ export type DataProtectionAdvancedExtensions = DataProtectionAdvancedExtensions$
|
|
|
143
166
|
|
|
144
167
|
export abstract class DataProtectionBuilderExtensions$instance {
|
|
145
168
|
static AddKeyEscrowSink(builder: IDataProtectionBuilder, sink: IKeyEscrowSink): IDataProtectionBuilder;
|
|
146
|
-
static AddKeyEscrowSink(builder: IDataProtectionBuilder, factory:
|
|
169
|
+
static AddKeyEscrowSink(builder: IDataProtectionBuilder, factory: Func_2<IServiceProvider, IKeyEscrowSink>): IDataProtectionBuilder;
|
|
147
170
|
static AddKeyEscrowSink<TImplementation extends IKeyEscrowSink>(builder: IDataProtectionBuilder): IDataProtectionBuilder;
|
|
148
|
-
static AddKeyManagementOptions(builder: IDataProtectionBuilder, setupAction:
|
|
171
|
+
static AddKeyManagementOptions(builder: IDataProtectionBuilder, setupAction: Action_1<KeyManagementOptions>): IDataProtectionBuilder;
|
|
149
172
|
static DisableAutomaticKeyGeneration(builder: IDataProtectionBuilder): IDataProtectionBuilder;
|
|
150
173
|
static PersistKeysToFileSystem(builder: IDataProtectionBuilder, directory: DirectoryInfo): IDataProtectionBuilder;
|
|
151
174
|
static PersistKeysToRegistry(builder: IDataProtectionBuilder, registryKey: RegistryKey): IDataProtectionBuilder;
|
|
@@ -169,10 +192,10 @@ export abstract class DataProtectionBuilderExtensions$instance {
|
|
|
169
192
|
export type DataProtectionBuilderExtensions = DataProtectionBuilderExtensions$instance;
|
|
170
193
|
|
|
171
194
|
export abstract class DataProtectionCommonExtensions$instance {
|
|
172
|
-
static CreateProtector(provider: IDataProtectionProvider, purposes:
|
|
195
|
+
static CreateProtector(provider: IDataProtectionProvider, purposes: IEnumerable_1<System_Internal.String>): IDataProtector;
|
|
173
196
|
static CreateProtector(provider: IDataProtectionProvider, purpose: string, ...subPurposes: string[]): IDataProtector;
|
|
174
197
|
static GetDataProtectionProvider(services: IServiceProvider): IDataProtectionProvider;
|
|
175
|
-
static GetDataProtector(services: IServiceProvider, purposes:
|
|
198
|
+
static GetDataProtector(services: IServiceProvider, purposes: IEnumerable_1<System_Internal.String>): IDataProtector;
|
|
176
199
|
static GetDataProtector(services: IServiceProvider, purpose: string, ...subPurposes: string[]): IDataProtector;
|
|
177
200
|
static Protect(protector: IDataProtector, plaintext: string): string;
|
|
178
201
|
static Unprotect(protector: IDataProtector, protectedData: string): string;
|
|
@@ -182,8 +205,8 @@ export abstract class DataProtectionCommonExtensions$instance {
|
|
|
182
205
|
export type DataProtectionCommonExtensions = DataProtectionCommonExtensions$instance;
|
|
183
206
|
|
|
184
207
|
export abstract class DataProtectionProvider$instance {
|
|
185
|
-
static Create(keyDirectory: DirectoryInfo, setupAction:
|
|
186
|
-
static Create(keyDirectory: DirectoryInfo, setupAction:
|
|
208
|
+
static Create(keyDirectory: DirectoryInfo, setupAction: Action_1<IDataProtectionBuilder>, certificate: X509Certificate2): IDataProtectionProvider;
|
|
209
|
+
static Create(keyDirectory: DirectoryInfo, setupAction: Action_1<IDataProtectionBuilder>): IDataProtectionProvider;
|
|
187
210
|
static Create(keyDirectory: DirectoryInfo, certificate: X509Certificate2): IDataProtectionProvider;
|
|
188
211
|
static Create(keyDirectory: DirectoryInfo): IDataProtectionProvider;
|
|
189
212
|
static Create(applicationName: string, certificate: X509Certificate2): IDataProtectionProvider;
|
|
@@ -7,9 +7,9 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { IKey } from "../../Microsoft.AspNetCore.DataProtection.KeyManagement/internal/index.js";
|
|
10
|
-
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
11
|
-
import type {
|
|
12
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
10
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
11
|
+
import type { ArraySegment_1, Byte, Enum, IComparable, IConvertible, IFormattable, Int32, ISpanFormattable, Object as ClrObject } from "@tsonic/dotnet/System/internal/index.js";
|
|
12
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
13
13
|
|
|
14
14
|
export enum EncryptionAlgorithm {
|
|
15
15
|
AES_128_CBC = 0,
|
|
@@ -28,20 +28,28 @@ export enum ValidationAlgorithm {
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
export interface IAuthenticatedEncryptor$instance {
|
|
31
|
-
|
|
31
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptor: never;
|
|
32
|
+
|
|
33
|
+
Decrypt(ciphertext: ArraySegment_1<System_Internal.Byte>, additionalAuthenticatedData: ArraySegment_1<System_Internal.Byte>): byte[];
|
|
32
34
|
}
|
|
33
35
|
|
|
34
36
|
|
|
35
37
|
export type IAuthenticatedEncryptor = IAuthenticatedEncryptor$instance;
|
|
36
38
|
|
|
37
39
|
export interface IAuthenticatedEncryptorFactory$instance {
|
|
40
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
|
|
41
|
+
|
|
38
42
|
CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
|
|
39
43
|
}
|
|
40
44
|
|
|
41
45
|
|
|
42
46
|
export type IAuthenticatedEncryptorFactory = IAuthenticatedEncryptorFactory$instance;
|
|
43
47
|
|
|
44
|
-
export interface AuthenticatedEncryptorFactory$instance {
|
|
48
|
+
export interface AuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {
|
|
49
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_AuthenticatedEncryptorFactory: never;
|
|
50
|
+
|
|
51
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
|
|
52
|
+
|
|
45
53
|
CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
|
|
46
54
|
}
|
|
47
55
|
|
|
@@ -55,12 +63,14 @@ export interface __AuthenticatedEncryptorFactory$views {
|
|
|
55
63
|
As_IAuthenticatedEncryptorFactory(): IAuthenticatedEncryptorFactory$instance;
|
|
56
64
|
}
|
|
57
65
|
|
|
58
|
-
export interface AuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {}
|
|
59
|
-
|
|
60
66
|
export type AuthenticatedEncryptorFactory = AuthenticatedEncryptorFactory$instance & __AuthenticatedEncryptorFactory$views;
|
|
61
67
|
|
|
62
68
|
|
|
63
|
-
export interface CngCbcAuthenticatedEncryptorFactory$instance {
|
|
69
|
+
export interface CngCbcAuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {
|
|
70
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_CngCbcAuthenticatedEncryptorFactory: never;
|
|
71
|
+
|
|
72
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
|
|
73
|
+
|
|
64
74
|
CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
|
|
65
75
|
}
|
|
66
76
|
|
|
@@ -74,12 +84,14 @@ export interface __CngCbcAuthenticatedEncryptorFactory$views {
|
|
|
74
84
|
As_IAuthenticatedEncryptorFactory(): IAuthenticatedEncryptorFactory$instance;
|
|
75
85
|
}
|
|
76
86
|
|
|
77
|
-
export interface CngCbcAuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {}
|
|
78
|
-
|
|
79
87
|
export type CngCbcAuthenticatedEncryptorFactory = CngCbcAuthenticatedEncryptorFactory$instance & __CngCbcAuthenticatedEncryptorFactory$views;
|
|
80
88
|
|
|
81
89
|
|
|
82
|
-
export interface CngGcmAuthenticatedEncryptorFactory$instance {
|
|
90
|
+
export interface CngGcmAuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {
|
|
91
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_CngGcmAuthenticatedEncryptorFactory: never;
|
|
92
|
+
|
|
93
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
|
|
94
|
+
|
|
83
95
|
CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
|
|
84
96
|
}
|
|
85
97
|
|
|
@@ -93,12 +105,14 @@ export interface __CngGcmAuthenticatedEncryptorFactory$views {
|
|
|
93
105
|
As_IAuthenticatedEncryptorFactory(): IAuthenticatedEncryptorFactory$instance;
|
|
94
106
|
}
|
|
95
107
|
|
|
96
|
-
export interface CngGcmAuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {}
|
|
97
|
-
|
|
98
108
|
export type CngGcmAuthenticatedEncryptorFactory = CngGcmAuthenticatedEncryptorFactory$instance & __CngGcmAuthenticatedEncryptorFactory$views;
|
|
99
109
|
|
|
100
110
|
|
|
101
|
-
export interface ManagedAuthenticatedEncryptorFactory$instance {
|
|
111
|
+
export interface ManagedAuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {
|
|
112
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ManagedAuthenticatedEncryptorFactory: never;
|
|
113
|
+
|
|
114
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_IAuthenticatedEncryptorFactory: never;
|
|
115
|
+
|
|
102
116
|
CreateEncryptorInstance(key: IKey): IAuthenticatedEncryptor | undefined;
|
|
103
117
|
}
|
|
104
118
|
|
|
@@ -112,8 +126,6 @@ export interface __ManagedAuthenticatedEncryptorFactory$views {
|
|
|
112
126
|
As_IAuthenticatedEncryptorFactory(): IAuthenticatedEncryptorFactory$instance;
|
|
113
127
|
}
|
|
114
128
|
|
|
115
|
-
export interface ManagedAuthenticatedEncryptorFactory$instance extends IAuthenticatedEncryptorFactory$instance {}
|
|
116
|
-
|
|
117
129
|
export type ManagedAuthenticatedEncryptorFactory = ManagedAuthenticatedEncryptorFactory$instance & __ManagedAuthenticatedEncryptorFactory$views;
|
|
118
130
|
|
|
119
131
|
|
|
@@ -8,11 +8,13 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import type { EncryptionAlgorithm, ValidationAlgorithm } from "../../Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption/internal/index.js";
|
|
10
10
|
import type { ISecret } from "../../Microsoft.AspNetCore.DataProtection/internal/index.js";
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import type {
|
|
11
|
+
import type { XElement } from "@tsonic/dotnet/System.Xml.Linq/internal/index.js";
|
|
12
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
13
|
+
import type { Int32, Object as ClrObject, String as ClrString, Type, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
14
14
|
|
|
15
15
|
export interface IAuthenticatedEncryptorDescriptor$instance {
|
|
16
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptor: never;
|
|
17
|
+
|
|
16
18
|
ExportToXml(): XmlSerializedDescriptorInfo;
|
|
17
19
|
}
|
|
18
20
|
|
|
@@ -20,6 +22,8 @@ export interface IAuthenticatedEncryptorDescriptor$instance {
|
|
|
20
22
|
export type IAuthenticatedEncryptorDescriptor = IAuthenticatedEncryptorDescriptor$instance;
|
|
21
23
|
|
|
22
24
|
export interface IAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
25
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
26
|
+
|
|
23
27
|
ImportFromXml(element: XElement): IAuthenticatedEncryptorDescriptor;
|
|
24
28
|
}
|
|
25
29
|
|
|
@@ -27,6 +31,8 @@ export interface IAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
|
27
31
|
export type IAuthenticatedEncryptorDescriptorDeserializer = IAuthenticatedEncryptorDescriptorDeserializer$instance;
|
|
28
32
|
|
|
29
33
|
export interface AlgorithmConfiguration$instance {
|
|
34
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_AlgorithmConfiguration: never;
|
|
35
|
+
|
|
30
36
|
CreateNewDescriptor(): IAuthenticatedEncryptorDescriptor;
|
|
31
37
|
}
|
|
32
38
|
|
|
@@ -38,6 +44,8 @@ export const AlgorithmConfiguration: (abstract new() => AlgorithmConfiguration)
|
|
|
38
44
|
export type AlgorithmConfiguration = AlgorithmConfiguration$instance;
|
|
39
45
|
|
|
40
46
|
export interface AuthenticatedEncryptorConfiguration$instance extends AlgorithmConfiguration {
|
|
47
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_AuthenticatedEncryptorConfiguration: never;
|
|
48
|
+
|
|
41
49
|
EncryptionAlgorithm: EncryptionAlgorithm;
|
|
42
50
|
ValidationAlgorithm: ValidationAlgorithm;
|
|
43
51
|
CreateNewDescriptor(): IAuthenticatedEncryptorDescriptor;
|
|
@@ -51,7 +59,11 @@ export const AuthenticatedEncryptorConfiguration: {
|
|
|
51
59
|
|
|
52
60
|
export type AuthenticatedEncryptorConfiguration = AuthenticatedEncryptorConfiguration$instance;
|
|
53
61
|
|
|
54
|
-
export interface AuthenticatedEncryptorDescriptor$instance {
|
|
62
|
+
export interface AuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {
|
|
63
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_AuthenticatedEncryptorDescriptor: never;
|
|
64
|
+
|
|
65
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptor: never;
|
|
66
|
+
|
|
55
67
|
ExportToXml(): XmlSerializedDescriptorInfo;
|
|
56
68
|
}
|
|
57
69
|
|
|
@@ -65,12 +77,14 @@ export interface __AuthenticatedEncryptorDescriptor$views {
|
|
|
65
77
|
As_IAuthenticatedEncryptorDescriptor(): IAuthenticatedEncryptorDescriptor$instance;
|
|
66
78
|
}
|
|
67
79
|
|
|
68
|
-
export interface AuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {}
|
|
69
|
-
|
|
70
80
|
export type AuthenticatedEncryptorDescriptor = AuthenticatedEncryptorDescriptor$instance & __AuthenticatedEncryptorDescriptor$views;
|
|
71
81
|
|
|
72
82
|
|
|
73
|
-
export interface AuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
83
|
+
export interface AuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
84
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_AuthenticatedEncryptorDescriptorDeserializer: never;
|
|
85
|
+
|
|
86
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
87
|
+
|
|
74
88
|
ImportFromXml(element: XElement): IAuthenticatedEncryptorDescriptor;
|
|
75
89
|
}
|
|
76
90
|
|
|
@@ -84,12 +98,12 @@ export interface __AuthenticatedEncryptorDescriptorDeserializer$views {
|
|
|
84
98
|
As_IAuthenticatedEncryptorDescriptorDeserializer(): IAuthenticatedEncryptorDescriptorDeserializer$instance;
|
|
85
99
|
}
|
|
86
100
|
|
|
87
|
-
export interface AuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {}
|
|
88
|
-
|
|
89
101
|
export type AuthenticatedEncryptorDescriptorDeserializer = AuthenticatedEncryptorDescriptorDeserializer$instance & __AuthenticatedEncryptorDescriptorDeserializer$views;
|
|
90
102
|
|
|
91
103
|
|
|
92
104
|
export interface CngCbcAuthenticatedEncryptorConfiguration$instance extends AlgorithmConfiguration {
|
|
105
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_CngCbcAuthenticatedEncryptorConfiguration: never;
|
|
106
|
+
|
|
93
107
|
EncryptionAlgorithm: string;
|
|
94
108
|
EncryptionAlgorithmKeySize: int;
|
|
95
109
|
get EncryptionAlgorithmProvider(): string | undefined;
|
|
@@ -108,7 +122,11 @@ export const CngCbcAuthenticatedEncryptorConfiguration: {
|
|
|
108
122
|
|
|
109
123
|
export type CngCbcAuthenticatedEncryptorConfiguration = CngCbcAuthenticatedEncryptorConfiguration$instance;
|
|
110
124
|
|
|
111
|
-
export interface CngCbcAuthenticatedEncryptorDescriptor$instance {
|
|
125
|
+
export interface CngCbcAuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {
|
|
126
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_CngCbcAuthenticatedEncryptorDescriptor: never;
|
|
127
|
+
|
|
128
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptor: never;
|
|
129
|
+
|
|
112
130
|
ExportToXml(): XmlSerializedDescriptorInfo;
|
|
113
131
|
}
|
|
114
132
|
|
|
@@ -122,12 +140,14 @@ export interface __CngCbcAuthenticatedEncryptorDescriptor$views {
|
|
|
122
140
|
As_IAuthenticatedEncryptorDescriptor(): IAuthenticatedEncryptorDescriptor$instance;
|
|
123
141
|
}
|
|
124
142
|
|
|
125
|
-
export interface CngCbcAuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {}
|
|
126
|
-
|
|
127
143
|
export type CngCbcAuthenticatedEncryptorDescriptor = CngCbcAuthenticatedEncryptorDescriptor$instance & __CngCbcAuthenticatedEncryptorDescriptor$views;
|
|
128
144
|
|
|
129
145
|
|
|
130
|
-
export interface CngCbcAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
146
|
+
export interface CngCbcAuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
147
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_CngCbcAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
148
|
+
|
|
149
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
150
|
+
|
|
131
151
|
ImportFromXml(element: XElement): IAuthenticatedEncryptorDescriptor;
|
|
132
152
|
}
|
|
133
153
|
|
|
@@ -141,12 +161,12 @@ export interface __CngCbcAuthenticatedEncryptorDescriptorDeserializer$views {
|
|
|
141
161
|
As_IAuthenticatedEncryptorDescriptorDeserializer(): IAuthenticatedEncryptorDescriptorDeserializer$instance;
|
|
142
162
|
}
|
|
143
163
|
|
|
144
|
-
export interface CngCbcAuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {}
|
|
145
|
-
|
|
146
164
|
export type CngCbcAuthenticatedEncryptorDescriptorDeserializer = CngCbcAuthenticatedEncryptorDescriptorDeserializer$instance & __CngCbcAuthenticatedEncryptorDescriptorDeserializer$views;
|
|
147
165
|
|
|
148
166
|
|
|
149
167
|
export interface CngGcmAuthenticatedEncryptorConfiguration$instance extends AlgorithmConfiguration {
|
|
168
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_CngGcmAuthenticatedEncryptorConfiguration: never;
|
|
169
|
+
|
|
150
170
|
EncryptionAlgorithm: string;
|
|
151
171
|
EncryptionAlgorithmKeySize: int;
|
|
152
172
|
get EncryptionAlgorithmProvider(): string | undefined;
|
|
@@ -162,7 +182,11 @@ export const CngGcmAuthenticatedEncryptorConfiguration: {
|
|
|
162
182
|
|
|
163
183
|
export type CngGcmAuthenticatedEncryptorConfiguration = CngGcmAuthenticatedEncryptorConfiguration$instance;
|
|
164
184
|
|
|
165
|
-
export interface CngGcmAuthenticatedEncryptorDescriptor$instance {
|
|
185
|
+
export interface CngGcmAuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {
|
|
186
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_CngGcmAuthenticatedEncryptorDescriptor: never;
|
|
187
|
+
|
|
188
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptor: never;
|
|
189
|
+
|
|
166
190
|
ExportToXml(): XmlSerializedDescriptorInfo;
|
|
167
191
|
}
|
|
168
192
|
|
|
@@ -176,12 +200,14 @@ export interface __CngGcmAuthenticatedEncryptorDescriptor$views {
|
|
|
176
200
|
As_IAuthenticatedEncryptorDescriptor(): IAuthenticatedEncryptorDescriptor$instance;
|
|
177
201
|
}
|
|
178
202
|
|
|
179
|
-
export interface CngGcmAuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {}
|
|
180
|
-
|
|
181
203
|
export type CngGcmAuthenticatedEncryptorDescriptor = CngGcmAuthenticatedEncryptorDescriptor$instance & __CngGcmAuthenticatedEncryptorDescriptor$views;
|
|
182
204
|
|
|
183
205
|
|
|
184
|
-
export interface CngGcmAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
206
|
+
export interface CngGcmAuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
207
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_CngGcmAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
208
|
+
|
|
209
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
210
|
+
|
|
185
211
|
ImportFromXml(element: XElement): IAuthenticatedEncryptorDescriptor;
|
|
186
212
|
}
|
|
187
213
|
|
|
@@ -195,12 +221,12 @@ export interface __CngGcmAuthenticatedEncryptorDescriptorDeserializer$views {
|
|
|
195
221
|
As_IAuthenticatedEncryptorDescriptorDeserializer(): IAuthenticatedEncryptorDescriptorDeserializer$instance;
|
|
196
222
|
}
|
|
197
223
|
|
|
198
|
-
export interface CngGcmAuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {}
|
|
199
|
-
|
|
200
224
|
export type CngGcmAuthenticatedEncryptorDescriptorDeserializer = CngGcmAuthenticatedEncryptorDescriptorDeserializer$instance & __CngGcmAuthenticatedEncryptorDescriptorDeserializer$views;
|
|
201
225
|
|
|
202
226
|
|
|
203
227
|
export interface ManagedAuthenticatedEncryptorConfiguration$instance extends AlgorithmConfiguration {
|
|
228
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_ManagedAuthenticatedEncryptorConfiguration: never;
|
|
229
|
+
|
|
204
230
|
EncryptionAlgorithmKeySize: int;
|
|
205
231
|
EncryptionAlgorithmType: Type;
|
|
206
232
|
ValidationAlgorithmType: Type;
|
|
@@ -215,7 +241,11 @@ export const ManagedAuthenticatedEncryptorConfiguration: {
|
|
|
215
241
|
|
|
216
242
|
export type ManagedAuthenticatedEncryptorConfiguration = ManagedAuthenticatedEncryptorConfiguration$instance;
|
|
217
243
|
|
|
218
|
-
export interface ManagedAuthenticatedEncryptorDescriptor$instance {
|
|
244
|
+
export interface ManagedAuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {
|
|
245
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_ManagedAuthenticatedEncryptorDescriptor: never;
|
|
246
|
+
|
|
247
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptor: never;
|
|
248
|
+
|
|
219
249
|
ExportToXml(): XmlSerializedDescriptorInfo;
|
|
220
250
|
}
|
|
221
251
|
|
|
@@ -229,12 +259,14 @@ export interface __ManagedAuthenticatedEncryptorDescriptor$views {
|
|
|
229
259
|
As_IAuthenticatedEncryptorDescriptor(): IAuthenticatedEncryptorDescriptor$instance;
|
|
230
260
|
}
|
|
231
261
|
|
|
232
|
-
export interface ManagedAuthenticatedEncryptorDescriptor$instance extends IAuthenticatedEncryptorDescriptor$instance {}
|
|
233
|
-
|
|
234
262
|
export type ManagedAuthenticatedEncryptorDescriptor = ManagedAuthenticatedEncryptorDescriptor$instance & __ManagedAuthenticatedEncryptorDescriptor$views;
|
|
235
263
|
|
|
236
264
|
|
|
237
|
-
export interface ManagedAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
265
|
+
export interface ManagedAuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {
|
|
266
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_ManagedAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
267
|
+
|
|
268
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_IAuthenticatedEncryptorDescriptorDeserializer: never;
|
|
269
|
+
|
|
238
270
|
ImportFromXml(element: XElement): IAuthenticatedEncryptorDescriptor;
|
|
239
271
|
}
|
|
240
272
|
|
|
@@ -248,12 +280,12 @@ export interface __ManagedAuthenticatedEncryptorDescriptorDeserializer$views {
|
|
|
248
280
|
As_IAuthenticatedEncryptorDescriptorDeserializer(): IAuthenticatedEncryptorDescriptorDeserializer$instance;
|
|
249
281
|
}
|
|
250
282
|
|
|
251
|
-
export interface ManagedAuthenticatedEncryptorDescriptorDeserializer$instance extends IAuthenticatedEncryptorDescriptorDeserializer$instance {}
|
|
252
|
-
|
|
253
283
|
export type ManagedAuthenticatedEncryptorDescriptorDeserializer = ManagedAuthenticatedEncryptorDescriptorDeserializer$instance & __ManagedAuthenticatedEncryptorDescriptorDeserializer$views;
|
|
254
284
|
|
|
255
285
|
|
|
256
286
|
export interface XmlSerializedDescriptorInfo$instance {
|
|
287
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel_XmlSerializedDescriptorInfo: never;
|
|
288
|
+
|
|
257
289
|
readonly DeserializerType: Type;
|
|
258
290
|
readonly SerializedDescriptorElement: XElement;
|
|
259
291
|
}
|
|
@@ -29,3 +29,6 @@ export { ManagedAuthenticatedEncryptorDescriptor as ManagedAuthenticatedEncrypto
|
|
|
29
29
|
export { ManagedAuthenticatedEncryptorDescriptorDeserializer as ManagedAuthenticatedEncryptorDescriptorDeserializer } from './Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.js';
|
|
30
30
|
export { XmlExtensions$instance as XmlExtensions } from './Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.js';
|
|
31
31
|
export { XmlSerializedDescriptorInfo as XmlSerializedDescriptorInfo } from './Microsoft.AspNetCore.DataProtection.AuthenticatedEncryption.ConfigurationModel/internal/index.js';
|
|
32
|
+
// Extension methods (C# using semantics)
|
|
33
|
+
export type { ExtensionMethods_Microsoft_AspNetCore_DataProtection_AuthenticatedEncryption_ConfigurationModel as ExtensionMethods } from './__internal/extensions/index.js';
|
|
34
|
+
|
|
@@ -7,9 +7,11 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type { String as ClrString } from "@tsonic/dotnet/System.js";
|
|
10
|
+
import type { String as ClrString } from "@tsonic/dotnet/System/internal/index.js";
|
|
11
11
|
|
|
12
12
|
export interface IApplicationDiscriminator$instance {
|
|
13
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_Infrastructure_IApplicationDiscriminator: never;
|
|
14
|
+
|
|
13
15
|
readonly Discriminator: string | undefined;
|
|
14
16
|
}
|
|
15
17
|
|
|
@@ -7,9 +7,11 @@ import type { sbyte, byte, short, ushort, int, uint, long, ulong, int128, uint12
|
|
|
7
7
|
|
|
8
8
|
// Import types from other namespaces
|
|
9
9
|
import * as System_Internal from "@tsonic/dotnet/System.js";
|
|
10
|
-
import type { Object as ClrObject, String as ClrString, Type } from "@tsonic/dotnet/System.js";
|
|
10
|
+
import type { Object as ClrObject, String as ClrString, Type } from "@tsonic/dotnet/System/internal/index.js";
|
|
11
11
|
|
|
12
12
|
export interface IActivator$instance {
|
|
13
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_Internal_IActivator: never;
|
|
14
|
+
|
|
13
15
|
CreateInstance(expectedBaseType: Type, implementationTypeName: string): unknown;
|
|
14
16
|
}
|
|
15
17
|
|
|
@@ -11,19 +11,21 @@ import type { IAuthenticatedEncryptor, IAuthenticatedEncryptorFactory } from "..
|
|
|
11
11
|
import type { IActivator } from "../../Microsoft.AspNetCore.DataProtection.Internal/internal/index.js";
|
|
12
12
|
import type { IXmlRepository } from "../../Microsoft.AspNetCore.DataProtection.Repositories/internal/index.js";
|
|
13
13
|
import type { IXmlEncryptor } from "../../Microsoft.AspNetCore.DataProtection.XmlEncryption/internal/index.js";
|
|
14
|
-
import type {
|
|
15
|
-
import
|
|
16
|
-
import type {
|
|
17
|
-
import
|
|
18
|
-
import type {
|
|
19
|
-
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging.js";
|
|
20
|
-
import type {
|
|
14
|
+
import type { IList_1, IReadOnlyCollection_1 } from "@tsonic/dotnet/System.Collections.Generic/internal/index.js";
|
|
15
|
+
import type { CancellationToken } from "@tsonic/dotnet/System.Threading/internal/index.js";
|
|
16
|
+
import type { XElement } from "@tsonic/dotnet/System.Xml.Linq/internal/index.js";
|
|
17
|
+
import * as System_Internal from "@tsonic/dotnet/System/internal/index.js";
|
|
18
|
+
import type { Boolean as ClrBoolean, DateTimeOffset, Func_2, Guid, Object as ClrObject, String as ClrString, TimeSpan, Void } from "@tsonic/dotnet/System/internal/index.js";
|
|
19
|
+
import type { ILoggerFactory } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Logging/internal/index.js";
|
|
20
|
+
import type { IOptions_1 } from "@tsonic/microsoft-extensions/Microsoft.Extensions.Options/internal/index.js";
|
|
21
21
|
|
|
22
22
|
export interface IDeletableKeyManager$instance extends IKeyManager {
|
|
23
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_KeyManagement_IDeletableKeyManager: never;
|
|
24
|
+
|
|
23
25
|
readonly CanDeleteKeys: boolean;
|
|
24
26
|
CreateNewKey(activationDate: DateTimeOffset, expirationDate: DateTimeOffset): IKey;
|
|
25
|
-
DeleteKeys(shouldDelete:
|
|
26
|
-
GetAllKeys():
|
|
27
|
+
DeleteKeys(shouldDelete: Func_2<IKey, System_Internal.Boolean>): boolean;
|
|
28
|
+
GetAllKeys(): IReadOnlyCollection_1<IKey>;
|
|
27
29
|
GetCacheExpirationToken(): CancellationToken;
|
|
28
30
|
RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string): void;
|
|
29
31
|
RevokeKey(keyId: Guid, reason?: string): void;
|
|
@@ -35,6 +37,8 @@ export interface IDeletableKeyManager$instance extends IKeyManager$instance {}
|
|
|
35
37
|
export type IDeletableKeyManager = IDeletableKeyManager$instance;
|
|
36
38
|
|
|
37
39
|
export interface IKey$instance {
|
|
40
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_KeyManagement_IKey: never;
|
|
41
|
+
|
|
38
42
|
readonly ActivationDate: DateTimeOffset;
|
|
39
43
|
readonly CreationDate: DateTimeOffset;
|
|
40
44
|
readonly ExpirationDate: DateTimeOffset;
|
|
@@ -48,6 +52,8 @@ export interface IKey$instance {
|
|
|
48
52
|
export type IKey = IKey$instance;
|
|
49
53
|
|
|
50
54
|
export interface IKeyEscrowSink$instance {
|
|
55
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_KeyManagement_IKeyEscrowSink: never;
|
|
56
|
+
|
|
51
57
|
Store(keyId: Guid, element: XElement): void;
|
|
52
58
|
}
|
|
53
59
|
|
|
@@ -55,8 +61,10 @@ export interface IKeyEscrowSink$instance {
|
|
|
55
61
|
export type IKeyEscrowSink = IKeyEscrowSink$instance;
|
|
56
62
|
|
|
57
63
|
export interface IKeyManager$instance {
|
|
64
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_KeyManagement_IKeyManager: never;
|
|
65
|
+
|
|
58
66
|
CreateNewKey(activationDate: DateTimeOffset, expirationDate: DateTimeOffset): IKey;
|
|
59
|
-
GetAllKeys():
|
|
67
|
+
GetAllKeys(): IReadOnlyCollection_1<IKey>;
|
|
60
68
|
GetCacheExpirationToken(): CancellationToken;
|
|
61
69
|
RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string): void;
|
|
62
70
|
RevokeKey(keyId: Guid, reason?: string): void;
|
|
@@ -66,11 +74,13 @@ export interface IKeyManager$instance {
|
|
|
66
74
|
export type IKeyManager = IKeyManager$instance;
|
|
67
75
|
|
|
68
76
|
export interface KeyManagementOptions$instance {
|
|
77
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_KeyManagement_KeyManagementOptions: never;
|
|
78
|
+
|
|
69
79
|
get AuthenticatedEncryptorConfiguration(): AlgorithmConfiguration | undefined;
|
|
70
80
|
set AuthenticatedEncryptorConfiguration(value: AlgorithmConfiguration | undefined);
|
|
71
|
-
readonly AuthenticatedEncryptorFactories:
|
|
81
|
+
readonly AuthenticatedEncryptorFactories: IList_1<IAuthenticatedEncryptorFactory>;
|
|
72
82
|
AutoGenerateKeys: boolean;
|
|
73
|
-
readonly KeyEscrowSinks:
|
|
83
|
+
readonly KeyEscrowSinks: IList_1<IKeyEscrowSink>;
|
|
74
84
|
NewKeyLifetime: TimeSpan;
|
|
75
85
|
get XmlEncryptor(): IXmlEncryptor | undefined;
|
|
76
86
|
set XmlEncryptor(value: IXmlEncryptor | undefined);
|
|
@@ -86,11 +96,16 @@ export const KeyManagementOptions: {
|
|
|
86
96
|
|
|
87
97
|
export type KeyManagementOptions = KeyManagementOptions$instance;
|
|
88
98
|
|
|
89
|
-
export interface XmlKeyManager$instance {
|
|
99
|
+
export interface XmlKeyManager$instance extends IKeyManager$instance {
|
|
100
|
+
readonly __tsonic_type_Microsoft_AspNetCore_DataProtection_KeyManagement_XmlKeyManager: never;
|
|
101
|
+
|
|
102
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_KeyManagement_IKeyManager: never;
|
|
103
|
+
readonly __tsonic_iface_Microsoft_AspNetCore_DataProtection_KeyManagement_Internal_IInternalXmlKeyManager: never;
|
|
104
|
+
|
|
90
105
|
readonly CanDeleteKeys: boolean;
|
|
91
106
|
CreateNewKey(activationDate: DateTimeOffset, expirationDate: DateTimeOffset): IKey;
|
|
92
|
-
DeleteKeys(shouldDelete:
|
|
93
|
-
GetAllKeys():
|
|
107
|
+
DeleteKeys(shouldDelete: Func_2<IKey, System_Internal.Boolean>): boolean;
|
|
108
|
+
GetAllKeys(): IReadOnlyCollection_1<IKey>;
|
|
94
109
|
GetCacheExpirationToken(): CancellationToken;
|
|
95
110
|
RevokeAllKeys(revocationDate: DateTimeOffset, reason?: string): void;
|
|
96
111
|
RevokeKey(keyId: Guid, reason?: string): void;
|
|
@@ -98,8 +113,8 @@ export interface XmlKeyManager$instance {
|
|
|
98
113
|
|
|
99
114
|
|
|
100
115
|
export const XmlKeyManager: {
|
|
101
|
-
new(keyManagementOptions:
|
|
102
|
-
new(keyManagementOptions:
|
|
116
|
+
new(keyManagementOptions: IOptions_1<KeyManagementOptions>, activator: IActivator): XmlKeyManager;
|
|
117
|
+
new(keyManagementOptions: IOptions_1<KeyManagementOptions>, activator: IActivator, loggerFactory: ILoggerFactory): XmlKeyManager;
|
|
103
118
|
};
|
|
104
119
|
|
|
105
120
|
|
|
@@ -108,8 +123,6 @@ export interface __XmlKeyManager$views {
|
|
|
108
123
|
As_IInternalXmlKeyManager(): Microsoft_AspNetCore_DataProtection_KeyManagement_Internal_Internal.IInternalXmlKeyManager$instance;
|
|
109
124
|
}
|
|
110
125
|
|
|
111
|
-
export interface XmlKeyManager$instance extends IKeyManager$instance {}
|
|
112
|
-
|
|
113
126
|
export type XmlKeyManager = XmlKeyManager$instance & __XmlKeyManager$views;
|
|
114
127
|
|
|
115
128
|
|