testauthority

package
v3.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2019 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Keygen

type Keygen struct {
}

func New

func New() *Keygen

func (*Keygen) Close

func (n *Keygen) Close()

func (*Keygen) GenerateHostCert

func (n *Keygen) GenerateHostCert(c services.HostCertParams) ([]byte, error)

func (*Keygen) GenerateKeyPair

func (n *Keygen) GenerateKeyPair(passphrase string) ([]byte, []byte, error)

func (*Keygen) GenerateUserCert

func (n *Keygen) GenerateUserCert(c services.UserCertParams) ([]byte, error)

func (*Keygen) GetNewKeyPairFromPool

func (n *Keygen) GetNewKeyPairFromPool() ([]byte, []byte, error)

type PreparedKeyPair

type PreparedKeyPair struct {
	Priv []byte
	Pub  []byte
}

Jump to

Keyboard shortcuts

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