SetRootCertFromString set root certificates from string.
(pemContent string)
| 296 | |
| 297 | // SetRootCertFromString set root certificates from string. |
| 298 | func (c *Client) SetRootCertFromString(pemContent string) *Client { |
| 299 | c.appendRootCertData([]byte(pemContent)) |
| 300 | return c |
| 301 | } |
| 302 | |
| 303 | // SetRootCertsFromFile set root certificates from files. |
| 304 | func (c *Client) SetRootCertsFromFile(pemFiles ...string) *Client { |