DataProtectionBuilderExtensions.AddKeyEscrowSink Метод

Определение

Перегрузки

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

IKeyEscrowSink Регистрирует для выполнения депонирования перед сохранением ключей в хранилище.

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

IKeyEscrowSink Регистрирует для выполнения депонирования перед сохранением ключей в хранилище.

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

IKeyEscrowSink Регистрирует для выполнения депонирования перед сохранением ключей в хранилище.

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs

IKeyEscrowSink Регистрирует для выполнения депонирования перед сохранением ключей в хранилище.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyEscrowSink(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Microsoft::AspNetCore::DataProtection::KeyManagement::IKeyEscrowSink ^ sink);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink sink);
static member AddKeyEscrowSink : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function AddKeyEscrowSink (builder As IDataProtectionBuilder, sink As IKeyEscrowSink) As IDataProtectionBuilder

Параметры

sink
IKeyEscrowSink

Экземпляр объекта для IKeyEscrowSink регистрации.

Возвращаемое значение

Ссылка на после IDataProtectionBuilder завершения этой операции.

Комментарии

Регистрации являются аддитивными.

Применяется к

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs

IKeyEscrowSink Регистрирует для выполнения депонирования перед сохранением ключей в хранилище.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyEscrowSink(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder, Func<IServiceProvider ^, Microsoft::AspNetCore::DataProtection::KeyManagement::IKeyEscrowSink ^> ^ factory);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder, Func<IServiceProvider,Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink> factory);
static member AddKeyEscrowSink : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder * Func<IServiceProvider, Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink> -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder
<Extension()>
Public Function AddKeyEscrowSink (builder As IDataProtectionBuilder, factory As Func(Of IServiceProvider, IKeyEscrowSink)) As IDataProtectionBuilder

Параметры

factory
Func<IServiceProvider,IKeyEscrowSink>

Фабрика, создающая IKeyEscrowSink экземпляр .

Возвращаемое значение

Ссылка на после IDataProtectionBuilder завершения этой операции.

Комментарии

Регистрации являются аддитивными. Фабрика зарегистрирована как Singleton.

Применяется к

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs
Исходный код:
DataProtectionBuilderExtensions.cs

IKeyEscrowSink Регистрирует для выполнения депонирования перед сохранением ключей в хранилище.

public:
generic <typename TImplementation>
 where TImplementation : class, Microsoft::AspNetCore::DataProtection::KeyManagement::IKeyEscrowSink[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ AddKeyEscrowSink(Microsoft::AspNetCore::DataProtection::IDataProtectionBuilder ^ builder);
public static Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder AddKeyEscrowSink<TImplementation> (this Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder builder) where TImplementation : class, Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink;
static member AddKeyEscrowSink : Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder -> Microsoft.AspNetCore.DataProtection.IDataProtectionBuilder (requires 'Implementation : null and 'Implementation :> Microsoft.AspNetCore.DataProtection.KeyManagement.IKeyEscrowSink)
<Extension()>
Public Function AddKeyEscrowSink(Of TImplementation As {Class, IKeyEscrowSink}) (builder As IDataProtectionBuilder) As IDataProtectionBuilder

Параметры типа

TImplementation

Конкретный тип регистрируемого IKeyEscrowSink объекта .

Параметры

Возвращаемое значение

Ссылка на после IDataProtectionBuilder завершения этой операции.

Комментарии

Регистрации являются аддитивными. Фабрика зарегистрирована как Singleton.

Применяется к