Versions in this module Expand all Collapse all v1 v1.20.0 Apr 26, 2023 v1.6.3 Apr 17, 2023 Changes in this version + func Encode(w io.Writer, ks KeyStore, password []byte) error + func EncodeWithRand(rand io.Reader, w io.Writer, ks KeyStore, password []byte) error + type Certificate struct + Content []byte + Type string + type Entry struct + CreationTime time.Time + type KeyStore map[string]interface + func Decode(r io.Reader, password []byte) (KeyStore, error) + type PrivateKeyEntry struct + CertificateChain []Certificate + PrivateKey []byte + type TrustedCertificateEntry struct + Certificate Certificate