From kde-core-devel Wed Mar 07 21:08:00 2001 From: George Staikos Date: Wed, 07 Mar 2001 21:08:00 +0000 To: kde-core-devel Subject: base64 codec required before KIO X-MARC-Message: https://marc.info/?l=kde-core-devel&m=98399932124385 I think I'm going to need the base64 codec in libkssl to store seen X509 objects in KConfig. (yes it's a pain but it's the best solution I've been able to find) Basically I have a triple (CN, Policy, X509) that will be stored for each site which has a policy declared (Always accept, never accept, etc). The X509 certificate is an array of unsigned char and may contain \0 so I can't just convert it to a QString. I didnt' find any method in KConfig docs for storing binary data so I assume that I'll have to use a base64 encoding. Should I just copy the base64 code from KIO into the .cc file that needs it? (it's only internal to one class) Anyone have a better solution? Actually I will probably use this for storing personal certificates in the future as well. -- George Staikos