-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PEMFileFactory and Enhance Certificate Handling
- Introduced `PEMFileFactory` class for handling PEM format certificates. - Updated `certs/Makefile` to include `pemfilefactory.cpp` and `certfilefactory.cpp`. - Refactored certificate retrieval and key management logic. - Enhanced certificate creation functions to handle missing certificates and keys more robustly. - Integrated `CertFileFactory` as a unified interface for handling both PEM and PKCS#12 (P12) files. - Updated `createCaCertificate` and `ensureServerCertificateExists` functions to utilize the new factory classes. - Modified error handling and logging for certificate operations.
- Loading branch information
1 parent
15472b3
commit f527c07
Showing
18 changed files
with
1,019 additions
and
385 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.