wolfssl-examples/crypto/pkcs12
David Garske 977610e3ab Updated README with wolfSSL build instructions. Enabled checking for wolfSSL enables and print if not met. 2020-03-25 06:50:20 -07:00
..
Makefile add PKCS12 create example 2020-03-18 18:21:20 -06:00
README Updated README with wolfSSL build instructions. Enabled checking for wolfSSL enables and print if not met. 2020-03-25 06:50:20 -07:00
pkcs12-create-example.c Updated README with wolfSSL build instructions. Enabled checking for wolfSSL enables and print if not met. 2020-03-25 06:50:20 -07:00
pkcs12-example.c Updated README with wolfSSL build instructions. Enabled checking for wolfSSL enables and print if not met. 2020-03-25 06:50:20 -07:00
test-servercert.p12 simple pkcs12 example added 2017-01-09 14:35:12 -07:00

README

These PKCS12 examples need wolfSSL to be built using:

   ./configure --enable-pkcs12 --enable-pwdbased --enable-des3 --enable-keygen --enable-certgen
   make
   sudo make install


How to use pkcs12-example.c
1) Compile wolfSSL then run 'make' from this directory.

2) Run the excecutable as follows:

        ./pkcs12-example

3)  Running 'make clean' will delete the excecutable as well as any created
    files. Making sure that the only files left are 'pkcs12-example.c',
    'Makefile', 'test-servercert.p12'and 'README'.


How to use pkcs12-create-example

1) Compile wolfSSL then run 'make' from this directory.

2) A new key and certificate is generated then output into the output.p12 pkcs12
   bundled created. The default password is "test password"

      ./pkcs12-create-example