[xmlsec] Subject name (CAPI provider)
Erik F. Andersen
ea at ascott.dk
Wed Jan 26 23:08:48 PST 2005
I use something like this (from Delphi):
dwSize := 0;
dwSize := CertNameToStr(X509_ASN_ENCODING, pCertContext^.pCertInfo^.Subject, CERT_SIMPLE_NAME_STR, nil, dwSize);
SetLength(sCertSimpleNameStr, dwSize-1);
CertNameToStr(X509_ASN_ENCODING, pCertContext^.pCertInfo^.Subject, CERT_SIMPLE_NAME_STR, PChar(sCertSimpleNameStr), dwSize);
This will work fine later with xmlSecKeysMngrFindKey. Don't know if it will help in your case though.
/Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.aleksey.com/pipermail/xmlsec/attachments/20050127/884c27cf/attachment-0002.htm
More information about the xmlsec
mailing list