Searched refs:NewTLS (Results 1 – 1 of 1) sorted by relevance
183 return NewTLS(c.config)192 func NewTLS(c *tls.Config) TransportCredentials { func202 return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp})217 return NewTLS(&tls.Config{ServerName: serverNameOverride, RootCAs: cp}), nil222 return NewTLS(&tls.Config{Certificates: []tls.Certificate{*cert}})232 return NewTLS(&tls.Config{Certificates: []tls.Certificate{cert}}), nil