Table of Contents

Class DecryptStream<T>

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

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

public class DecryptStream<T> : DecryptStream, IDisposable, IAsyncDisposable where T : class, IDecryptionWrapper, new()

Type Parameters

T
Inheritance
DecryptStream<T>
Implements
Derived
Inherited Members

Constructors

DecryptStream(Stream, byte[], byte[])

Initializes an DecryptStream with an decryption algorithm and a base stream.

public DecryptStream(Stream baseStream, byte[] envelopeKey, byte[] IV)

Parameters

baseStream Stream

Stream to perform encryption on..

envelopeKey byte[]

Symmetric key to perform decryption

IV byte[]

Initialization vector to perform decryption