Documentation ¶
Index ¶
- type Manager
- func NewDummyCertManager(fs boshsys.FileSystem, runner boshsys.CmdRunner, timeout time.Duration, ...) Manager
- func NewUbuntuCertManager(fs boshsys.FileSystem, runner boshsys.CmdRunner, timeout time.Duration, ...) Manager
- func NewWindowsCertManager(fs boshsys.FileSystem, runner boshsys.CmdRunner, dirProvider boshdir.Provider, ...) Manager
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager interface { // UpdateCertificates manages the set of CA certificates that are trusted in // addition to certificates that were pre-installed on the operating system. // // Each call alters the set of X.509 certificates that are trusted as // root certificates on this machine to match the set of certificates given. // // Calling this method again later with a different set of certificates will // replace the previously trusted certificates with the new set; hence, calling // this method with an empty set of certificates will bring this machine back to // the initial state, where it only trusts the CA certificates that came with the OS. // // The certs argument should contain zero or more X.509 certificates in PEM format // concatenated together. Any text that is not between `-----BEGIN CERTIFICATE-----` // and `-----END CERTIFICATE-----` lines is ignored. UpdateCertificates(certs string) error }
Manager is a set of operations for manipulating the set of trusted CA certificates on any OS platform.
func NewDummyCertManager ¶
func NewUbuntuCertManager ¶
Click to show internal directories.
Click to hide internal directories.