signer

package
v0.1.17 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package signer defines an interface to add additional signatures to communications with the Fleetspeak server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Signer

type Signer interface {
	// SignContact attempts to produce a signature of data which
	// will be included when sending it to the server.
	//
	// SignContact may return nil if the intended certificate is currently
	// unavailable. Otherwise it should return a proto with all fields set.
	SignContact(data []byte) *fspb.Signature
}

A Signer is given a chance to sign all data sent to the server.

Jump to

Keyboard shortcuts

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