Skip to content

PEM example: new example for convert between PEM and DER#6569

Merged
dgarske merged 2 commits intowolfSSL:masterfrom
SparkiDev:pem_der_example
Jul 3, 2023
Merged

PEM example: new example for convert between PEM and DER#6569
dgarske merged 2 commits intowolfSSL:masterfrom
SparkiDev:pem_der_example

Conversation

@SparkiDev
Copy link
Copy Markdown
Contributor

Description

PEM example converts PEM to DER and DER to PEM.
Supports encrypting DER and writing out as PEM.

Added better support for 40-bit RC2-CBC PBE.
Added AES-128-CBC encryption support with PKCS#5v2. Fixed handling of iterations to support writing 24-bit values. Declared enum types for pass to PKCS#8 encryption APIs.

Add more DER and PEM files to certs directory.
Add testing of 'pem' with pem.test script.

Testing

Configurations that enable/disable different features affecting pem.c and pem.test.

Checklist

  • [c] added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@SparkiDev SparkiDev self-assigned this Jul 3, 2023
PEM example converts PEM to DER and DER to PEM.
Supports encrypting DER and writing out as PEM.

Added better support for 40-bit RC2-CBC PBE.
Added AES-128-CBC encryption support with PKCS#5v2.
Fixed handling of iterations to support writing 24-bit values.
Declared enum types for pass to PKCS#8 encryption APIs.

Add more DER and PEM files to certs directory.
Add testing of 'pem' with pem.test script.
@SparkiDev SparkiDev assigned dgarske and unassigned SparkiDev Jul 3, 2023
@dgarske dgarske merged commit a921ab7 into wolfSSL:master Jul 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants