1 write to cipherMD
System.Data (1)
fx\src\data\System\Data\SqlClient\TdsParser.cs (1)
3644col.cipherMD = new SqlCipherMetadata(cipherTable.HasValue ? (SqlTceCipherInfoEntry?)cipherTable.Value[index] : null,
38 references to cipherMD
System.Data (38)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (3)
5162if (rec.cipherMD != null && 5182rec.cipherMD.EncryptionInfo = thisParam.CipherMetadata.EncryptionInfo; 5183byte[] unencryptedBytes = SqlSecurityUtility.DecryptWithKey(rec.value.ByteArray, rec.cipherMD, _activeConnection.DataSource);
fx\src\data\System\Data\SqlClient\SqlDataReader.cs (17)
519if (col.cipherMD != null) { 529schemaRow[NonVersionedProviderType] = (int) (col.cipherMD != null ? col.baseTI.type : col.type); // SqlDbType enum value - does not change with TypeSystem. 565schemaRow[ProviderType] = (int) (col.cipherMD != null ? col.baseTI.type : col.type); 585if (col.cipherMD != null) { 604else if (col.cipherMD != null) { 633if (col.cipherMD != null) { 1197if (metaData.cipherMD != null) { 1264if (metaData.cipherMD != null) { 1286if (sqlMetaData.cipherMD != null) { 1353if (metaData.cipherMD != null) { 1463if (_metaData[i] != null && _metaData[i].cipherMD != null) { 1562if (_metaData[i] != null && _metaData[i].cipherMD != null) { 1876if (_metaData[i].cipherMD != null) { 1892if (_metaData[i].cipherMD != null) { 1945if (_metaData[i].cipherMD != null) { 1956if (_metaData[i].cipherMD != null) { 1973if (_metaData[i].cipherMD != null) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (14)
3634Debug.Assert(col.cipherMD == null, "col.cipherMD should be null in TryProcessTceCryptoMetadata."); 5351byte[] unencryptedBytes = SqlSecurityUtility.DecryptWithKey(b, md.cipherMD, _connHandler.ConnectionOptions.DataSource); 9157SqlSecurityUtility.DecryptSymmetricKey(md.cipherMD, serverName); 9264WriteShort (md.cipherMD.CekTableOrdinal, stateObj); 9270stateObj.WriteByte(md.cipherMD.CipherAlgorithmId); 9272if (TdsEnums.CustomCipherAlgorithmId == md.cipherMD.CipherAlgorithmId) { 9274Debug.Assert (md.cipherMD.CipherAlgorithmName.Length < 256); 9275stateObj.WriteByte((byte)md.cipherMD.CipherAlgorithmName.Length); 9276WriteString(md.cipherMD.CipherAlgorithmName, stateObj); 9280stateObj.WriteByte(md.cipherMD.EncryptionType); 9283stateObj.WriteByte(md.cipherMD.NormalizationRuleVersion); 9468normalizationVersion: metadata.cipherMD.NormalizationRuleVersion, 9478normalizationVersion: metadata.cipherMD.NormalizationRuleVersion, 9485metadata.cipherMD,
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (4)
892if (null != cipherMD) { 893return cipherMD.IsAlgorithmInitialized(); 905if (null != cipherMD){ 906return cipherMD.NormalizationRuleVersion;