Amazon.Runtime.Internal.Util.EncryptionWrapper.SetEncryptionData C# (CSharp) Метод

SetEncryptionData() публичный Метод

public SetEncryptionData ( byte key, byte IV ) : void
key byte
IV byte
Результат void
        public void SetEncryptionData(byte[] key, byte[] IV)
        {
            algorithm.KeySize = encryptionKeySize;
            algorithm.Padding = PaddingMode.PKCS7;
            algorithm.Mode = CipherMode.CBC;
            algorithm.Key = key;
            algorithm.IV = IV;
        }