pvl

package
v1.0.43 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2018 License: BSD-3-Clause, BSD-3-Clause Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const SupportedVersion int = 1

SupportedVersion is which version of PVL is supported by this client.

Variables

This section is empty.

Functions

func CheckProof

func CheckProof(g1 libkb.ProofContext, pvlS string, service keybase1.ProofType, info ProofInfo) libkb.ProofError

CheckProof verifies one proof by running the pvl on the provided proof information.

Types

type ProofInfo

type ProofInfo struct {
	ArmoredSig     string
	Username       string
	RemoteUsername string
	Hostname       string
	Protocol       string
	APIURL         string
	// contains filtered or unexported fields
}

ProofInfo contains all the data about a proof PVL needs to check it. It can be derived from a RemoteProofChainLink and SigHint.

func NewProofInfo

func NewProofInfo(link libkb.RemoteProofChainLink, h libkb.SigHint) ProofInfo

NewProofInfo creates a new ProofInfo

Jump to

Keyboard shortcuts

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