1.1 KiB
1.1 KiB
Microsoft.AspNetCore.DataProtection.SystemWeb
{
{
- namespace Microsoft.AspNetCore.DataProtection.SystemWeb {
{
- public sealed class CompatibilityDataProtector : DataProtector {
{
- public CompatibilityDataProtector(string applicationName, string primaryPurpose, string[] specificPurposes);
- protected override bool PrependHashedPurposeToPlaintext { get; }
- public override bool IsReprotectRequired(byte[] encryptedData);
- protected override byte[] ProviderProtect(byte[] userData);
- protected override byte[] ProviderUnprotect(byte[] encryptedData);
- public static byte[] RunWithSuppressedPrimaryPurpose(Func<object, byte[], byte[]> callback, object state, byte[] input);
- }
- public class DataProtectionStartup {
{
- public DataProtectionStartup();
- public virtual void ConfigureServices(IServiceCollection services);
- public virtual IDataProtectionProvider CreateDataProtectionProvider(IServiceProvider services);
- }
- }
-}