Versions in this module Expand all Collapse all v1 v1.3.2 Oct 29, 2018 Changes in this version + var ErrDecryption = errors.New("pkcs12: decryption error, incorrect padding") + var ErrIncorrectPassword = errors.New("pkcs12: decryption password incorrect") + func Decode(pfxData []byte, password string) (privateKey interface{}, certificate *x509.Certificate, err error) + func Encode(derBytes []byte, privateKey interface{}, password string) (pfxBytes []byte, err error) + func ToPEM(pfxData []byte, password string) ([]*pem.Block, error) + type EncodeError string + func (e EncodeError) Error() string + type NotImplementedError string + func (e NotImplementedError) Error() string