ClientSideEncryptorV1_0
public Task<ValueTuple<byte[], EncryptionData>> BufferedEncryptInternal(Stream plaintext, bool async, CancellationToken cancellationToken)
Encrypts the given stream and provides the metadata used to encrypt. This method writes to a memory stream,
optimized for known-size data that will already be buffered in memory.
public Task<Stream> EncryptedOpenWriteInternal(Func<EncryptionData, bool, CancellationToken, Task<Stream>> openWriteInternal, bool async, CancellationToken cancellationToken)
Creates a crypto transform stream to write blob contents to.
public Task<ValueTuple<Stream, EncryptionData>> EncryptInternal(Stream plaintext, bool async, CancellationToken cancellationToken)
Wraps the given read-stream in a CryptoStream and provides the metadata used to create
that stream.