Versions in this module Expand all Collapse all v1 v1.2.0 Oct 17, 2022 Changes in this version + var ErrIncorrectPassword = x509.IncorrectPasswordError + func Marshal(pk interface{}, opts *MarshalOptions) ([]byte, error) + func ParseEncryptedPrivateKey(data []byte, passphrase []byte) (ssh.Signer, error) + func ParseEncryptedRawPrivateKey(data []byte, passphrase []byte) (interface{}, error) + type Format int + const FormatClassicPEM + const FormatOpenSSHv1 + type MarshalOptions struct + Format Format + Passphrase []byte