identitymanagermocks

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2022 License: Apache-2.0 Imports: 3 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 (*Manager) CachedIdentityLookupByID added in v0.14.0

func (_m *Manager) CachedIdentityLookupByID(ctx context.Context, id *fftypes.UUID) (*fftypes.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) (*fftypes.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) (*fftypes.Identity, bool, error)

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

func (*Manager) CachedVerifierLookup added in v0.14.0

func (_m *Manager) CachedVerifierLookup(ctx context.Context, vType fftypes.FFEnum, ns string, value string) (*fftypes.Verifier, error)

CachedVerifierLookup provides a mock function with given fields: ctx, vType, ns, value

func (*Manager) FindIdentityForVerifier added in v0.14.0

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

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

func (*Manager) GetNodeOwnerBlockchainKey added in v0.14.0

func (_m *Manager) GetNodeOwnerBlockchainKey(ctx context.Context) (*fftypes.VerifierRef, error)

GetNodeOwnerBlockchainKey provides a mock function with given fields: ctx

func (*Manager) GetNodeOwnerOrg added in v0.14.0

func (_m *Manager) GetNodeOwnerOrg(ctx context.Context) (*fftypes.Identity, error)

GetNodeOwnerOrg provides a mock function with given fields: ctx

func (*Manager) NormalizeSigningKey added in v0.14.0

func (_m *Manager) NormalizeSigningKey(ctx context.Context, namespace string, keyNormalizationMode int) (string, error)

NormalizeSigningKey provides a mock function with given fields: ctx, namespace, keyNormalizationMode

func (*Manager) ResolveIdentitySigner added in v0.14.0

func (_m *Manager) ResolveIdentitySigner(ctx context.Context, _a1 *fftypes.Identity) (*fftypes.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, namespace string, msgSignerRef *fftypes.SignerRef) error

ResolveInputSigningIdentity provides a mock function with given fields: ctx, namespace, msgSignerRef

func (*Manager) ResolveNodeOwnerSigningIdentity added in v0.14.0

func (_m *Manager) ResolveNodeOwnerSigningIdentity(ctx context.Context, msgSignerRef *fftypes.SignerRef) error

ResolveNodeOwnerSigningIdentity provides a mock function with given fields: ctx, msgSignerRef

func (*Manager) VerifyIdentityChain added in v0.14.0

func (_m *Manager) VerifyIdentityChain(ctx context.Context, _a1 *fftypes.Identity) (*fftypes.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