5 implementations of Decrypt
KeyManagementSimulator (1)
Program.cs (1)
293public void Decrypt<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
Microsoft.AspNetCore.DataProtection (4)
Cng\CbcAuthenticatedEncryptor.cs (1)
63public void Decrypt<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination) where TWriter : IBufferWriter<byte>
Cng\CngGcmAuthenticatedEncryptor.cs (1)
58public void Decrypt<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination) where TWriter : IBufferWriter<byte>
Managed\AesGcmAuthenticatedEncryptor.cs (1)
68public void Decrypt<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
Managed\ManagedAuthenticatedEncryptor.cs (1)
76public void Decrypt<TWriter>(ReadOnlySpan<byte> ciphertext, ReadOnlySpan<byte> additionalAuthenticatedData, ref TWriter destination)
4 references to Decrypt
Microsoft.AspNetCore.DataProtection (2)
AuthenticatedEncryption\ISpanAuthenticatedEncryptor.cs (1)
28/// The same AAD must be specified in the corresponding call to <see cref="Decrypt{TWriter}"/>.
KeyManagement\KeyRingBasedSpanDataProtector.cs (1)
157spanEncryptor.Decrypt(actualCiphertext, aad, ref destination);
Microsoft.AspNetCore.DataProtection.Tests (2)
Internal\RoundtripEncryptionHelpers.cs (2)
39spanAuthenticatedEncryptor.Decrypt(encryptResult, aad, ref buffer); 48spanAuthenticatedEncryptor.Decrypt(encrypted, aad, ref buffer);