I have got a subject string of the certification. And I want to use this 
string to find out 
the proper X509 object in a stack. I know the method 
        X509 *X509_find_by_subject(STACK_OF(X509) *sk,X509_NAME *name);
,but I don't know how to construct a X509_NAME object by giving a subject string like 
"/C=CN/O=XXXXX.inc/CN=XXXXXXX".

Can anybody help me?

thx!!


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to