package
3.0.0+incompatible
Repository: https://github.com/hyperledger/fabric.git
Documentation: pkg.go.dev

# Functions

CartesianProduct returns a comparablePrincipalSetPairs that is comprised of the combination of every possible pair of ComparablePrincipalSet such that the first element is in s1, and the second element is in s2.
Merge returns ComparablePrincipalSets that the underlying PrincipalSets consist of PrincipalSets that satisfy the endorsement policies that both ComparablePrincipalSets were derived of.
NewComparablePrincipal creates a ComparablePrincipal out of the given MSPPrincipal.
NewComparablePrincipalSet constructs a ComparablePrincipalSet out of the given PrincipalSet.
NewInquireableSignaturePolicy creates a signature policy that can be inquired, from a policy and a signature policy.

# Structs

ComparablePrincipal defines an MSPPrincipal that can be compared to other principals.

# Type aliases

ComparablePrincipalSet aggregates ComparablePrincipals.
ComparablePrincipalSets aggregate ComparablePrincipalSets.