CompatibilityDataProtector Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A DataProtector that can be used by ASP.NET 4.x to interact with ASP.NET Core's DataProtection stack. This type is for internal use only and shouldn't be directly used by developers.
public ref class CompatibilityDataProtector sealed : System::Security::Cryptography::DataProtector
public sealed class CompatibilityDataProtector : System.Security.Cryptography.DataProtector
type CompatibilityDataProtector = class
inherit DataProtector
Public NotInheritable Class CompatibilityDataProtector
Inherits DataProtector
- Inheritance
-
CompatibilityDataProtector
Constructors
CompatibilityDataProtector(String, String, String[]) |
Methods
IsReprotectRequired(Byte[]) | |
RunWithSuppressedPrimaryPurpose(Func<Object,Byte[],Byte[]>, Object, Byte[]) |
Invokes a delegate where calls to Microsoft.AspNetCore.DataProtection.SystemWeb.CompatibilityDataProtector.ProviderProtect(System.Byte[]) and Microsoft.AspNetCore.DataProtection.SystemWeb.CompatibilityDataProtector.ProviderUnprotect(System.Byte[]) will ignore the primary purpose and instead use only the sub-purposes. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for