[xmlsec] Using Root Certificate from MS certificate store
arda.tekin at softhome.net
Fri Apr 11 02:37:54 PDT 2003
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?
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:
HCERTSTORE m_hStore = CertOpenStore(CERT_STORE_PROV_SYSTEM_A,
PCCERT_CONTEXT pCertContext = CertFindCertificateInStore(m_hStore,
X509_ASN_ENCODING | PKCS_7_ASN_ENCODING,
0, CERT_FIND_ISSUER_ATTR, &certRDN, NULL);
Can I use this handle or any other information which is obtain from a win32 system in xmlsec library?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the xmlsec