Versions in this module Expand all Collapse all v0 v0.5.1 Mar 9, 2024 v0.5.0 Mar 9, 2024 Changes in this version + var ErrNeedPassword = errors.New("need password to decode file") + func BytesFromFileOrEnv(path string) ([]byte, error) + func Certificates(path string) ([]*x509.Certificate, error) + func CertificatesFromPEM(pemBytes []byte) ([]*x509.Certificate, error) + func CertificatesFromPEMs(pems [][]byte) ([]*x509.Certificate, error) + func PrivateKey(path string, password string) (crypto.PrivateKey, error) + type P12Contents struct + Certificate *x509.Certificate + Certificates []*x509.Certificate + PrivateKey crypto.PrivateKey + func P12(path, password string) (*P12Contents, error)