/// <summary>
 /// Creates an encrytion algorithm with a given key.
 /// </summary>
 /// <param name="rootKey">encryption key that should be passed to the encryption algorithm to be created</param>
 /// <param name="encryptionType">Encryption Type, some algorithms will need this</param>
 /// <param name="encryptionAlgorithm">Encryption algorithm name. Needed for extracting version bits</param>
 /// <returns>Return a newly created SqlClientEncryptionAlgorithm instance</returns>
 internal abstract SqlClientEncryptionAlgorithm Create(SqlClientSymmetricKey encryptionKey, SqlClientEncryptionType encryptionType, string encryptionAlgorithm);
Ejemplo n.º 2
0
 /// <summary>
 /// Creates an encrytion algorithm with a given key.
 /// </summary>
 /// <param name="rootKey">encryption key that should be passed to the encryption algorithm to be created</param>
 /// <param name="encryptionType">Encryption Type, some algorithms will need this</param>
 /// <param name="encryptionAlgorithm">Encryption algorithm name. Needed for extracting version bits</param>
 /// <returns>Return a newly created SqlClientEncryptionAlgorithm instance</returns>
 internal abstract SqlClientEncryptionAlgorithm Create(SqlClientSymmetricKey encryptionKey, SqlClientEncryptionType encryptionType, string encryptionAlgorithm);