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