identitymanagermocks

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 added in v1.1.2

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 added in v0.14.0

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 added in v0.14.1

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 added in v0.14.1

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 added in v0.14.0

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 added in v1.1.0

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

GetLocalNode provides a mock function with given fields: ctx

func (*Manager) GetRootOrg added in v1.3.0

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

GetRootOrg provides a mock function with given fields: ctx

func (*Manager) GetRootOrgDID added in v1.3.0

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

GetRootOrgDID provides a mock function with given fields: ctx

func (*Manager) ResolveIdentitySigner added in v0.14.0

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 added in v0.14.0

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

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

func (*Manager) ResolveInputSigningKey added in v1.1.0

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 added in v1.2.0

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 added in v1.3.0

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

ResolveMultipartyRootVerifier provides a mock function with given fields: ctx

func (*Manager) ResolveQuerySigningKey added in v1.3.0

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 added in v1.1.0

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 added in v0.14.0

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