Versions in this module Expand all Collapse all v1 v1.4.6 Feb 25, 2020 Changes in this version + const GateAnd + const GateOr + const GateOutOf + const RoleAdmin + const RoleClient + const RoleMember + const RoleOrderer + const RolePeer + var AcceptAllPolicy *cb.SignaturePolicyEnvelope + var MarshaledAcceptAllPolicy []byte + var MarshaledRejectAllPolicy []byte + var RejectAllPolicy *cb.SignaturePolicyEnvelope + func And(lhs, rhs *cb.SignaturePolicy) *cb.SignaturePolicy + func Envelope(policy *cb.SignaturePolicy, identities [][]byte) *cb.SignaturePolicyEnvelope + func FromString(policy string) (*common.SignaturePolicyEnvelope, error) + func NOutOf(n int32, policies []*cb.SignaturePolicy) *cb.SignaturePolicy + func NewPolicyProvider(deserializer msp.IdentityDeserializer) policies.Provider + func Or(lhs, rhs *cb.SignaturePolicy) *cb.SignaturePolicy + func SignedBy(index int32) *cb.SignaturePolicy + func SignedByAnyAdmin(ids []string) *cb.SignaturePolicyEnvelope + func SignedByAnyClient(ids []string) *cb.SignaturePolicyEnvelope + func SignedByAnyMember(ids []string) *cb.SignaturePolicyEnvelope + func SignedByAnyPeer(ids []string) *cb.SignaturePolicyEnvelope + func SignedByMspAdmin(mspId string) *cb.SignaturePolicyEnvelope + func SignedByMspClient(mspId string) *cb.SignaturePolicyEnvelope + func SignedByMspMember(mspId string) *cb.SignaturePolicyEnvelope + func SignedByMspPeer(mspId string) *cb.SignaturePolicyEnvelope + type EnvelopeBasedPolicyProvider struct + Deserializer msp.IdentityDeserializer + func (pp *EnvelopeBasedPolicyProvider) NewPolicy(sigPolicy *cb.SignaturePolicyEnvelope) (policies.Policy, error) + type Identity interface + GetIdentifier func() *msp.IdentityIdentifier + SatisfiesPrincipal func(principal *mspp.MSPPrincipal) error + type IdentityAndSignature interface + Identity func() (Identity, error) + Verify func() error Incompatible versions in this module v2.0.1+incompatible Feb 26, 2020