DataProtectionBuilderExtensions.AddKeyEscrowSink Metoda
Definice
Důležité
Některé informace platí pro předběžně vydaný produkt, který se může zásadně změnit, než ho výrobce nebo autor vydá. Microsoft neposkytuje žádné záruky, výslovné ani předpokládané, týkající se zde uváděných informací.
Přetížení
| AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink) |
Zaregistruje IKeyEscrowSink před uložením klíčů do úložiště určitou escrow. |
| AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>) |
Zaregistruje IKeyEscrowSink před uložením klíčů do úložiště určitou escrow. |
| AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder) |
Zaregistruje IKeyEscrowSink před uložením klíčů do úložiště určitou escrow. |
AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)
Zaregistruje IKeyEscrowSink před uložením klíčů do úložiště určitou escrow.
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
Parametry
- builder
- IDataProtectionBuilder
Hodnota IDataProtectionBuilder
- sink
- IKeyEscrowSink
Instance IKeyEscrowSink registrace.
Návraty
Odkaz na IDataProtectionBuilder po dokončení této operace.
Poznámky
Registrace jsou doplňkové.
Platí pro
AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)
Zaregistruje IKeyEscrowSink před uložením klíčů do úložiště určitou escrow.
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
Parametry
- builder
- IDataProtectionBuilder
Hodnota IDataProtectionBuilder
- factory
- Func<IServiceProvider,IKeyEscrowSink>
Objekt pro vytváření IKeyEscrowSink instance.
Návraty
Odkaz na IDataProtectionBuilder po dokončení této operace.
Poznámky
Registrace jsou doplňkové. Továrna je registrována jako Singleton.
Platí pro
AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)
Zaregistruje IKeyEscrowSink před uložením klíčů do úložiště určitou escrow.
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
Parametry typu
- TImplementation
Konkrétní typ IKeyEscrowSink registrace.
Parametry
- builder
- IDataProtectionBuilder
Hodnota IDataProtectionBuilder
Návraty
Odkaz na IDataProtectionBuilder po dokončení této operace.
Poznámky
Registrace jsou doplňkové. Továrna je registrována jako Singleton.