frontend

package
v0.2.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2020 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package frontend implements the KeyTransaprencyFrontend service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Frontend

type Frontend struct {
	Client  *client.Client
	Signers []tink.Signer
	PubKeys PublicKeyGetter
}

Frontend implements KeyTransparencyFrontend.

func (*Frontend) QueueKeyUpdate

func (f *Frontend) QueueKeyUpdate(ctx context.Context, in *pb.QueueKeyUpdateRequest) (*empty.Empty, error)

QueueKeyUpdate signs an update and forwards it to the keyserver.

type PublicKeyGetter

type PublicKeyGetter interface {
	PublicKey() *keyset.Handle
}

PublicKeyGetter retrives a public key.

Jump to

Keyboard shortcuts

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