gen

package
v0.1.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: MPL-2.0 Imports: 12 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(conn *grpc.ClientConn) (g *Generator)

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.ROTDClient 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