DataProtectionBuilderExtensions.AddKeyEscrowSink Método

Definición

Sobrecargas

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Registra para IKeyEscrowSink realizar una custodia antes de que las claves se conserven en el almacenamiento.

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Registra para IKeyEscrowSink realizar una custodia antes de que las claves se conserven en el almacenamiento.

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Registra para IKeyEscrowSink realizar una custodia antes de que las claves se conserven en el almacenamiento.

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Registra para IKeyEscrowSink realizar una custodia antes de que las claves se conserven en el almacenamiento.

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

Parámetros

builder
IDataProtectionBuilder

El parámetro de cadena de consulta IDataProtectionBuilder.

sink
IKeyEscrowSink

Instancia de que IKeyEscrowSink se va a registrar.

Devoluciones

IDataProtectionBuilder

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Los registros son aditivos.

Se aplica a

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Registra para IKeyEscrowSink realizar una custodia antes de que las claves se conserven en el almacenamiento.

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

Parámetros

builder
IDataProtectionBuilder

El parámetro de cadena de consulta IDataProtectionBuilder.

factory
Func<IServiceProvider,IKeyEscrowSink>

Generador que crea la IKeyEscrowSink instancia.

Devoluciones

IDataProtectionBuilder

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Los registros son aditivos. El generador se registra como Singleton.

Se aplica a

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Registra para IKeyEscrowSink realizar una custodia antes de que las claves se conserven en el almacenamiento.

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

Parámetros de tipo

TImplementation

Tipo concreto del objeto IKeyEscrowSink que se va a registrar.

Parámetros

builder
IDataProtectionBuilder

El parámetro de cadena de consulta IDataProtectionBuilder.

Devoluciones

IDataProtectionBuilder

Referencia a una IDataProtectionBuilder vez completada esta operación.

Comentarios

Los registros son aditivos. El generador se registra como Singleton.

Se aplica a