Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@rbarreiros
Copy link
Contributor

I haven't had the chance to test this branch in a RPi with an older Linux, I'm using std::partition_copy which requires C++17, not sure if it's actually faster (for large datasets) than calling getAllCerts() twice... Anyway, if it's an issue it's easy to fix.

  • Added CA LS command and CA PENDING command to the PTY to list all and pending certificates
  • Refactored ctrlPtyDataReceived to send information to the client that is relevant for the command issued instead of just cout
  • Added getAllCerts() to retrieve all available certificates in a vector of CertInfo so that it can be consumed by other parts of the application if needed.
  • Added toString to Async::SslX509 class to return the certificate information as a string, and refactored print() to use toString() method instead.

…nd pending certificates

- Refactored ctrlPtyDataReceived to send information to the client that is relevant for the command issued instead of just cout
- Added getAllCerts() to retrieve all available certificates in a vector of CertInfo so that it can be consumed by other parts of the application if needed.
- Added toString to Async::SslX509 class to return the certificate information as a string, and refactored print() to use toString() method instead.
Fixed the certificate ignoring own reflector certificate to use the configured COMMON_NAME
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.

1 participant