I think adding a dump_publickey API is fine. None of these APIs is what I'd call ideal. Instead they're simple to implement and maintain without adding too much extra functionality on top of OpenSSL.
I think adding a dump_publickey API is fine. None of these APIs is what I'd call ideal. Instead they're simple to implement and maintain without adding too much extra functionality on top of OpenSSL.