23 references to RequiresFipsCompliance
System.IdentityModel (23)
System\IdentityModel\CryptoHelper.cs (21)
368
Rijndael tmp = SecurityUtils.
RequiresFipsCompliance
? (Rijndael)new RijndaelCryptoServiceProvider() : new RijndaelManaged();
527
if (SecurityUtils.
RequiresFipsCompliance
)
533
if (SecurityUtils.
RequiresFipsCompliance
)
561
return new HMACSHA1(key, !SecurityUtils.
RequiresFipsCompliance
);
563
if (!SecurityUtils.
RequiresFipsCompliance
)
689
symmetricAlgorithm = SecurityUtils.
RequiresFipsCompliance
? (Rijndael)new RijndaelCryptoServiceProvider() : new RijndaelManaged();
711
if ( SecurityUtils.
RequiresFipsCompliance
)
740
if ( SecurityUtils.
RequiresFipsCompliance
)
1035
symmetricAlgorithm = SecurityUtils.
RequiresFipsCompliance
? (Rijndael)new RijndaelCryptoServiceProvider() : new RijndaelManaged();
1074
symmetricAlgorithm = SecurityUtils.
RequiresFipsCompliance
? (Rijndael)new RijndaelCryptoServiceProvider() : new RijndaelManaged();
1183
if (SecurityUtils.
RequiresFipsCompliance
)
1191
if (SecurityUtils.
RequiresFipsCompliance
)
1196
if (SecurityUtils.
RequiresFipsCompliance
)
1206
if (SecurityUtils.
RequiresFipsCompliance
)
1216
return new HMACSHA1(key, !SecurityUtils.
RequiresFipsCompliance
);
1218
if (!SecurityUtils.
RequiresFipsCompliance
)
1224
if (!SecurityUtils.
RequiresFipsCompliance
)
1273
if ((!SecurityUtils.
RequiresFipsCompliance
&& algorithmObject is SHA1CryptoServiceProvider)
1315
if (SecurityUtils.
RequiresFipsCompliance
)
1324
if (SecurityUtils.
RequiresFipsCompliance
)
1334
!SecurityUtils.
RequiresFipsCompliance
/* indicates the managed version of the algortithm */ );
System\IdentityModel\SignedXml.cs (2)
82
if (SecurityUtils.
RequiresFipsCompliance
&& signatureMethod == SecurityAlgorithms.RsaSha256Signature)
192
if (SecurityUtils.
RequiresFipsCompliance
&& signatureMethod == SecurityAlgorithms.RsaSha256Signature)