sshcert

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2024 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