1 write to _cookiePurposeProtector
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (1)
Benchmarks\KeyRingProtectorBenchmarks.cs (1)
37
_cookiePurposeProtector
= provider.CreateProtector("Microsoft.AspNetCore.Authentication.Cookies.CookieAuthenticationMiddleware", "Cookies", "v2");
3 references to _cookiePurposeProtector
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (3)
Benchmarks\KeyRingProtectorBenchmarks.cs (3)
43
_cookieProtected =
_cookiePurposeProtector
.Protect(_plaintext);
60
public byte[] Protect_CookiePurpose() =>
_cookiePurposeProtector
.Protect(_plaintext);
63
public byte[] Unprotect_CookiePurpose() =>
_cookiePurposeProtector
.Unprotect(_cookieProtected);