Amazon.S3.Encryption.EncryptionUtils.DecryptStream C# (CSharp) Method

DecryptStream() static private method

static private DecryptStream ( Stream encryptedStream, EncryptionInstructions encryptionInstructions ) : Stream
encryptedStream Stream
encryptionInstructions EncryptionInstructions
return Stream
        internal static Stream DecryptStream(Stream encryptedStream, EncryptionInstructions encryptionInstructions)
        {
            AESDecryptionStream aesDecryptStream;
            aesDecryptStream = new AESDecryptionStream(encryptedStream, encryptionInstructions.EnvelopeKey, encryptionInstructions.InitializationVector);
            return aesDecryptStream;
        }