mirror of
https://github.com/apple/swift-nio-ssl
synced 2026-11-27 05:04:24 +00:00
Motivation: In some cases it's useful to be able to ask questions about what the certificate looks like. We don't have a full X509 API, so the best way to handle this for now is to allow users to extract the bytes of the certificate so they can use other libraries to do the job. Modifications: - Added a function for dumping certificate bytes. Result: Users can have the certificate bytes.