4 references to Encrypt
Microsoft.Build.Tasks.Core (2)
ManifestUtil\CngLightup.cs (2)
268return rsaCsp.Encrypt(data, false); 315return rsaCsp.Encrypt(data, true);
System.Security.Cryptography (2)
System\Security\Cryptography\RSACryptoServiceProvider.Unix.cs (2)
98padding == RSAEncryptionPadding.Pkcs1 ? Encrypt(data, fOAEP: false) : 99padding == RSAEncryptionPadding.OaepSHA1 ? Encrypt(data, fOAEP: true) : // For compat, this prevents OaepSHA2 options as fOAEP==true will cause Decrypt to use OaepSHA1