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); 60public byte[] Protect_CookiePurpose() => _cookiePurposeProtector.Protect(_plaintext); 63public byte[] Unprotect_CookiePurpose() => _cookiePurposeProtector.Unprotect(_cookieProtected);