/// <summary> /// Constructor. /// </summary> /// <param name="sqlTceCipherInfoEntry"></param> /// <param name="sqlClientEncryptionAlgorithm"></param> /// <param name="cipherAlgorithmId"></param> /// <param name="encryptionType"></param> /// <param name="normalizationRuleVersion"></param> internal SqlCipherMetadata (SqlTceCipherInfoEntry? sqlTceCipherInfoEntry, ushort ordinal, byte cipherAlgorithmId, string cipherAlgorithmName, byte encryptionType, byte normalizationRuleVersion) { Debug.Assert(!sqlTceCipherInfoEntry.Equals(default(SqlTceCipherInfoEntry)), "sqlTceCipherInfoEntry should not be un-initialized."); _sqlTceCipherInfoEntry = sqlTceCipherInfoEntry; _ordinal = ordinal; _cipherAlgorithmId = cipherAlgorithmId; _cipherAlgorithmName = cipherAlgorithmName; _encryptionType = encryptionType; _normalizationRuleVersion = normalizationRuleVersion; _sqlEncryptionKeyInfo = null; }