1 instantiation of AspNetCryptoServiceProvider
System.Web (1)
Security\Cryptography\AspNetCryptoServiceProvider.cs (1)
90
return new
AspNetCryptoServiceProvider
(
22 references to AspNetCryptoServiceProvider
System.Web (22)
Security\CookieProtection.cs (4)
24
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider) {
26
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(purpose);
72
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider) {
74
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(purpose);
Security\Cryptography\AspNetCryptoServiceProvider.cs (4)
16
private static readonly Lazy<
AspNetCryptoServiceProvider
> _singleton = new Lazy<
AspNetCryptoServiceProvider
>(GetSingletonCryptoServiceProvider);
41
internal static
AspNetCryptoServiceProvider
Instance {
84
private static
AspNetCryptoServiceProvider
GetSingletonCryptoServiceProvider() {
Security\FormsAuthentication.cs (4)
153
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider) {
155
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(Purpose.FormsAuthentication_Ticket);
255
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider) {
256
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(Purpose.FormsAuthentication_Ticket);
Security\MachineKey.cs (2)
167
return Protect(
AspNetCryptoServiceProvider
.Instance, userData, purposes);
201
return Unprotect(
AspNetCryptoServiceProvider
.Instance, protectedData, purposes);
UI\ObjectStateFormatter.cs (4)
375
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider && !_forceLegacyCryptography) {
380
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(derivedPurpose);
780
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider && !_forceLegacyCryptography) {
785
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(derivedPurpose);
UI\Page.cs (4)
1846
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider) {
1849
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(purpose, CryptoServiceOptions.CacheableOutput);
2011
if (
AspNetCryptoServiceProvider
.Instance.IsDefaultProvider) {
2014
ICryptoService cryptoService =
AspNetCryptoServiceProvider
.Instance.GetCryptoService(purpose, CryptoServiceOptions.CacheableOutput);