<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-9">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Aleksey,</FONT></DIV>
<DIV><FONT face=Arial size=2>When I verify xml document, I use
xmlSecSimpleKeysMngrLoadPemCert() function to load cert. from a file. But this
function reads cert information from a file. I need to get cert. information
from database. So is there a way to use a cert. inf. which is a string in
memory? </FONT></DIV>
<DIV><FONT face=Arial size=2>Aleksey I have a second question, all certificates
are stored in ms certificate store in windows. I can obtain a certificate handle
from this store:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>HCERTSTORE m_hStore =
CertOpenStore(CERT_STORE_PROV_SYSTEM_A,<BR> 0,<BR>
NULL, <BR>
CERT_SYSTEM_STORE_SERVICES,<BR>
strStoreName.c_str());</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2>..</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>PCCERT_CONTEXT pCertContext =
CertFindCertificateInStore(m_hStore, <BR>
X509_ASN_ENCODING |
PKCS_7_ASN_ENCODING, <BR> 0,
CERT_FIND_ISSUER_ATTR, &certRDN, NULL);</FONT></DIV>
<DIV><FONT face=Arial size=2> </DIV>
<DIV> </DIV>
<DIV>Can I use this handle or any other information which is obtain from a win32
system in xmlsec library?</DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Arda<BR></DIV></FONT>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>