1 write to EncryptionKeyInfo
System.Data (1)
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
231
md.
EncryptionKeyInfo
= encryptionkeyInfoChosen;
9 references to EncryptionKeyInfo
System.Data (9)
fx\src\data\System\Data\SqlClient\SqlSecurityUtility.cs (1)
206
string keyStr = GetBytesAsString(md.
EncryptionKeyInfo
.Value.encryptedKey, fLast:true, countOfBytes:10);
fx\src\data\System\Data\SqlClient\TdsParserHelperClasses.cs (8)
964
Debug.Assert(cipherMetadata.
EncryptionKeyInfo
.HasValue, "cipherMetadata.EncryptionKeyInfo.HasValue should be true.");
993
totalLength += _cipherMetadata.
EncryptionKeyInfo
.Value.cekMdVersion.Length;
1010
SerializeIntIntoBuffer(_cipherMetadata.
EncryptionKeyInfo
.Value.databaseId, serializedWireFormat, ref consumedBytes);
1013
SerializeIntIntoBuffer(_cipherMetadata.
EncryptionKeyInfo
.Value.cekId, serializedWireFormat, ref consumedBytes);
1016
SerializeIntIntoBuffer(_cipherMetadata.
EncryptionKeyInfo
.Value.cekVersion, serializedWireFormat, ref consumedBytes);
1019
Buffer.BlockCopy(_cipherMetadata.
EncryptionKeyInfo
.Value.cekMdVersion, 0, serializedWireFormat, consumedBytes, _cipherMetadata.
EncryptionKeyInfo
.Value.cekMdVersion.Length);
1020
consumedBytes += _cipherMetadata.
EncryptionKeyInfo
.Value.cekMdVersion.Length;