certmgr

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CertManageContract

type CertManageContract struct {
	// contains filtered or unexported fields
}

CertManageContract comment at next version

func NewCertManageContract

func NewCertManageContract(log protocol.Logger) *CertManageContract

NewCertManageContract comment at next version

func (*CertManageContract) GetMethod

func (c *CertManageContract) GetMethod(methodName string) common.ContractFunc

GetMethod get register method by name

type CertManageRuntime

type CertManageRuntime struct {
	// contains filtered or unexported fields
}

CertManageRuntime comment at next version

func (*CertManageRuntime) Add

func (r *CertManageRuntime) Add(txSimContext protocol.TxSimContext, _ map[string][]byte) (
	result []byte, err error)

Add cert add

func (*CertManageRuntime) AddAlias added in v2.2.0

func (r *CertManageRuntime) AddAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (
	result []byte, err error)

AddAlias comment at next version

func (*CertManageRuntime) Delete

func (r *CertManageRuntime) Delete(txSimContext protocol.TxSimContext, params map[string][]byte) (
	result []byte, event []*commonPb.ContractEvent, err error)

Delete cert delete

func (*CertManageRuntime) DeleteAlias added in v2.2.0

func (r *CertManageRuntime) DeleteAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (
	result []byte, event []*commonPb.ContractEvent, err error)

DeleteAlias 本组织管理员

func (*CertManageRuntime) Freeze

func (r *CertManageRuntime) Freeze(txSimContext protocol.TxSimContext, params map[string][]byte) (
	[]byte, []*commonPb.ContractEvent, error)

Freeze certs

func (*CertManageRuntime) Query

func (r *CertManageRuntime) Query(txSimContext protocol.TxSimContext, params map[string][]byte) ([]byte, error)

Query certs query

func (*CertManageRuntime) QueryAlias added in v2.2.0

func (r *CertManageRuntime) QueryAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (
	result []byte, err error)

QueryAlias comment at next version

func (*CertManageRuntime) Revoke

func (r *CertManageRuntime) Revoke(txSimContext protocol.TxSimContext, params map[string][]byte) (
	[]byte, []*commonPb.ContractEvent, error)

Revoke certs revocation

func (*CertManageRuntime) Unfreeze

func (r *CertManageRuntime) Unfreeze(txSimContext protocol.TxSimContext, params map[string][]byte) (
	[]byte, []*commonPb.ContractEvent, error)

Unfreeze certs unfreeze

func (*CertManageRuntime) UpdateAlias added in v2.2.0

func (r *CertManageRuntime) UpdateAlias(txSimContext protocol.TxSimContext, params map[string][]byte) (
	result []byte, event []*commonPb.ContractEvent, err error)

UpdateAlias 本组织管理员

Jump to

Keyboard shortcuts

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