indy

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2021 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 IndyVDRClient

type IndyVDRClient interface {
	CreateClaimDef(from string, ref uint32, pubKey, revocation map[string]interface{}, signer vdr.Signer) (string, error)
	CreateNym(did, verkey, role, from string, signer vdr.Signer) error
	CreateAttrib(did, from string, data map[string]interface{}, signer vdr.Signer) error
	SetEndpoint(did, from string, ep string, signer vdr.Signer) error
	CreateSchema(issuerDID, name, version string, attrs []string, signer vdr.Signer) (string, error)
	Genesis() []byte
	Close() error
	Submit(request []byte) (*vdr.ReadReply, error)
	GetNym(did string) (*vdr.ReadReply, error)
	GetTxnAuthorAgreement() (*vdr.ReadReply, error)
	GetAcceptanceMethodList() (*vdr.ReadReply, error)
	GetEndpoint(did string) (*vdr.ReadReply, error)
	RefreshPool() error
	GetPoolStatus() (*vdr.PoolStatus, error)
	GetAttrib(did, raw string) (*vdr.ReadReply, error)
	GetSchema(schemaID string) (*vdr.ReadReply, error)
	GetCredDef(credDefID string) (*vdr.ReadReply, error)
	GetAuthRules() (*vdr.ReadReply, error)
	GetTxnTypeAuthRule(typ, action, field string) (*vdr.ReadReply, error)
	SubmitWrite(req *vdr.Request, signer vdr.Signer) (*vdr.WriteReply, error)
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL