update PKCS7/CMS README
parent
717fd12646
commit
7d9d48602e
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
## Building
|
## Building
|
||||||
|
|
||||||
### Build and install wolfSSL
|
### Build and Install wolfSSL
|
||||||
|
|
||||||
```
|
```
|
||||||
$ ./configure --enable-pkcs7
|
$ ./configure --enable-pkcs7
|
||||||
|
@ -10,7 +10,7 @@ $ make
|
||||||
$ sudo make install
|
$ sudo make install
|
||||||
```
|
```
|
||||||
|
|
||||||
### Build Example
|
### Build Examples
|
||||||
|
|
||||||
Running `make` will try to compile all C source files into their own
|
Running `make` will try to compile all C source files into their own
|
||||||
respective example application. Each source file can be compiled separately
|
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`
|
Build wolfSSL using: `./configure --enable-pkcs7 --enable-debug && make && sudo make install`
|
||||||
|
|
||||||
|
|
||||||
## Usage
|
## Examples Description and Usage
|
||||||
|
|
||||||
|
|
||||||
### `pkcs7-verify`
|
### pkcs7-verify
|
||||||
|
|
||||||
```
|
```
|
||||||
./pkcs7-verify
|
./pkcs7-verify
|
||||||
Der 1633
|
Der 1633
|
||||||
PKCS7 Verify Success
|
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)
|
||||||
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue