wolfssl-examples/certfields
Chris Conlon 891cb7498a add cert field extraction example 2016-08-25 11:50:26 -06:00
..
Makefile add cert field extraction example 2016-08-25 11:50:26 -06:00
README.md add cert field extraction example 2016-08-25 11:50:26 -06:00
main.c add cert field extraction example 2016-08-25 11:50:26 -06:00

README.md

wolfSSL X509 Field Extraction Example

Example of parsing a DER encoded self-signed certificate and extracting public key and subject name information.

Compiling and Running the Example

To compile, first build wolfSSL with the OpenSSL compatibilty layer enabled:

$ cd wolfssl-X.X.X
$ ./configure --enable-opensslextra
$ make
$ sudo make install

Then, compile the example app:

$ make
$ ./app

For support, please contact support@wolfssl.com