identitymanagermocks

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2026 License: Apache-2.0 Imports: 5 Imported by: ? 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 Manager

type Manager struct {
	mock.Mock
}

Manager is an autogenerated mock type for the Manager type

func NewManager

func NewManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *Manager

NewManager creates a new instance of Manager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*Manager) CachedIdentityLookupByID

func (_m *Manager) CachedIdentityLookupByID(ctx context.Context, id *fftypes.UUID) (*core.Identity, error)

CachedIdentityLookupByID provides a mock function with given fields: ctx, id

func (*Manager) CachedIdentityLookupMustExist

func (_m *Manager) CachedIdentityLookupMustExist(ctx context.Context, did string) (*core.Identity, bool, error)

CachedIdentityLookupMustExist provides a mock function with given fields: ctx, did

func (*Manager) CachedIdentityLookupNilOK

func (_m *Manager) CachedIdentityLookupNilOK(ctx context.Context, did string) (*core.Identity, bool, error)

CachedIdentityLookupNilOK provides a mock function with given fields: ctx, did

func (*Manager) FindIdentityForVerifier

func (_m *Manager) FindIdentityForVerifier(ctx context.Context, iTypes []fftypes.FFEnum, verifier *core.VerifierRef) (*core.Identity, error)

FindIdentityForVerifier provides a mock function with given fields: ctx, iTypes, verifier

func (*Manager) GetLocalNode

func (_m *Manager) GetLocalNode(ctx context.Context) (*core.Identity, error)

GetLocalNode provides a mock function with given fields: ctx

func (*Manager) GetLocalNodeDID

func (_m *Manager) GetLocalNodeDID(ctx context.Context) (string, error)

GetLocalNodeDID provides a mock function with given fields: ctx

func (*Manager) GetRootOrg

func (_m *Manager) GetRootOrg(ctx context.Context) (*core.Identity, error)

GetRootOrg provides a mock function with given fields: ctx

func (*Manager) GetRootOrgDID

func (_m *Manager) GetRootOrgDID(ctx context.Context) (string, error)

GetRootOrgDID provides a mock function with given fields: ctx

func (*Manager) ResolveIdentitySigner

func (_m *Manager) ResolveIdentitySigner(ctx context.Context, _a1 *core.Identity) (*core.SignerRef, error)

ResolveIdentitySigner provides a mock function with given fields: ctx, _a1

func (*Manager) ResolveInputSigningIdentity

func (_m *Manager) ResolveInputSigningIdentity(ctx context.Context, signerRef *core.SignerRef) error

ResolveInputSigningIdentity provides a mock function with given fields: ctx, signerRef

func (*Manager) ResolveInputSigningKey

func (_m *Manager) ResolveInputSigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (string, error)

ResolveInputSigningKey provides a mock function with given fields: ctx, inputKey, keyNormalizationMode

func (*Manager) ResolveInputVerifierRef

func (_m *Manager) ResolveInputVerifierRef(ctx context.Context, inputKey *core.VerifierRef, intent blockchain.ResolveKeyIntent) (*core.VerifierRef, error)

ResolveInputVerifierRef provides a mock function with given fields: ctx, inputKey, intent

func (*Manager) ResolveMultipartyRootVerifier

func (_m *Manager) ResolveMultipartyRootVerifier(ctx context.Context) (*core.VerifierRef, error)

ResolveMultipartyRootVerifier provides a mock function with given fields: ctx

func (*Manager) ResolveQuerySigningKey

func (_m *Manager) ResolveQuerySigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (string, error)

ResolveQuerySigningKey provides a mock function with given fields: ctx, inputKey, keyNormalizationMode

func (*Manager) ValidateNodeOwner

func (_m *Manager) ValidateNodeOwner(ctx context.Context, node *core.Identity, _a2 *core.Identity) (bool, error)

ValidateNodeOwner provides a mock function with given fields: ctx, node, _a2

func (*Manager) VerifyIdentityChain

func (_m *Manager) VerifyIdentityChain(ctx context.Context, _a1 *core.Identity) (*core.Identity, bool, error)

VerifyIdentityChain provides a mock function with given fields: ctx, _a1

Jump to

Keyboard shortcuts

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