1 type derived from SafeProvOrNCryptKeyHandle
System.Security.Cryptography.Pkcs (1)
Microsoft\Win32\SafeHandles\SafeProvOrNCryptKeyHandleUwp.cs (1)
16
internal sealed class SafeProvOrNCryptKeyHandleUwp :
SafeProvOrNCryptKeyHandle
7 references to SafeProvOrNCryptKeyHandle
System.Security.Cryptography.Pkcs (7)
Internal\Cryptography\Pal\Windows\DecryptorPalWindows.Decrypt.cs (3)
91
using (
SafeProvOrNCryptKeyHandle
? hKey = PkcsPalWindows.GetCertificatePrivateKey(cert, Silent, PreferNCrypt, out _, out exception))
165
private unsafe CryptographicException? TryDecryptTrans(KeyTransRecipientInfo recipientInfo,
SafeProvOrNCryptKeyHandle
hKey, CryptKeySpec keySpec)
195
private Exception? TryDecryptAgree(KeyAgreeRecipientInfo keyAgreeRecipientInfo,
SafeProvOrNCryptKeyHandle
hKey, CryptKeySpec keySpec, X509Certificate2Collection originatorCerts, X509Certificate2Collection extraStore)
Internal\Cryptography\Pal\Windows\HelpersWindows.cs (2)
358
public static CspParameters GetProvParameters(this
SafeProvOrNCryptKeyHandle
handle)
432
SafeProvOrNCryptKeyHandle
handle,
Internal\Cryptography\Pal\Windows\PkcsPalWindows.cs (2)
109
SafeProvOrNCryptKeyHandle
? handle = GetCertificatePrivateKey(
190
internal static
SafeProvOrNCryptKeyHandle
? GetCertificatePrivateKey(