Archived Forum Post

Index of archived forum posts

Question:

convert a "const char *" into a "CkCert*"

May 27 '13 at 09:16

Hi...

I'm working on an SSL client/server application, where the client sends a digital certificate as a "const char " to the server. My question is how can I convert the certificate from a "const char " type to a "CkCert*" type? Even though I've looked at the methods of the CkCert in the reference documentation, and did not find anything useful for my case!

Regards.


Answer

Use the SetFromEncoded method.