1 implementation of ISpanDataProtector
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
18
internal unsafe class KeyRingBasedSpanDataProtector : KeyRingBasedDataProtector,
ISpanDataProtector
5 references to ISpanDataProtector
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (2)
Benchmarks\SpanDataProtectorComparison.cs (2)
57
private
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
60
public static void AssertTryProtectTryUnprotectParity(
ISpanDataProtector
protector, ReadOnlySpan<byte> plaintext)