[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    base64 codec required before KIO
From:       George Staikos <staikos () kde ! org>
Date:       2001-03-07 21:08:00
[Download RAW message or body]


   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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic