I have a cert in memory in PEM format.
Can I get the public key out of the WOLFSSL_CTX structure after I do a load verify buffer?
Can I pass the PEM data to InitDecodedCert and get the cert and then get the public key out of that?
Can I convert the PEM in memory to a DER then use InitDecodedCert to get the cert?
If not I will just put the DER in the system in place of the PEM but I would rather use the PEM as is.
BTW I do not have a file system so the convert PEM file to DER is not an option.
Please post questions or comments you have about wolfSSL products here. It is helpful to be as descriptive as possible when asking your questions.References
Stable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.