Exemplo n.º 1
0
 public static extern bool CryptAcquireCertificatePrivateKey(
     IntPtr pCert,
     AcquireCertificateKeyOptions dwFlags,
     IntPtr pvReserved,
     out SafeNCryptKeyHandle phCryptProvOrNCryptKey,
     out int dwKeySpec,
     out bool pfCallerFreeProvOrNCryptKey);
Exemplo n.º 2
0
 public static extern bool CryptAcquireCertificatePrivateKey(
     SafeCertContextHandle pCert,
     AcquireCertificateKeyOptions dwFlags,
     IntPtr pvReserved, // void *
     [Out] out SafeNCryptKeyHandle phCryptProvOrNCryptKey,
     [Out] out int dwKeySpec,
     [Out, MarshalAs(UnmanagedType.Bool)] out bool pfCallerFreeProvOrNCryptKey);