DataProtectionAdvancedExtensions 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.
Helpful extension methods for data protection APIs.
public ref class DataProtectionAdvancedExtensions abstract sealed
public static class DataProtectionAdvancedExtensions
type DataProtectionAdvancedExtensions = class
Public Module DataProtectionAdvancedExtensions
- Inheritance
-
DataProtectionAdvancedExtensions
Methods
Protect(ITimeLimitedDataProtector, Byte[], TimeSpan) |
Cryptographically protects a piece of plaintext data, expiring the data after the specified amount of time has elapsed. |
Protect(ITimeLimitedDataProtector, String, DateTimeOffset) |
Cryptographically protects a piece of plaintext data, expiring the data at the chosen time. |
Protect(ITimeLimitedDataProtector, String, TimeSpan) |
Cryptographically protects a piece of plaintext data, expiring the data after the specified amount of time has elapsed. |
ToTimeLimitedDataProtector(IDataProtector) |
Converts an IDataProtector into an ITimeLimitedDataProtector so that payloads can be protected with a finite lifetime. |
Unprotect(ITimeLimitedDataProtector, String, DateTimeOffset) |
Cryptographically unprotects a piece of protected data. |
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