frontend

package
Version: v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 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.

Source Files

Jump to

Keyboard shortcuts

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