cert

package
v0.0.0-...-56de86b Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncodeCert

func EncodeCert(certificate *ssh.Certificate) (string, error)

Types

type Signer

type Signer struct {
	// contains filtered or unexported fields
}

func NewSigner

func NewSigner(signer ssh.Signer, conf *config.Config, storage storage.Storage) *Signer

func (*Signer) PublicKey

func (s *Signer) PublicKey() ssh.PublicKey

func (*Signer) Sign

func (s *Signer) Sign(keyId string, principals []string, certType uint32, pubkey ssh.PublicKey, extensions map[string]string) (*ssh.Certificate, error)

Jump to

Keyboard shortcuts

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