msp

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2022 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FiscoBcosUser

type FiscoBcosUser struct {
	UserId         string
	UserPrivateKey interface{}
	UserAddress    string
}

type UserData

type UserData struct {
	UserName              string
	AppCode               string
	MspId                 string
	EnrollmentCertificate []byte

	PrivateKey key.PrivateKeyProvider

	TxHash key.HashProvider
}

func (*UserData) Hash added in v1.2.0

func (u *UserData) Hash() key.HashProvider

func (*UserData) Serialize

func (u *UserData) Serialize() ([]byte, error)

func (*UserData) Sign

func (u *UserData) Sign(digest []byte) (signature []byte, err error)

Jump to

Keyboard shortcuts

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