Help us shape the future of Go! Take the 2026 Go Developer Survey

sshcert

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2021 License: Apache-2.0, Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeys

func GenerateKeys() (RawPublicKey, RawPrivateKey, error)

GenerateKeys generates a ed25519 keypair in on-disk format

func Parse

func Parse(raw RawCertificate) (*ssh.Certificate, error)

Parse parses a certificate

Types

type RawCertificate

type RawCertificate string

RawCertificate is a cert in the on-disk certificate format

type RawPrivateKey

type RawPrivateKey string

RawPrivateKey is a private key in the on-disk private key format

type RawPublicKey

type RawPublicKey string

RawPublicKey is a public key in the on-disk format

Jump to

Keyboard shortcuts

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