Dear Kim: Thank you for the reply.
Your pointer helped me a great deal !
/janna
--- [EMAIL PROTECTED] wrote:
>
> Check out PEM_read_X509(...) (defined in pem.h)
> which will load the PEM
> certificate into an X509 structure.
> X509_print_fp(FILE*, X509*) defined in X509.h prints
> a certificate loaded
> into an X509 structure to a file in a readable
> format like you suggest.
>
> Kim Hellan
>
> > -----Oprindelig meddelelse-----
> > Fra: yy chang [SMTP:[EMAIL PROTECTED]]
> > Sendt: 10. december 1999 02:08
> > Til: [EMAIL PROTECTED]
> > Cc: [EMAIL PROTECTED]
> > Emne: decode a .pem file
> >
> >
> > Dear all:
> >
> > In an attempt to interpret a .pem file (as
> attached
> > ICE-CA.pem file) into a readable format:
> >
> > Certificate:
> > Data:
> > Version: 3 (0x2)
> > Serial Number: 1 (0x1)
> > Signature Algorithm:
> md5WithRSAEncrytion
> > Issuer: O=European ICE-TEL project ...
> > ...
> >
> > I've been poking around the openssl v0.9.4 for
> > two weeks. And could not get a correct source
> file.
> > Can any of you help me:
> >
> > - point me to a right source files, such as
> > crypto/evp/encode.c ?
> > crypto/asn1/*
> > ...
> >
> > a simple sample code is much appreciated.
> > (i've decode the .pem from
> >
> > - example4.c in demos/mau
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Thousands of Stores. Millions of Products. All
> in one place.
> > Yahoo! Shopping: http://shopping.yahoo.com
> >
>
______________________________________________________________________
> > OpenSSL Project
> http://www.openssl.org
> > Development Mailing List
> [EMAIL PROTECTED]
> > Automated List Manager
> [EMAIL PROTECTED]
>
______________________________________________________________________
> OpenSSL Project
> http://www.openssl.org
> Development Mailing List
> [EMAIL PROTECTED]
> Automated List Manager
> [EMAIL PROTECTED]
>
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
______________________________________________________________________
OpenSSL Project http://www.openssl.org
Development Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]