update PKCS7/CMS README

pull/113/head
Chris Conlon 2018-10-23 09:46:34 -06:00
parent 717fd12646
commit 7d9d48602e
1 changed files with 50 additions and 4 deletions

View File

@ -2,7 +2,7 @@
## Building
### Build and install wolfSSL
### Build and Install wolfSSL
```
$ ./configure --enable-pkcs7
@ -10,7 +10,7 @@ $ make
$ sudo make install
```
### Build Example
### Build Examples
Running `make` will try to compile all C source files into their own
respective example application. Each source file can be compiled separately
@ -34,13 +34,59 @@ CFLAGS+=$(DEBUG_FLAGS)
Build wolfSSL using: `./configure --enable-pkcs7 --enable-debug && make && sudo make install`
## Usage
## Examples Description and Usage
### `pkcs7-verify`
### pkcs7-verify
```
./pkcs7-verify
Der 1633
PKCS7 Verify Success
```
### EncryptedData
Example file: `encryptedData.c`
```
./encryptedData
Successfully encoded EncryptedData bundle (encryptedData.der)
```
### EnvelopedData using KTRI RecipientInfo
Example file: `envelopedData-ktri.c
```
./envelopedData-ktri
Successfully encoded EnvelopedData bundle (envelopedDataKTRI.der)
```
### EnvelopedData using KARI RecipientInfo
Example file: `envelopedData-kari.c`
```
./envelopedData-kari
Successfully encoded EnvelopedData bundle (envelopedDataKARI.der)
```
### EnvelopedData using PWRI RecipientInfo
Example file: `envelopedData-pwri.c`
```
./envelopedData-pwri
Successfully encoded EnvelopedData bundle (envelopedDataPWRI.der)
```
### EnvelopedData using ORI RecipientInfo
Example file: `envelopedData-ori.c`
```
./envelopedData-ori
Successfully encoded EnvelopedData bundle (envelopedDataORI.der)
```