Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertDB ¶
type CertDB interface { Include(ctx context.Context, pi *identity.PeerIdentity) (certid int64, err error) LookupByCertID(ctx context.Context, id int64) (*identity.PeerIdentity, error) }
CertDB is a database of peer identities.
type Pool ¶
type Pool struct {
// contains filtered or unexported fields
}
Pool implements different peer verifications.
func NewPool ¶
NewPool creates a new trust pool using kademlia to find certificates and with the specified list of trusted satellites.
func (*Pool) VerifySatelliteID ¶
VerifySatelliteID checks whether id corresponds to a trusted satellite.
Click to show internal directories.
Click to hide internal directories.