Documentation ¶
Overview ¶
Package client implements the Katzenpost voting authority client.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a PKI client.
func (*Client) Deserialize ¶
Deserialize returns PKI document given the raw bytes.
type Config ¶
type Config struct { // KEMScheme indicates the KEM scheme used for the LinkKey/wire protocol. KEMScheme kem.Scheme // LinkKey is the link key for the client's wire connections. LinkKey kem.PrivateKey // LogBackend is the `core/log` Backend instance to use for logging. LogBackend *log.Backend // Authorities is the set of Directory Authority servers. Authorities []*config.Authority // DialContextFn is the optional alternative Dialer.DialContext function // to be used when creating outgoing network connections. DialContextFn func(ctx context.Context, network, address string) (net.Conn, error) // Geo is the geometry used for the Sphinx packet construction. Geo *geo.Geometry }
Config is a voting authority pki.Client instance.
Click to show internal directories.
Click to hide internal directories.