Versions in this module Expand all Collapse all v1 v1.4.11 Mar 2, 2021 Changes in this version + type ChannelPolicyManager struct + Policy policies.Policy + func (m *ChannelPolicyManager) GetPolicy(id string) (policies.Policy, bool) + func (m *ChannelPolicyManager) Manager(path []string) (policies.Manager, bool) + type ChannelPolicyManagerGetter struct + func (c *ChannelPolicyManagerGetter) Manager(channelID string) (policies.Manager, bool) + type ChannelPolicyManagerGetterWithManager struct + Managers map[string]policies.Manager + func (c *ChannelPolicyManagerGetterWithManager) Manager(channelID string) (policies.Manager, bool) + type DeserializersManager struct + ChannelDeserializers map[string]msp.IdentityDeserializer + LocalDeserializer msp.IdentityDeserializer + func (m *DeserializersManager) Deserialize(raw []byte) (*mspproto.SerializedIdentity, error) + func (m *DeserializersManager) GetChannelDeserializers() map[string]msp.IdentityDeserializer + func (m *DeserializersManager) GetLocalDeserializer() msp.IdentityDeserializer + func (m *DeserializersManager) GetLocalMSPIdentifier() string + type Identity struct + Msg []byte + func (id *Identity) Anonymous() bool + func (id *Identity) ExpiresAt() time.Time + func (id *Identity) GetIdentifier() *msp.IdentityIdentifier + func (id *Identity) GetMSPIdentifier() string + func (id *Identity) GetOrganizationalUnits() []*msp.OUIdentifier + func (id *Identity) SatisfiesPrincipal(*mspproto.MSPPrincipal) error + func (id *Identity) Serialize() ([]byte, error) + func (id *Identity) Validate() error + func (id *Identity) Verify(msg []byte, sig []byte) error + type IdentityDeserializer struct + Identity []byte + Msg []byte + func (d *IdentityDeserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) + func (d *IdentityDeserializer) IsWellFormed(identity *mspproto.SerializedIdentity) error + type IdentityDeserializerWithExpiration struct + Expiration time.Time + func (d *IdentityDeserializerWithExpiration) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) + type Policy struct + Deserializer msp.IdentityDeserializer + func (m *Policy) Evaluate(signatureSet []*common.SignedData) error