ClientSideDecryptor
class ClientSideDecryptor
public Task<Stream> DecryptReadInternal(Stream ciphertext, EncryptionData encryptionData, bool ivInStream, bool noPadding, bool async, CancellationToken cancellationToken)
Decrypts the given stream if decryption information is provided.
Does not shave off unwanted start/end bytes, but will shave off padding.
public Task<Stream> DecryptWholeContentWriteInternal(Stream plaintextDestination, EncryptionData encryptionData, bool async, CancellationToken cancellationToken)
Wraps a write stream in a decryption stream.