PEM example: new example for convert between PEM and DER#6569
Merged
dgarske merged 2 commits intowolfSSL:masterfrom Jul 3, 2023
Merged
PEM example: new example for convert between PEM and DER#6569dgarske merged 2 commits intowolfSSL:masterfrom
dgarske merged 2 commits intowolfSSL:masterfrom
Conversation
e1ce5d5 to
2940d48
Compare
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.
2940d48 to
a39a04f
Compare
dgarske
approved these changes
Jul 3, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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