ssh1

package
v0.0.0-...-4926435 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const Header = "SSH PRIVATE KEY FILE FORMAT 1.1\n\x00"

Variables

View Source
var ErrCorrupted = errors.New("invalid private key data or incorrect password")

Functions

func ParsePrivateKey

func ParsePrivateKey(data, password []byte) (*rsa.PrivateKey, string, error)

func ParsePublicKey

func ParsePublicKey(data []byte) (*rsa.PublicKey, string, error)

Types

This section is empty.

Directories

Path Synopsis
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3.
Package des implements the Data Encryption Standard (DES) and the Triple Data Encryption Algorithm (TDEA) as defined in U.S. Federal Information Processing Standards Publication 46-3.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL