I’m working on certificate based authentication for my application. I can able to get the certificate from keychain, it’s in DER format with CFData type. I need to send the certificate CFData to server for authentication, is it possible to convert the certificate data into NSString format?
Thank you
Cast the
CFDatareference toNSDataand then usebase64EncodedStringWithOptions:to encode the data into a string.