コード例 #1
0
        //wrap encrypted stream into AESDecriptionStream wrapper
        internal static Stream DecryptStream(Stream encryptedStream, EncryptionInstructions encryptionInstructions)
        {
            AESDecryptionStream aesDecryptStream;

            aesDecryptStream = new AESDecryptionStream(encryptedStream, encryptionInstructions.EnvelopeKey, encryptionInstructions.InitializationVector);
            return(aesDecryptStream);
        }
コード例 #2
0
ファイル: EncryptionUtils.cs プロジェクト: aws/aws-sdk-net
 //wrap encrypted stream into AESDecriptionStream wrapper
 internal static Stream DecryptStream(Stream encryptedStream, EncryptionInstructions encryptionInstructions)
 {
     AESDecryptionStream aesDecryptStream;
     aesDecryptStream = new AESDecryptionStream(encryptedStream, encryptionInstructions.EnvelopeKey, encryptionInstructions.InitializationVector);
     return aesDecryptStream;
 }