<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=US-ASCII">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.0.4630.0">
<TITLE>Subject name (CAPI provider)</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<BR>
<P> <FONT SIZE=2 FACE="Arial CE">When I decode subject name (from CERT_NAME_BLOB into plain text char*) from cert (</FONT><FONT SIZE=2 FACE="Courier New CE">cert->pCertInfo->Subject</FONT><FONT SIZE=2 FACE="Arial CE">) I can't find (using CertFindCertificateInStore() with CERT_FIND_SUBJECT_NAME flag) that cert when I specify subject name that I have previously retirived and stored. Does anyone have expirience with subject names encoding/decoding (CertStrToName()/CertNameToStr()) in CryptoAPI?</FONT></P>
<P><FONT SIZE=2 FACE="Arial CE">Thank you very much,</FONT>
<BR><FONT SIZE=2 FACE="Arial CE">Milan</FONT>
</P>
</BODY>
</HTML>