Fixed keychain and added X.509 class for self signing namespaces and for signing devices with namespace certificates.