Amazon.Runtime.Internal.Util.DecryptionWrapper.SetDecryptionData C# (CSharp) Method

SetDecryptionData() public method

public SetDecryptionData ( byte key, byte IV ) : void
key byte
IV byte
return void
        public void SetDecryptionData(byte[] key, byte[] IV)
        {
            algorithm.KeySize = encryptionKeySize;
            algorithm.Padding = PaddingMode.PKCS7;
            algorithm.Mode = CipherMode.CBC;
            algorithm.Key = key;
            algorithm.IV = IV;
        }