Implemented interface member:
method
Unprotect<TWriter>
Microsoft.AspNetCore.DataProtection.ISpanDataProtector.Unprotect<TWriter>(System.ReadOnlySpan<System.Byte>, ref TWriter)
4 references to Unprotect
Microsoft.AspNetCore.DataProtection.Tests (4)
KeyManagement\KeyRingBasedDataProtectorTests.cs (4)
737protector.Unprotect(protectedData, ref arrayBufferWriter); 762var ex = ExceptionAssert2.ThrowsCryptographicException(() => protector.Unprotect(shortCiphertext, ref destination)); 783var ex = ExceptionAssert2.ThrowsCryptographicException(() => protector.Unprotect(new byte[10], ref buffer)); 887protector.Unprotect(protectedData, ref destination);