DataProtectionConfiguration
DataProtectionConfiguration(IServiceCollection)
Services
AddKeyEscrowSink(IKeyEscrowSink)
AddKeyEscrowSink<TImplementation>()
AddKeyEscrowSink(Func<IServiceProvider, IKeyEscrowSink>)
ConfigureGlobalOptions(Action<DataProtectionOptions>)
DisableAutomaticKeyGeneration()
PersistKeysToFileSystem(DirectoryInfo)
PersistKeysToRegistry(RegistryKey)
ProtectKeysWithCertificate(String)
ProtectKeysWithCertificate(X509Certificate2)
ProtectKeysWithDpapi()
ProtectKeysWithDpapi(Boolean)
ProtectKeysWithDpapiNG()
ProtectKeysWithDpapiNG(String, DpapiNGProtectionDescriptorFlags)
SetApplicationName(String)
SetDefaultKeyLifetime(TimeSpan)
UseCryptographicAlgorithms(AuthenticatedEncryptionOptions)
UseCustomCryptographicAlgorithms(CngCbcAuthenticatedEncryptionOptions)
UseCustomCryptographicAlgorithms(CngGcmAuthenticatedEncryptionOptions)
UseCustomCryptographicAlgorithms(ManagedAuthenticatedEncryptionOptions)
UseEphemeralDataProtectionProvider()
net48
namespace Microsoft.AspNet.DataProtection
{
public class DataProtectionConfiguration
{
public DataProtectionConfiguration ProtectKeysWithCertificate(string thumbprint);
}
}
.NET Framework | 4.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
---|---|
Information specific to net48 | |
Assembly | Microsoft.AspNet.DataProtection , Version=1.0.0.0, PublicKeyToken=adb9793829ddae60 |
Referencing | Your project needs a package reference to |
Package | Microsoft.AspNet.DataProtection (1.0.0-rc1-final) net451 |
Preview | This API is contained in a prerelease package. |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API