DataProtectionBuilderExtensions.AddKeyEscrowSink Metodo

Definizione

Overload

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Registra un oggetto IKeyEscrowSink per eseguire il deposito prima che le chiavi vengano rese persistenti nell'archiviazione.

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Registra un oggetto IKeyEscrowSink per eseguire il deposito prima che le chiavi vengano rese persistenti nell'archiviazione.

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Registra un oggetto IKeyEscrowSink per eseguire il deposito prima che le chiavi vengano rese persistenti nell'archiviazione.

AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Registra un oggetto IKeyEscrowSink per eseguire il deposito prima che le chiavi vengano rese persistenti nell'archiviazione.

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

Parametri

sink
IKeyEscrowSink

Istanza dell'oggetto IKeyEscrowSink da registrare.

Restituisce

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento dell'operazione.

Commenti

Le registrazioni sono additivi.

Si applica a

AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Registra un oggetto IKeyEscrowSink per eseguire il deposito prima che le chiavi vengano rese persistenti nell'archiviazione.

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

Parametri

factory
Func<IServiceProvider,IKeyEscrowSink>

Factory che crea l'istanza IKeyEscrowSink .

Restituisce

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento dell'operazione.

Commenti

Le registrazioni sono additivi. La factory viene registrata come Singleton.

Si applica a

AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)

Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs
Origine:
DataProtectionBuilderExtensions.cs

Registra un oggetto IKeyEscrowSink per eseguire il deposito prima che le chiavi vengano rese persistenti nell'archiviazione.

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

Parametri di tipo

TImplementation

Tipo concreto dell'oggetto IKeyEscrowSink da registrare.

Parametri

Restituisce

Riferimento all'oggetto dopo il IDataProtectionBuilder completamento dell'operazione.

Commenti

Le registrazioni sono additivi. La factory viene registrata come Singleton.

Si applica a