1 instantiation of None
System.Security.Cryptography.Pkcs (1)
Internal\Cryptography\EnvelopedCmsKey.cs (1)
18internal static None Instance { get; } = new None();
9 references to None
System.Security.Cryptography.Pkcs (9)
Internal\Cryptography\EnvelopedCmsKey.cs (2)
14EnvelopedCmsKey.None) 18internal static None Instance { get; } = new None();
Internal\Cryptography\Pal\AnyOS\ManagedPal.Decrypt.cs (3)
43Debug.Assert((cert is not null) ^ (privateKey is not EnvelopedCmsKey.None)); 51if (privateKey is not EnvelopedCmsKey.None && key is null) 70else if (privateKey is EnvelopedCmsKey.None)
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs (2)
34Debug.Assert((cert is not null) ^ (privateKey is not EnvelopedCmsKey.None)); 74if (privateKey is not EnvelopedCmsKey.None)
System\Security\Cryptography\Pkcs\EnvelopedCms.cs (2)
217privateKey is RSA rsa ? rsa : EnvelopedCmsKey.None.Instance); 264EnvelopedCmsKey.None.Instance,