opts

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadCertsFile added in v0.5.0

func ReadCertsFile(filename string, now time.Time) ([]*x509.Certificate, error)

Read a certificate file, checking and logging validity dates. Skip invalid certs, but return error if no valid certs are found.

func ReadOptionalCertsFile added in v0.5.0

func ReadOptionalCertsFile(filename string, now time.Time) ([]*x509.Certificate, error)

Like ReadCertsFile, but if the file doesn't exist, return nil, without error.

func ReadTrustPolicy added in v0.4.1

func ReadTrustPolicy(filename string) (*trust.Policy, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL