2 writes to CipherMetadata
System.Data (2)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (2)
3225
_parameters[i].
CipherMetadata
= null;
4005
sqlParameter.
CipherMetadata
= new SqlCipherMetadata(sqlTceCipherInfoEntry: cipherInfoEntry,
8 references to CipherMetadata
System.Data (8)
fx\src\data\System\Data\SqlClient\SqlCommand.cs (5)
3990
Debug.Assert(sqlParameter.
CipherMetadata
== null, "param.CipherMetadata should be null.");
4014
SqlSecurityUtility.DecryptSymmetricKey(sqlParameter.
CipherMetadata
, this._activeConnection.DataSource);
5163
thisParam.
CipherMetadata
!= null &&
5182
rec.cipherMD.EncryptionInfo = thisParam.
CipherMetadata
.EncryptionInfo;
5442
if (parameter.
CipherMetadata
!= null) {
fx\src\data\System\Data\SqlClient\TdsParser.cs (3)
8144
if (param.ForceColumnEncryption && param.
CipherMetadata
== null
8271
encryptedValue = SqlSecurityUtility.EncryptWithKey(serializedValue, param.
CipherMetadata
, _connHandler.ConnectionOptions.DataSource);
8292
param.
CipherMetadata
);