Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CertificateSource ¶
type CertificateSource func() ([]*x509.Certificate, error)
func FromTUF ¶
func FromTUF(ctx context.Context) CertificateSource
FromTUF loads certs from the TUF client.
func Static ¶
func Static(certs ...*x509.Certificate) CertificateSource
Static loads a static set of Certificates.
Click to show internal directories.
Click to hide internal directories.