public static extern bool CryptDecodeObject( CryptEncodingFlags certEncodingType, IntPtr lpszStructType, byte[] pbEncoded, int cbEncoded, CryptDecodeFlags flags, [In, Out] byte[] pvStructInfo, ref uint cbStructInfo );
internal static extern bool CryptDecodeObjectEx( CryptEncodingFlags dwCertEncodingType, [MarshalAs(UnmanagedType.LPWStr)] string pszString, byte[] pbEncoded, uint cbEncoded, uint dwFlags, IntPtr decodeParam, out byte[] pvStructInfo, ref byte[] pcbStructInfo );