1 implementation of ISpanDataProtector
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
18internal unsafe class KeyRingBasedSpanDataProtector : KeyRingBasedDataProtector, ISpanDataProtector
5 references to 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)