networkmap

package
v1.5.0-rc.2 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2026 License: Apache-2.0 Imports: 15 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DIDDocument

type DIDDocument struct {
	Context             []string              `ffstruct:"DIDDocument" json:"@context"`
	ID                  string                `ffstruct:"DIDDocument" json:"id"`
	Authentication      []string              `ffstruct:"DIDDocument" json:"authentication"`
	VerificationMethods []*VerificationMethod `ffstruct:"DIDDocument" json:"verificationMethod"`
}

DIDDocument - see https://www.w3.org/TR/did-core/#core-properties

type Manager

type Manager interface {
	RegisterOrganization(ctx context.Context, org *core.IdentityCreateDTO, waitConfirm bool) (identity *core.Identity, err error)
	RegisterNode(ctx context.Context, waitConfirm bool) (node *core.Identity, err error)
	RegisterNodeOrganization(ctx context.Context, waitConfirm bool) (org *core.Identity, err error)
	RegisterIdentity(ctx context.Context, dto *core.IdentityCreateDTO, waitConfirm bool) (identity *core.Identity, err error)
	UpdateIdentity(ctx context.Context, id string, dto *core.IdentityUpdateDTO, waitConfirm bool) (identity *core.Identity, err error)
	CheckNodeIdentityStatus(ctx context.Context) error

	GetOrganizationByNameOrID(ctx context.Context, nameOrID string) (*core.Identity, error)
	GetOrganizations(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)
	GetOrganizationsWithVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.IdentityWithVerifiers, *ffapi.FilterResult, error)
	GetNodeByNameOrID(ctx context.Context, nameOrID string) (*core.Identity, error)
	GetNodes(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)
	GetIdentityByID(ctx context.Context, id string) (*core.Identity, error)
	GetIdentityByIDWithVerifiers(ctx context.Context, id string) (*core.IdentityWithVerifiers, error)
	GetIdentityByDID(ctx context.Context, did string) (*core.Identity, error)
	GetIdentityByDIDWithVerifiers(ctx context.Context, did string) (*core.IdentityWithVerifiers, error)
	GetIdentities(ctx context.Context, filter ffapi.AndFilter) ([]*core.Identity, *ffapi.FilterResult, error)
	GetIdentitiesWithVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.IdentityWithVerifiers, *ffapi.FilterResult, error)
	GetIdentityVerifiers(ctx context.Context, id string, filter ffapi.AndFilter) ([]*core.Verifier, *ffapi.FilterResult, error)
	GetVerifiers(ctx context.Context, filter ffapi.AndFilter) ([]*core.Verifier, *ffapi.FilterResult, error)
	GetVerifierByHash(ctx context.Context, hash string) (*core.Verifier, error)
	GetDIDDocForIndentityByID(ctx context.Context, id string) (*DIDDocument, error)
	GetDIDDocForIndentityByDID(ctx context.Context, did string) (*DIDDocument, error)
}

type VerificationMethod

type VerificationMethod struct {
	ID         string `ffstruct:"DIDVerificationMethod" json:"id"`
	Type       string `ffstruct:"DIDVerificationMethod" json:"type"`
	Controller string `ffstruct:"DIDVerificationMethod" json:"controller"`
	// Controller specific fields
	BlockchainAccountID string `ffstruct:"DIDVerificationMethod" json:"blockchainAcountId,omitempty"`
	MSPIdentityString   string `ffstruct:"DIDVerificationMethod" json:"mspIdentityString,omitempty"`
	DataExchangePeerID  string `ffstruct:"DIDVerificationMethod" json:"dataExchangePeerID,omitempty"`
}

Jump to

Keyboard shortcuts

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