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?
or
Can I pass the PEM data to InitDecodedCert and get the cert and then get the public key out of that?
or
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.
ReferencesStable Releases - download stable product releases.
Development Branch - latest development branch on GitHub.
wolfSSL Manual - wolfSSL (formerly CyaSSL) product manual and API reference.