Documentation ¶
Index ¶
- 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 P12(path, password string) (crypto.PrivateKey, *x509.Certificate, []*x509.Certificate, error)
- func PrivateKey(path string, password string) (crypto.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesFromFileOrEnv ¶
func Certificates ¶
func Certificates(path string) ([]*x509.Certificate, error)
func CertificatesFromPEM ¶
func CertificatesFromPEM(pemBytes []byte) ([]*x509.Certificate, error)
func CertificatesFromPEMs ¶
func CertificatesFromPEMs(pems [][]byte) ([]*x509.Certificate, error)
func P12 ¶
func P12(path, password string) (crypto.PrivateKey, *x509.Certificate, []*x509.Certificate, error)
func PrivateKey ¶
func PrivateKey(path string, password string) (crypto.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.