DataProtectionBuilderExtensions.AddKeyEscrowSink Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Overload
AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink) |
IKeyEscrowSink Mendaftarkan untuk melakukan escrow sebelum kunci dipertahankan ke penyimpanan. |
AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>) |
IKeyEscrowSink Mendaftarkan untuk melakukan escrow sebelum kunci dipertahankan ke penyimpanan. |
AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder) |
IKeyEscrowSink Mendaftarkan untuk melakukan escrow sebelum kunci dipertahankan ke penyimpanan. |
AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)
IKeyEscrowSink Mendaftarkan untuk melakukan escrow sebelum kunci dipertahankan ke penyimpanan.
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
Parameter
- sink
- IKeyEscrowSink
Instans IKeyEscrowSink untuk mendaftar.
Mengembalikan
Referensi ke IDataProtectionBuilder setelah operasi ini selesai.
Keterangan
Pendaftaran bersifat aditif.
Berlaku untuk
AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider,IKeyEscrowSink>)
IKeyEscrowSink Mendaftarkan untuk melakukan escrow sebelum kunci dipertahankan ke penyimpanan.
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
Parameter
- factory
- Func<IServiceProvider,IKeyEscrowSink>
Pabrik yang membuat instans IKeyEscrowSink .
Mengembalikan
Referensi ke IDataProtectionBuilder setelah operasi ini selesai.
Keterangan
Pendaftaran bersifat aditif. Pabrik terdaftar sebagai Singleton.
Berlaku untuk
AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)
IKeyEscrowSink Mendaftarkan untuk melakukan escrow sebelum kunci dipertahankan ke penyimpanan.
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
Jenis parameter
- TImplementation
Jenis beton untuk IKeyEscrowSink mendaftar.
Parameter
Mengembalikan
Referensi ke IDataProtectionBuilder setelah operasi ini selesai.
Keterangan
Pendaftaran bersifat aditif. Pabrik terdaftar sebagai Singleton.