Some handy tools for x509 parsing