Discover Packages
github.com/katzenpost/mailproxy
internal
authority
package
Version:
v0.0.10
Opens a new window with list of versions in this module.
Published: Jan 27, 2021
License: AGPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package authority implements the generic PKI backend.
type Authority struct {
}
Authority is a directory authority instance.
Client returns the pki.Client instance associated with the Authority.
Deref decrements the reference count of the Authority. If the reference
count reaches 0, the Authority will be torn down and removed from it's
associated Store.
Factory constructs a new pki.Client instance with a pre-set configuration.
Store is a group of Authority instances.
NewStore constructs a new Store instance.
Get returns the Authority identified by id, after incrementing the reference
count.
Reset clears the Store after Deref()ing each Authority. If any Authority
has any other existing references, this call will panic.
Set sets the Authority identified by id, to a new pki.Client constructed
by the provided factory f, wrapped in a caching wrapper.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.