//------------------------------------------------------------------------------
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// balnee
// krishnib
//------------------------------------------------------------------------------
namespace System.Data.SqlClient
{
///
/// Abstract base class for all TCE encryption algorithm factory classes. Factory classes create instances of an encryption algorithm
/// with a given key. At runtime when we determine a particular column is marked for TCE, based on the encryption algorithm we invoke
/// the corresponding factory class and retrieve an object to an encryption algorithm.
///
internal abstract class SqlClientEncryptionAlgorithmFactory
{
///
/// Creates an encrytion algorithm with a given key.
///
/// encryption key that should be passed to the encryption algorithm to be created
/// Encryption Type, some algorithms will need this
/// Encryption algorithm name. Needed for extracting version bits
/// Return a newly created SqlClientEncryptionAlgorithm instance
internal abstract SqlClientEncryptionAlgorithm Create(SqlClientSymmetricKey encryptionKey, SqlClientEncryptionType encryptionType, string encryptionAlgorithm);
}
}