Utility for X509-certificate parsing