2 implementations of Unprotect
Microsoft.AspNetCore.Antiforgery.Test (1)
DefaultAntiforgeryTokenSerializerTest.cs (1)
228public void Unprotect<TWriter>(ReadOnlySpan<byte> protectedData, ref TWriter destination)
Microsoft.AspNetCore.DataProtection (1)
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
76public void Unprotect<TWriter>(ReadOnlySpan<byte> protectedData, ref TWriter destination) where TWriter : IBufferWriter<byte>
6 references to Unprotect
Microsoft.AspNetCore.Antiforgery (1)
Internal\DefaultAntiforgeryTokenSerializer.cs (1)
50_perfCryptoSystem.Unprotect(tokenBytesDecoded, ref protectBuffer);
Microsoft.AspNetCore.Components.Endpoints (1)
TempData\CookieTempDataProvider.cs (1)
74_spanDataProtector.Unprotect(protectedBytes, ref unprotectBuffer);
Microsoft.AspNetCore.DataProtection.MicroBenchmarks (2)
Benchmarks\SpanDataProtectorComparison.cs (2)
101_spanDataProtector.Unprotect(protectedSpan, ref unprotectBuffer); 123_spanDataProtector.Unprotect(protectedSpan, ref unprotectBuffer);
Microsoft.AspNetCore.DataProtection.Tests (2)
Internal\RoundtripEncryptionHelpers.cs (2)
75protector.Unprotect(protectedResult, ref buffer); 86protector.Unprotect(protectedByProtect, ref buffer);