package
0.0.0-20200706040554-13b235064edc
Repository: https://github.com/juliofeng/fabric-gm-sm.git
Documentation: pkg.go.dev

# Functions

NewStateEP constructs a state-based endorsement policy from a given serialized EP byte array.

# Constants

RoleTypeMember identifies an org's member identity.
RoleTypePeer identifies an org's peer identity.

# Structs

RoleTypeDoesNotExistError is returned by function AddOrgs of KeyEndorsementPolicy if a role type that does not match one specified above is passed as an argument.

# Interfaces

KeyEndorsementPolicy provides a set of convenience methods to create and modify a state-based endorsement policy.

# Type aliases

RoleType of an endorsement policy's identity.