Versions in this module Expand all Collapse all v1 v1.0.0 Jul 25, 2016 Changes in this version + var ErrEncodedSequenceTooLong = errors.New("Encoded sequence too long") + var ErrIncorrectEntryType = errors.New("Incorrect entry type") + var ErrIncorrectMagic = errors.New("Invalid keystore format") + var ErrIncorrectPrivateKey = errors.New("Invalid private key format") + var ErrIncorrectTag = errors.New("Invalid keystore format") + var ErrIncorrectVersion = errors.New("Invalid keystore format") + var ErrInvalidDigest = errors.New("Invalid digest") + var ErrIo = errors.New("Invalid keystore format") + var ErrUnrecoverablePrivateKey = errors.New("Unrecoverable private key") + var ErrUnsupportedPrivateKeyAlgorithm = errors.New("Unsupported private key algorithm") + func Encode(w io.Writer, ks KeyStore, password string) error + type Certificate struct + Content []byte + Type string + type Entry struct + CreationDate time.Time + type KeyStore map[string]interface + func Decode(r io.Reader, password string) (KeyStore, error) + type PrivateKeyEntry struct + CertChain []Certificate + PrivKey []byte + type TrustedCertificateEntry struct + Certificate Certificate Incompatible versions in this module v2.1.0+incompatible Feb 13, 2018 v2.0.1+incompatible Sep 19, 2017 v2.0.0+incompatible Jul 31, 2016