katzenpost

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2021 License: AGPL-3.0 Imports: 7 Imported by: 1

Documentation

Overview

Package katzenpost provides the client ACN transport for Reunion DB queries on a katzenpost decryption mix network.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Transport

type Transport struct {
	// Session is a client Session which
	// can be used to send mixnet messages.
	Session *client.Session
	// Recipient is the destination service.
	Recipient string
	// Provider is the destination Provider.
	Provider string
}

Transport is used by Reunion protocol clients to send queries to the Reunion DB service.

func (*Transport) CurrentEpochs

func (k *Transport) CurrentEpochs() ([]uint64, error)

CurrentEpochs returns the valid Epochs that this service has announced

func (*Transport) CurrentSharedRandoms

func (k *Transport) CurrentSharedRandoms() ([][]byte, error)

CurrentSharedRandoms returns the valid SharedRandoms in the PKI but in the future may return a transport specific SharedRandom

func (*Transport) Query

func (k *Transport) Query(command commands.Command) (commands.Command, error)

Query sends the command to the destination Reunion DB service over a Katzenpost mix network.

Jump to

Keyboard shortcuts

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