dotnet-core/release-notes/3.0/api-diff/Asp.Net/3.0.0_Microsoft.AspNetCore.DataProtection.SystemWeb.md
2019-10-10 13:57:00 -07:00

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);

-        }
-    }
-}