code: func (s *Server) CertificateInfo() *object.HostCertificateInfo {
  	info := new(object.HostCertificateInfo)
  	info.FromCertificate(s.Certificate())
  	return info
  }
docs: // CertificateInfo returns Server.Certificate() as object.HostCertificateInfo