Documentation ¶
Index ¶
- type Manager
- func (_m *Manager) CachedIdentityLookupByID(ctx context.Context, id *fftypes.UUID) (*core.Identity, error)
- func (_m *Manager) CachedIdentityLookupMustExist(ctx context.Context, did string) (*core.Identity, bool, error)
- func (_m *Manager) CachedIdentityLookupNilOK(ctx context.Context, did string) (*core.Identity, bool, error)
- func (_m *Manager) FindIdentityForVerifier(ctx context.Context, iTypes []fftypes.FFEnum, verifier *core.VerifierRef) (*core.Identity, error)
- func (_m *Manager) GetLocalNode(ctx context.Context) (*core.Identity, error)
- func (_m *Manager) GetRootOrg(ctx context.Context) (*core.Identity, error)
- func (_m *Manager) GetRootOrgDID(ctx context.Context) (string, error)
- func (_m *Manager) ResolveIdentitySigner(ctx context.Context, _a1 *core.Identity) (*core.SignerRef, error)
- func (_m *Manager) ResolveInputSigningIdentity(ctx context.Context, signerRef *core.SignerRef) error
- func (_m *Manager) ResolveInputSigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (string, error)
- func (_m *Manager) ResolveInputVerifierRef(ctx context.Context, inputKey *core.VerifierRef, ...) (*core.VerifierRef, error)
- func (_m *Manager) ResolveMultipartyRootVerifier(ctx context.Context) (*core.VerifierRef, error)
- func (_m *Manager) ResolveQuerySigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (string, error)
- func (_m *Manager) ValidateNodeOwner(ctx context.Context, node *core.Identity, _a2 *core.Identity) (bool, error)
- func (_m *Manager) VerifyIdentityChain(ctx context.Context, _a1 *core.Identity) (*core.Identity, bool, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
Manager is an autogenerated mock type for the Manager type
func NewManager ¶ added in v1.1.2
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
GetLocalNode provides a mock function with given fields: ctx
func (*Manager) GetRootOrg ¶ added in v1.3.0
GetRootOrg provides a mock function with given fields: ctx
func (*Manager) GetRootOrgDID ¶ added in v1.3.0
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
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