[DllImport("Crypt32.dll", SetLastError = true)]
public static extern bool CryptDecodeObjectEx(
uint dwCertEncodingType,
uint lpszStructType,
byte[] pbEncoded,
uint cbEncoded,
uint dwFlags,
ref CRYPT_DECODE_PARA pDecodePara,
IntPtr pvStructInfo,
ref uint pcbStructInfo
);