identity

package
v0.0.0-...-e3e94bd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetIdentityUsageThreshold

func GetIdentityUsageThreshold() time.Duration

Types

type Mapper

type Mapper interface {
	Put(pkiID common.PKIid, peerIdentity api.PeerIdentity) error

	Get(pkiID common.PKIid) (api.PeerIdentity, error)

	Sign(msg []byte) ([]byte, error)

	Verify(id, sig, msg []byte) error

	GetPKIidOfCert(api.PeerIdentity) common.PKIid

	SuspectPeers(isSuspected api.PeerSuspector)

	IdentityInfo() api.PeerIdentityInfoSet

	Stop()
}

func NewIdentityMapper

func NewIdentityMapper(mcs api.MessageCryptoService, selfIdentity api.PeerIdentity, onPurge purgeTrigger, sa api.SecurityAdvisor) Mapper

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL