Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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
Click to show internal directories.
Click to hide internal directories.