PKCS8 files and Windows Crypto API

Parts of the Windows Crypto API are quite well documented (particularly the original CAPI stuff).  Other parts….. I’ve been trying to get PKCS8 files working between OpenSSL and Windows.  The Import/Export on Windows is so badly documented I eventually resorted to ASN.1 decodes and header file trawls to find what I needed. Anyway – if… Continue Reading PKCS8 files and Windows Crypto API

Glassfish 3.1.1 won’t log FINE

I just upgraded from Glassfish 3.1 to 3.1.1 and all logging for my app below INFO (i.e. FINE/FINER/FINEST) stopped working.  Turns out there is a bug that normally expresses itself by stopping logging working altogether.  I think another symptom is glassfish starts to ignore logging if the level for the particular logger is set to… Continue Reading Glassfish 3.1.1 won’t log FINE

Import Standard RSA key to iPhone key store

So following from my post on exporting a public key from an iPhone into java, here is some sample code for going the other way. It follows the same logic as exporting the key but in reverse. (It starts with decoding the Base64 piece as the app I am working on always passes data in… Continue Reading Import Standard RSA key to iPhone key store