Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertPool ¶
type CertPool struct {
// contains filtered or unexported fields
}
CertPool is a thread safe wrapper around the x509 standard library cert pool implementation. It optionally allows loading the system trust store.
func NewCertPool ¶
NewCertPool new CertPool implementation.
func (*CertPool) Add ¶
func (c *CertPool) Add(certs ...*x509.Certificate)
Add adds given certs to cert pool queue, those certs will be added to certpool during subsequent Get() call.
Click to show internal directories.
Click to hide internal directories.