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



This section is empty.


This section is empty.


This section is empty.


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.

Source Files