Versions in this module Expand all Collapse all v1 v1.5.6 Oct 3, 2021 Changes in this version + func NewSecurityAdvisor(deserializer mgmt.DeserializersManager) api.SecurityAdvisor + type Hasher interface + Hash func(msg []byte, opts bccsp.HashOpts) (hash []byte, err error) + type MSPMessageCryptoService struct + func NewMCS(channelPolicyManagerGetter policies.ChannelPolicyManagerGetter, ...) *MSPMessageCryptoService + func (s *MSPMessageCryptoService) Expiration(peerIdentity api.PeerIdentityType) (time.Time, error) + func (s *MSPMessageCryptoService) GetPKIidOfCert(peerIdentity api.PeerIdentityType) common.PKIidType + func (s *MSPMessageCryptoService) Sign(msg []byte) ([]byte, error) + func (s *MSPMessageCryptoService) ValidateIdentity(peerIdentity api.PeerIdentityType) error + func (s *MSPMessageCryptoService) Verify(peerIdentity api.PeerIdentityType, signature, message []byte) error + func (s *MSPMessageCryptoService) VerifyBlock(chainID common.ChannelID, seqNum uint64, block *pcommon.Block) error + func (s *MSPMessageCryptoService) VerifyByChannel(chainID common.ChannelID, peerIdentity api.PeerIdentityType, ...) error