gen

package
v0.0.0-...-9c77b49 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Generator

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

Generator represents the OS identity generator.

func NewGenerator

func NewGenerator(data *userdata.UserData, port int) (g *Generator, err error)

NewGenerator initializes a Generator with a preconfigured grpc.ClientConn.

func (*Generator) Certificate

func (g *Generator) Certificate(in *proto.CertificateRequest) (resp *proto.CertificateResponse, err error)

Certificate implements the proto.TrustdClient interface.

func (*Generator) Identity

func (g *Generator) Identity(data *userdata.Security) (err error)

Identity creates a CSR and sends it to a Root of Trust for signing. The Root of Trust responds with a signed certificate.

Jump to

Keyboard shortcuts

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