validation

package
v0.0.0-...-fbe82ab Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 16, 2019 License: Apache-2.0 Imports: 2 Imported by: 0

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
}

序列化策略定义序列化策略

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL