Expand scope of X509CertificatePanel to also handle other certificate types. Actually removes some duplicated and some unnecessary code.