public static extern int CertNameToStrW( int dwCertEncodingType, IntPtr pName, int dwStrType, IntPtr psz, int csz);