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

package validation

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

Index

Package Files

policies.go

type PolicyEvaluator Uses

type PolicyEvaluator interface {
    validation.Dependency

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

PolicyEvaluator evaluates policies

type SerializedPolicy Uses

type SerializedPolicy interface {
    validation.ContextDatum

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

SerializedPolicy defines a serialized policy

Package validation imports 2 packages (graph) and is imported by 4 packages. Updated 2018-07-06. Refresh now. Tools for package owners.