Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Mapper ¶
type Mapper interface { Put(pkiID common.PKIidType, identity api.PeerIdentityType) error Get(pkiID common.PKIidType) (api.PeerIdentityType, error) Sign(msg []byte) ([]byte, error) Verify(vkID, signature, message []byte) error GetPKIidOfCert(api.PeerIdentityType) common.PKIidType SuspectPeers(isSuspected api.PeerSuspector) IdentityInfo() api.PeerIdentitySet Stop() }
func NewIdentityMapper ¶
func NewIdentityMapper(mcs api.MessageCryptoService, selfIdentity api.PeerIdentityType, onPurge purgeTrigger, sa api.SecurityAdvisor) Mapper
Click to show internal directories.
Click to hide internal directories.