Table of Contents

Class EncryptStream<T>

Namespace
Amazon.Runtime.Internal.Util
Assembly
AWSSDK.Core.dll

A wrapper stream that encrypts the base stream as it is being read.

public class EncryptStream<T> : EncryptStream, IDisposable, IAsyncDisposable where T : class, IEncryptionWrapper, new()

Type Parameters

T
Inheritance
EncryptStream<T>
Implements
Derived
Inherited Members

Constructors

EncryptStream(Stream, byte[], byte[])

Initializes an EncryptStream with an encryption algorithm and a base stream.

public EncryptStream(Stream baseStream, byte[] key, byte[] IV)

Parameters

baseStream Stream

Stream to perform encryption on..

key byte[]

Symmetric key to perform encryption

IV byte[]

Initialization vector to perform encryption