Implemented interface member:
method
Protect
Microsoft.AspNetCore.DataProtection.ITimeLimitedDataProtector.Protect(System.Byte[], System.DateTimeOffset)
2 references to Protect
Microsoft.AspNetCore.DataProtection.Extensions (1)
TimeLimitedDataProtector.cs (1)
119
return
Protect
(plaintext, DateTimeOffset.MaxValue);
Microsoft.AspNetCore.DataProtection.Extensions.Tests (1)
TimeLimitedDataProtectorTests.cs (1)
161
byte[] timeLimitedProtectedPayload = timeLimitedProtector.
Protect
(new byte[] { 0x11, 0x22, 0x33, 0x44 }, expectedExpiration);