Lines Matching refs:Certificate
39 // certificate is a parsed version of the TLS config certificate, if present.
40 certificate *x509.Certificate
139 s.TLS.Certificates = []tls.Certificate{cert}
141 s.certificate, err = x509.ParseCertificate(s.TLS.Certificates[0].Certificate[0])
146 certpool.AddCert(s.certificate)
263 // Certificate returns the certificate used by the server, or nil if
265 func (s *Server) Certificate() *x509.Certificate {
266 return s.certificate
270 // It is configured to trust the server's TLS test certificate and will