Now fully parses leaf_certificates and certificate chains