19 references to SqlClientEncryptionType
System.Data (19)
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Algorithm.cs (3)
106
internal SqlAeadAes256CbcHmac256Algorithm(SqlAeadAes256CbcHmac256EncryptionKey encryptionKey,
SqlClientEncryptionType
encryptionType, byte algorithmVersion) {
116
if (encryptionType ==
SqlClientEncryptionType
.Deterministic) {
120
Debug.Assert (
SqlClientEncryptionType
.Randomized == encryptionType, "Invalid Encryption Type detected in SqlAeadAes256CbcHmac256Algorithm, this should've been caught in factory class");
fx\src\data\System\Data\SqlClient\SqlAeadAes256CbcHmac256Factory.cs (5)
32
internal override SqlClientEncryptionAlgorithm Create(SqlClientSymmetricKey encryptionKey,
SqlClientEncryptionType
encryptionType, string encryptionAlgorithm) {
38
if (!((encryptionType ==
SqlClientEncryptionType
.Deterministic) || (encryptionType ==
SqlClientEncryptionType
.Randomized))) {
41
SqlClientEncryptionType
.Deterministic,
42
SqlClientEncryptionType
.Randomized);
fx\src\data\System\Data\SqlClient\SqlAes256CbcAlgorithm.cs (1)
41
internal SqlAes256CbcAlgorithm(SqlAeadAes256CbcHmac256EncryptionKey encryptionKey,
SqlClientEncryptionType
encryptionType, byte algorithmVersion)
fx\src\data\System\Data\SqlClient\SqlAes256CbcFactory.cs (5)
34
internal override SqlClientEncryptionAlgorithm Create(SqlClientSymmetricKey encryptionKey,
SqlClientEncryptionType
encryptionType, string encryptionAlgorithm)
41
if (!((encryptionType ==
SqlClientEncryptionType
.Deterministic) || (encryptionType ==
SqlClientEncryptionType
.Randomized)))
45
SqlClientEncryptionType
.Deterministic,
46
SqlClientEncryptionType
.Randomized);
fx\src\data\System\Data\SqlClient\SqlClientEncryptionAlgorithmFactory.cs (1)
24
internal abstract SqlClientEncryptionAlgorithm Create(SqlClientSymmetricKey encryptionKey,
SqlClientEncryptionType
encryptionType, string encryptionAlgorithm);
fx\src\data\System\Data\SqlClient\SqlClientEncryptionAlgorithmFactoryList.cs (1)
76
encryptionAlgorithm = factory.Create(key, (
SqlClientEncryptionType
)type, algorithmName);
fx\src\data\System\Data\SqlClient\SqlCommand.cs (1)
3995
if ((byte)
SqlClientEncryptionType
.PlainText != columnEncryptionType) {
fx\src\data\System\Data\SqlClient\SqlUtil.cs (2)
1089
static internal Exception InvalidEncryptionType(string algorithmName,
SqlClientEncryptionType
encryptionType, params
SqlClientEncryptionType
[] validEncryptionTypes) {