DataProtectionBuilderExtensions.AddKeyEscrowSink メソッド

定義

オーバーロード

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

キーが IKeyEscrowSink ストレージに永続化される前にエスクローを実行する を登録します。

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

キーが IKeyEscrowSink ストレージに永続化される前にエスクローを実行する を登録します。

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

キーが IKeyEscrowSink ストレージに永続化される前にエスクローを実行する を登録します。

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

キーが 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>)

キーが 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)

キーが 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登録されます。

適用対象