fabric: github.com/hyperledger/fabric/core/handlers/validation/api/policies Index | Files

package validation

import "github.com/hyperledger/fabric/core/handlers/validation/api/policies"


Package Files


type PolicyEvaluator Uses

type PolicyEvaluator interface {

    // Evaluate takes a set of SignedData and evaluates whether this set of signatures satisfies
    // the policy with the given bytes
    Evaluate(policyBytes []byte, signatureSet []*protoutil.SignedData) error

PolicyEvaluator evaluates policies

type SerializedPolicy Uses

type SerializedPolicy interface {

    // Bytes returns the bytes of the SerializedPolicy
    Bytes() []byte

SerializedPolicy defines a serialized policy

Package validation imports 2 packages (graph) and is imported by 6 packages. Updated 2019-12-16. Refresh now. Tools for package owners.