Documentation ¶
Overview ¶
Package mailproxy provides a library for generating mailproxy configuration and key material.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateConfig ¶
func GenerateConfig(user, provider, providerKey, authority, onionAuthority, authorityKey, dataDir, socksNet, socksAddr string, preferOnion bool) (*ecdh.PublicKey, *ecdh.PublicKey, error)
GenerateConfig is used to generate mailproxy configuration files including key material in the specific dataDir directory. It returns the link layer authentication public key and the identity public key or an error upon failure. This function returns the public keys so that they may be used with the Provider account registration process.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.