You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Processes PKCS#7 data, allowing operations such as extracting certificates from PKCS#7 files. PKCS#7 is a standard for cryptographically signed and/or encrypted data.
4
+
5
+
-[-in] input file containing PKCS#7 data (required)
6
+
-[-out] output file to write results to (default stdout)
7
+
-[-inform] input format (PEM or DER, default PEM)
8
+
-[-outform] output format (PEM or DER, default PEM)
9
+
-[-print_certs] extract and output certificates from the PKCS#7 file
10
+
11
+
Example for extracting certificates from a PKCS#7 file:
12
+
13
+
```
14
+
wolfssl pkcs7 -in pkcs7.pem -print_certs
15
+
```
16
+
17
+
Example for converting PKCS#7 data from PEM to DER format:
18
+
19
+
```
20
+
wolfssl pkcs7 -in pkcs7.pem -outform DER -out pkcs7.der
Processes PKCS#8 private key files. Allows conversion between different formats (PEM/DER) and decryption of private keys. Encrypting PKCS#8 keys is not yet supported.
4
+
5
+
-[-in] input file containing the private key (required)
6
+
-[-out] output file to write the processed key to (default stdout)
7
+
-[-inform] input format (PEM or DER, default PEM)
8
+
-[-outform] output format (PEM or DER, default PEM)
9
+
-[-passin] password source for encrypted input key
10
+
-[-traditional] output key in traditional (non-PKCS#8) format
11
+
-[-topk8] convert input to PKCS#8 format
12
+
-[-nocrypt] don't encrypt the output key (no password)
13
+
14
+
Example for converting an encrypted PEM key to DER format:
15
+
16
+
```
17
+
wolfssl pkcs8 -in server-keyEnc.pem -passin pass:mypassword -outform DER -out key.der
18
+
```
19
+
20
+
Example for converting a key to traditional format:
0 commit comments