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 instance.

반환

이 작업이 완료된 후 에 대한 참조 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>

instance 만드는 팩터리 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등록됩니다.

적용 대상