From: "Atle Sandvold" <[EMAIL PROTECTED]>

asandvold> I would like to extract the public key and the DN elements
asandvold> from a PKCS#10 file.  How can I do this with openssl (or
asandvold> other packages) ? 
asandvold> 
asandvold> I'm looking for something with the same functionality as
asandvold> e.g X509_get_subject_name()

If you look in x509.h, you'll find a number of functions and macros
handling a type called X509_REQ.  Among them, there is
X509_REQ_get_subject_name().

Search, and you shall find.  Use "X509_REQ" wisely...

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Chairman@Stacken   \ S-168 35  BROMMA  \ T: +46-8-26 52 47
Redakteur@Stacken   \      SWEDEN       \ or +46-709-50 36 10
Procurator Odiosus Ex Infernis                -- [EMAIL PROTECTED]
Member of the OpenSSL development team: http://www.openssl.org/
Software Engineer, Celo Communications: http://www.celocom.com/

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to