trust

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PendingChallenge

type PendingChallenge struct {
	ClientNonce     string
	BindingAudience string
	PairingCode     string
	ExpiresAtUnixMS int64
}

type Store

type Store struct {
	// contains filtered or unexported fields
}

func NewStore

func NewStore(filePath string) *Store

func (*Store) ClientCanWriteProfiles

func (s *Store) ClientCanWriteProfiles(clientKeyID string, bindingAudience string) bool

func (*Store) ClientPublicKey

func (s *Store) ClientPublicKey(clientKeyID string, bindingAudience string) (string, bool)

func (*Store) GatewayMetadata

func (s *Store) GatewayMetadata(bindingAudience string) (protocol.GatewayMetadata, string, error)

func (*Store) GatewayPrivateKey

func (s *Store) GatewayPrivateKey() (string, error)

func (*Store) IsPaired

func (s *Store) IsPaired(clientKeyID string, bindingAudience string) bool

func (*Store) PendingChallenge

func (s *Store) PendingChallenge(gatewayNonce string) (PendingChallenge, bool)

Jump to

Keyboard shortcuts

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