Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PolicyEvaluator ¶
type PolicyEvaluator interface { validation.Dependency //Evaluate获取一组SignedData,并评估该组签名是否满足 //具有给定字节的策略 Evaluate(policyBytes []byte, signatureSet []*common.SignedData) error }
政策评估者评估政策
type SerializedPolicy ¶
type SerializedPolicy interface { validation.ContextDatum //bytes返回序列化策略的字节数 Bytes() []byte }
序列化策略定义序列化策略
Click to show internal directories.
Click to hide internal directories.