1 implementation of Unprotect
Microsoft.AspNetCore.DataProtection.Extensions (1)
TimeLimitedDataProtector.cs (1)
60public byte[] Unprotect(byte[] protectedData, out DateTimeOffset expiration)
2 references to Unprotect
Microsoft.AspNetCore.DataProtection.Extensions (1)
DataProtectionAdvancedExtensions.cs (1)
127return _innerProtector.Unprotect(protectedData, out Expiration);
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
DataProtectionAdvancedExtensionsTests.cs (1)
86mockDataProtector.Setup(o => o.Unprotect(new byte[] { 0x01, 0x02 }, out controlExpiration)).Returns(Encoding.UTF8.GetBytes("this is plaintext"));