public static extern bool CertStrToName(CertEncoding dwCertEncodingType, string pszX500, CertStringType dwStrType, IntPtr pvReserved, byte[] pbEncoded, ref uint pcbEncoded, IntPtr ppszError);
public static extern bool CertStrToName(CertEncoding dwCertEncodingType, string pszX500, CertStringType dwStrType, IntPtr pvReserved, byte[] pbEncoded, ref uint pcbEncoded, IntPtr ppszError);