Versions in this module Expand all Collapse all v0 v0.0.1 May 21, 2018 Changes in this version + var ErrFailedToDecryptKey = errors.New("failed to decrypt private key") + var ErrFailedToParseCertificate = errors.New("failed to parse certificate PEM data") + var ErrFailedToParsePrivateKey = errors.New("failed to parse private key") + var ErrNoCertificate = errors.New("no certificate") + var ErrNoPrivateKey = errors.New("no private key") + func FromP12Bytes(bytes []byte, password string) (tls.Certificate, error) + func FromP12File(filename string, password string) (tls.Certificate, error) + func FromPemBytes(bytes []byte, password string) (tls.Certificate, error) + func FromPemFile(filename string, password string) (tls.Certificate, error)