2 implementations of ISpanDataProtector
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenSerializerTest.cs (1)
216private sealed class TestSpanDataProtector : ISpanDataProtector
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
18internal unsafe class KeyRingBasedSpanDataProtector : KeyRingBasedDataProtector, ISpanDataProtector
12 references to ISpanDataProtector
Microsoft.AspNetCore.Antiforgery (2)
Internal\DefaultAntiforgeryTokenSerializer.cs (2)
19private readonly ISpanDataProtector? _perfCryptoSystem; 26_perfCryptoSystem = _defaultCryptoSystem as ISpanDataProtector;
Microsoft.AspNetCore.Antiforgery.Test (3)
DefaultAntiforgeryTokenSerializerTest.cs (3)
21/// Uses <see cref="ISpanDataProtector"/> - the optimized path. 213/// A test data protector that implements <see cref="ISpanDataProtector"/> 261/// (not <see cref="ISpanDataProtector"/>) to exercise the fallback code path.
Microsoft.AspNetCore.Components.Endpoints (2)
TempData\CookieTempDataProvider.cs (2)
21private readonly ISpanDataProtector? _spanDataProtector; 34_spanDataProtector = _dataProtector as ISpanDataProtector;
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (2)
Benchmarks\SpanDataProtectorComparison.cs (2)
57private ISpanDataProtector _spanDataProtector = null!; 73_spanDataProtector = (ISpanDataProtector)_dataProtector;
Microsoft.AspNetCore.DataProtection.Tests (3)
Internal\RoundtripEncryptionHelpers.cs (3)
55/// <see cref="ISpanDataProtector.TryProtect"/> and <see cref="ISpanDataProtector.TryUnprotect"/> APIs should do the same steps 60public static void AssertTryProtectTryUnprotectParity(ISpanDataProtector protector, ReadOnlySpan<byte> plaintext)