IDataProtectionBuilder
Services
AddKeyEscrowSink(IDataProtectionBuilder, IKeyEscrowSink)
AddKeyEscrowSink<TImplementation>(IDataProtectionBuilder)
AddKeyEscrowSink(IDataProtectionBuilder, Func<IServiceProvider, IKeyEscrowSink>)
AddKeyManagementOptions(IDataProtectionBuilder, Action<KeyManagementOptions>)
DisableAutomaticKeyGeneration(IDataProtectionBuilder)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, BlobClient)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlockBlob)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudBlobContainer, String)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, CloudStorageAccount, String)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, StorageSharedKeyCredential)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Uri, TokenCredential)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, String, String, String)
PersistKeysToAzureBlobStorage(IDataProtectionBuilder, Func<IServiceProvider, BlobClient>)
PersistKeysToDbContext<TContext>(IDataProtectionBuilder)
PersistKeysToFileSystem(IDataProtectionBuilder, DirectoryInfo)
PersistKeysToRegistry(IDataProtectionBuilder, RegistryKey)
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer)
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, IConnectionMultiplexer, RedisKey)
PersistKeysToStackExchangeRedis(IDataProtectionBuilder, Func<IDatabase>, RedisKey)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, KeyVaultClient, String)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, IKeyEncryptionKeyResolver)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, Uri, TokenCredential)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, String)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, String, X509Certificate2)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, Func<IServiceProvider, IKeyEncryptionKeyResolver>)
ProtectKeysWithAzureKeyVault(IDataProtectionBuilder, String, Func<IServiceProvider, TokenCredential>)
ProtectKeysWithCertificate(IDataProtectionBuilder, String)
ProtectKeysWithCertificate(IDataProtectionBuilder, X509Certificate2)
ProtectKeysWithDpapi(IDataProtectionBuilder)
ProtectKeysWithDpapi(IDataProtectionBuilder, Boolean)
ProtectKeysWithDpapiNG(IDataProtectionBuilder)
ProtectKeysWithDpapiNG(IDataProtectionBuilder, String, DpapiNGProtectionDescriptorFlags)
SetApplicationName(IDataProtectionBuilder, String)
SetDefaultKeyLifetime(IDataProtectionBuilder, TimeSpan)
UnprotectKeysWithAnyCertificate(IDataProtectionBuilder, X509Certificate2[])
UseCryptographicAlgorithms(IDataProtectionBuilder, AuthenticatedEncryptorConfiguration)
UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngCbcAuthenticatedEncryptorConfiguration)
UseCustomCryptographicAlgorithms(IDataProtectionBuilder, CngGcmAuthenticatedEncryptorConfiguration)
UseCustomCryptographicAlgorithms(IDataProtectionBuilder, ManagedAuthenticatedEncryptorConfiguration)
UseEphemeralDataProtectionProvider(IDataProtectionBuilder)
net6.0
namespace Microsoft.AspNetCore.DataProtection
{
public static class DataProtectionBuilderExtensions
{
[SupportedOSPlatform("windows")]
public static IDataProtectionBuilder! ProtectKeysWithDpapiNG(this IDataProtectionBuilder! builder);
}
}
nuget.org | 0.0 %
Reference this API |
---|---|
.NET | 5.06.07.08.09.010.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net6.0 | |
Assembly | Microsoft.AspNetCore.DataProtection , Version=6.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Requires any:
|
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API