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) GetMultipartyRootOrg(ctx context.Context) (*core.Identity, error)
- func (_m *Manager) GetMultipartyRootVerifier(ctx context.Context) (*core.VerifierRef, 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) ValidateNodeOwner(ctx context.Context, node *core.Identity, _a2 *core.Identity) (bool, error)
- func (_m *Manager) ValidateReceivedSigningKey(ctx context.Context, inputKey string, keyNormalizationMode int) (string, 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
func NewManager(t mockConstructorTestingTNewManager) *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.
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) GetMultipartyRootOrg ¶ added in v1.1.0
GetMultipartyRootOrg provides a mock function with given fields: ctx
func (*Manager) GetMultipartyRootVerifier ¶ added in v1.1.0
GetMultipartyRootVerifier 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) (*core.VerifierRef, error)
ResolveInputVerifierRef provides a mock function with given fields: ctx, inputKey
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