# CryptGetSignerCertificate

```csharp
[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptGetSignerCertificate(
   IntPtr hCryptMsg,
   uint dwSignerIndex,
   uint dwFlags,
   IntPtr ppSignerCert,
   ref uint pdwSignerCert
);
```
