identity

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deserializer

type Deserializer interface {
	//反序列化反序列化标识。
	//如果标识与关联,则反序列化将失败
	//与正在执行的MSP不同的MSP
	//反序列化。
	DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
}

解串器

type DeserializerManager

type DeserializerManager interface {
	//反序列化程序返回事务的实例。为传递的通道反序列化程序
	//如果通道存在
	Deserializer(channel string) (Deserializer, error)
}

DeserializerManager返回反序列化程序的实例

type IssuingValidator

type IssuingValidator interface {
	//如果传递的创建者可以颁发传递类型的令牌,则validate返回no error,否则返回错误。
	Validate(creator PublicInfo, tokenType string) error
}

IssuingValidator用于确定创建者是否可以颁发所传递类型的令牌。

type PublicInfo

type PublicInfo interface {
	Public() []byte
}

publicInfo用于标识令牌所有者。

Directories

Path Synopsis
伪造者生成的代码。
伪造者生成的代码。

Jump to

Keyboard shortcuts

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