mock

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuditInfoProvider added in v0.7.0

type AuditInfoProvider struct {
	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)
	// contains filtered or unexported fields
}

func (*AuditInfoProvider) GetAuditInfo added in v0.7.0

func (fake *AuditInfoProvider) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*AuditInfoProvider) GetAuditInfoArgsForCall added in v0.7.0

func (fake *AuditInfoProvider) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*AuditInfoProvider) GetAuditInfoCallCount added in v0.7.0

func (fake *AuditInfoProvider) GetAuditInfoCallCount() int

func (*AuditInfoProvider) GetAuditInfoCalls added in v0.7.0

func (fake *AuditInfoProvider) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*AuditInfoProvider) GetAuditInfoReturns added in v0.7.0

func (fake *AuditInfoProvider) GetAuditInfoReturns(result1 []byte, result2 error)

func (*AuditInfoProvider) GetAuditInfoReturnsOnCall added in v0.7.0

func (fake *AuditInfoProvider) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*AuditInfoProvider) Invocations added in v0.7.0

func (fake *AuditInfoProvider) Invocations() map[string][][]interface{}

type CertificationClient

type CertificationClient struct {
	IsCertifiedStub func(*token.ID) bool

	RequestCertificationStub func(...*token.ID) error
	// contains filtered or unexported fields
}

func (*CertificationClient) Invocations

func (fake *CertificationClient) Invocations() map[string][][]interface{}

func (*CertificationClient) IsCertified

func (fake *CertificationClient) IsCertified(ctx context.Context, arg1 *token.ID) bool

func (*CertificationClient) IsCertifiedArgsForCall

func (fake *CertificationClient) IsCertifiedArgsForCall(i int) *token.ID

func (*CertificationClient) IsCertifiedCallCount

func (fake *CertificationClient) IsCertifiedCallCount() int

func (*CertificationClient) IsCertifiedCalls

func (fake *CertificationClient) IsCertifiedCalls(stub func(*token.ID) bool)

func (*CertificationClient) IsCertifiedReturns

func (fake *CertificationClient) IsCertifiedReturns(result1 bool)

func (*CertificationClient) IsCertifiedReturnsOnCall

func (fake *CertificationClient) IsCertifiedReturnsOnCall(i int, result1 bool)

func (*CertificationClient) RequestCertification

func (fake *CertificationClient) RequestCertification(ctx context.Context, arg1 ...*token.ID) error

func (*CertificationClient) RequestCertificationArgsForCall

func (fake *CertificationClient) RequestCertificationArgsForCall(i int) []*token.ID

func (*CertificationClient) RequestCertificationCallCount

func (fake *CertificationClient) RequestCertificationCallCount() int

func (*CertificationClient) RequestCertificationCalls

func (fake *CertificationClient) RequestCertificationCalls(stub func(...*token.ID) error)

func (*CertificationClient) RequestCertificationReturns

func (fake *CertificationClient) RequestCertificationReturns(result1 error)

func (*CertificationClient) RequestCertificationReturnsOnCall

func (fake *CertificationClient) RequestCertificationReturnsOnCall(i int, result1 error)

type CertificationService

type CertificationService struct {
	CertifyStub func(driver.CertifierWallet, []*token.ID, [][]byte, []byte) ([][]byte, error)

	NewCertificationRequestStub func([]*token.ID) ([]byte, error)

	VerifyCertificationsStub func([]*token.ID, [][]byte) ([][]byte, error)
	// contains filtered or unexported fields
}

func (*CertificationService) Certify

func (fake *CertificationService) Certify(arg1 driver.CertifierWallet, arg2 []*token.ID, arg3 [][]byte, arg4 []byte) ([][]byte, error)

func (*CertificationService) CertifyArgsForCall

func (fake *CertificationService) CertifyArgsForCall(i int) (driver.CertifierWallet, []*token.ID, [][]byte, []byte)

func (*CertificationService) CertifyCallCount

func (fake *CertificationService) CertifyCallCount() int

func (*CertificationService) CertifyCalls

func (fake *CertificationService) CertifyCalls(stub func(driver.CertifierWallet, []*token.ID, [][]byte, []byte) ([][]byte, error))

func (*CertificationService) CertifyReturns

func (fake *CertificationService) CertifyReturns(result1 [][]byte, result2 error)

func (*CertificationService) CertifyReturnsOnCall

func (fake *CertificationService) CertifyReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*CertificationService) Invocations

func (fake *CertificationService) Invocations() map[string][][]interface{}

func (*CertificationService) NewCertificationRequest

func (fake *CertificationService) NewCertificationRequest(arg1 []*token.ID) ([]byte, error)

func (*CertificationService) NewCertificationRequestArgsForCall

func (fake *CertificationService) NewCertificationRequestArgsForCall(i int) []*token.ID

func (*CertificationService) NewCertificationRequestCallCount

func (fake *CertificationService) NewCertificationRequestCallCount() int

func (*CertificationService) NewCertificationRequestCalls

func (fake *CertificationService) NewCertificationRequestCalls(stub func([]*token.ID) ([]byte, error))

func (*CertificationService) NewCertificationRequestReturns

func (fake *CertificationService) NewCertificationRequestReturns(result1 []byte, result2 error)

func (*CertificationService) NewCertificationRequestReturnsOnCall

func (fake *CertificationService) NewCertificationRequestReturnsOnCall(i int, result1 []byte, result2 error)

func (*CertificationService) VerifyCertifications

func (fake *CertificationService) VerifyCertifications(arg1 []*token.ID, arg2 [][]byte) ([][]byte, error)

func (*CertificationService) VerifyCertificationsArgsForCall

func (fake *CertificationService) VerifyCertificationsArgsForCall(i int) ([]*token.ID, [][]byte)

func (*CertificationService) VerifyCertificationsCallCount

func (fake *CertificationService) VerifyCertificationsCallCount() int

func (*CertificationService) VerifyCertificationsCalls

func (fake *CertificationService) VerifyCertificationsCalls(stub func([]*token.ID, [][]byte) ([][]byte, error))

func (*CertificationService) VerifyCertificationsReturns

func (fake *CertificationService) VerifyCertificationsReturns(result1 [][]byte, result2 error)

func (*CertificationService) VerifyCertificationsReturnsOnCall

func (fake *CertificationService) VerifyCertificationsReturnsOnCall(i int, result1 [][]byte, result2 error)

type CertificationStorage

type CertificationStorage struct {
	ExistsStub func(context.Context, *token.ID) bool

	StoreStub func(context.Context, map[*token.ID][]byte) error
	// contains filtered or unexported fields
}

func (*CertificationStorage) Exists

func (fake *CertificationStorage) Exists(arg1 context.Context, arg2 *token.ID) bool

func (*CertificationStorage) ExistsArgsForCall

func (fake *CertificationStorage) ExistsArgsForCall(i int) (context.Context, *token.ID)

func (*CertificationStorage) ExistsCallCount

func (fake *CertificationStorage) ExistsCallCount() int

func (*CertificationStorage) ExistsCalls

func (fake *CertificationStorage) ExistsCalls(stub func(context.Context, *token.ID) bool)

func (*CertificationStorage) ExistsReturns

func (fake *CertificationStorage) ExistsReturns(result1 bool)

func (*CertificationStorage) ExistsReturnsOnCall

func (fake *CertificationStorage) ExistsReturnsOnCall(i int, result1 bool)

func (*CertificationStorage) Invocations

func (fake *CertificationStorage) Invocations() map[string][][]interface{}

func (*CertificationStorage) Store

func (fake *CertificationStorage) Store(arg1 context.Context, arg2 map[*token.ID][]byte) error

func (*CertificationStorage) StoreArgsForCall

func (fake *CertificationStorage) StoreArgsForCall(i int) (context.Context, map[*token.ID][]byte)

func (*CertificationStorage) StoreCallCount

func (fake *CertificationStorage) StoreCallCount() int

func (*CertificationStorage) StoreCalls

func (fake *CertificationStorage) StoreCalls(stub func(context.Context, map[*token.ID][]byte) error)

func (*CertificationStorage) StoreReturns

func (fake *CertificationStorage) StoreReturns(result1 error)

func (*CertificationStorage) StoreReturnsOnCall

func (fake *CertificationStorage) StoreReturnsOnCall(i int, result1 error)

type Deserializer

type Deserializer struct {
	GetAuditInfoStub func(context.Context, driver.Identity, driver.AuditInfoProvider) ([]byte, error)

	GetAuditInfoMatcherStub func(context.Context, driver.Identity, []byte) (driver.Matcher, error)

	GetAuditorVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)

	GetIssuerVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)

	GetOwnerVerifierStub func(context.Context, driver.Identity) (driver.Verifier, error)

	MatchIdentityStub func(context.Context, driver.Identity, []byte) error

	RecipientsStub func(driver.Identity) ([]driver.Identity, error)
	// contains filtered or unexported fields
}

func (*Deserializer) GetAuditInfo added in v0.5.0

func (fake *Deserializer) GetAuditInfo(arg1 context.Context, arg2 driver.Identity, arg3 driver.AuditInfoProvider) ([]byte, error)

func (*Deserializer) GetAuditInfoArgsForCall added in v0.5.0

func (fake *Deserializer) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity, driver.AuditInfoProvider)

func (*Deserializer) GetAuditInfoCallCount added in v0.5.0

func (fake *Deserializer) GetAuditInfoCallCount() int

func (*Deserializer) GetAuditInfoCalls added in v0.5.0

func (fake *Deserializer) GetAuditInfoCalls(stub func(context.Context, driver.Identity, driver.AuditInfoProvider) ([]byte, error))

func (*Deserializer) GetAuditInfoMatcher added in v0.5.0

func (fake *Deserializer) GetAuditInfoMatcher(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (driver.Matcher, error)

func (*Deserializer) GetAuditInfoMatcherArgsForCall added in v0.5.0

func (fake *Deserializer) GetAuditInfoMatcherArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*Deserializer) GetAuditInfoMatcherCallCount added in v0.5.0

func (fake *Deserializer) GetAuditInfoMatcherCallCount() int

func (*Deserializer) GetAuditInfoMatcherCalls added in v0.5.0

func (fake *Deserializer) GetAuditInfoMatcherCalls(stub func(context.Context, driver.Identity, []byte) (driver.Matcher, error))

func (*Deserializer) GetAuditInfoMatcherReturns added in v0.5.0

func (fake *Deserializer) GetAuditInfoMatcherReturns(result1 driver.Matcher, result2 error)

func (*Deserializer) GetAuditInfoMatcherReturnsOnCall added in v0.5.0

func (fake *Deserializer) GetAuditInfoMatcherReturnsOnCall(i int, result1 driver.Matcher, result2 error)

func (*Deserializer) GetAuditInfoReturns added in v0.5.0

func (fake *Deserializer) GetAuditInfoReturns(result1 []byte, result2 error)

func (*Deserializer) GetAuditInfoReturnsOnCall added in v0.5.0

func (fake *Deserializer) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*Deserializer) GetAuditorVerifier

func (fake *Deserializer) GetAuditorVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*Deserializer) GetAuditorVerifierArgsForCall

func (fake *Deserializer) GetAuditorVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*Deserializer) GetAuditorVerifierCallCount

func (fake *Deserializer) GetAuditorVerifierCallCount() int

func (*Deserializer) GetAuditorVerifierCalls

func (fake *Deserializer) GetAuditorVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*Deserializer) GetAuditorVerifierReturns

func (fake *Deserializer) GetAuditorVerifierReturns(result1 driver.Verifier, result2 error)

func (*Deserializer) GetAuditorVerifierReturnsOnCall

func (fake *Deserializer) GetAuditorVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*Deserializer) GetIssuerVerifier

func (fake *Deserializer) GetIssuerVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*Deserializer) GetIssuerVerifierArgsForCall

func (fake *Deserializer) GetIssuerVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*Deserializer) GetIssuerVerifierCallCount

func (fake *Deserializer) GetIssuerVerifierCallCount() int

func (*Deserializer) GetIssuerVerifierCalls

func (fake *Deserializer) GetIssuerVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*Deserializer) GetIssuerVerifierReturns

func (fake *Deserializer) GetIssuerVerifierReturns(result1 driver.Verifier, result2 error)

func (*Deserializer) GetIssuerVerifierReturnsOnCall

func (fake *Deserializer) GetIssuerVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*Deserializer) GetOwnerVerifier

func (fake *Deserializer) GetOwnerVerifier(arg1 context.Context, arg2 driver.Identity) (driver.Verifier, error)

func (*Deserializer) GetOwnerVerifierArgsForCall

func (fake *Deserializer) GetOwnerVerifierArgsForCall(i int) (context.Context, driver.Identity)

func (*Deserializer) GetOwnerVerifierCallCount

func (fake *Deserializer) GetOwnerVerifierCallCount() int

func (*Deserializer) GetOwnerVerifierCalls

func (fake *Deserializer) GetOwnerVerifierCalls(stub func(context.Context, driver.Identity) (driver.Verifier, error))

func (*Deserializer) GetOwnerVerifierReturns

func (fake *Deserializer) GetOwnerVerifierReturns(result1 driver.Verifier, result2 error)

func (*Deserializer) GetOwnerVerifierReturnsOnCall

func (fake *Deserializer) GetOwnerVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)

func (*Deserializer) Invocations

func (fake *Deserializer) Invocations() map[string][][]interface{}

func (*Deserializer) MatchIdentity added in v0.5.0

func (fake *Deserializer) MatchIdentity(arg1 context.Context, arg2 driver.Identity, arg3 []byte) error

func (*Deserializer) MatchIdentityArgsForCall added in v0.5.0

func (fake *Deserializer) MatchIdentityArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*Deserializer) MatchIdentityCallCount added in v0.5.0

func (fake *Deserializer) MatchIdentityCallCount() int

func (*Deserializer) MatchIdentityCalls added in v0.5.0

func (fake *Deserializer) MatchIdentityCalls(stub func(context.Context, driver.Identity, []byte) error)

func (*Deserializer) MatchIdentityReturns added in v0.5.0

func (fake *Deserializer) MatchIdentityReturns(result1 error)

func (*Deserializer) MatchIdentityReturnsOnCall added in v0.5.0

func (fake *Deserializer) MatchIdentityReturnsOnCall(i int, result1 error)

func (*Deserializer) Recipients

func (fake *Deserializer) Recipients(arg1 driver.Identity) ([]driver.Identity, error)

func (*Deserializer) RecipientsArgsForCall

func (fake *Deserializer) RecipientsArgsForCall(i int) driver.Identity

func (*Deserializer) RecipientsCallCount

func (fake *Deserializer) RecipientsCallCount() int

func (*Deserializer) RecipientsCalls

func (fake *Deserializer) RecipientsCalls(stub func(driver.Identity) ([]driver.Identity, error))

func (*Deserializer) RecipientsReturns

func (fake *Deserializer) RecipientsReturns(result1 []driver.Identity, result2 error)

func (*Deserializer) RecipientsReturnsOnCall

func (fake *Deserializer) RecipientsReturnsOnCall(i int, result1 []driver.Identity, result2 error)

type IdentityProvider

type IdentityProvider struct {
	AreMeStub func(context.Context, ...driver.Identity) []string

	BindStub func(context.Context, driver.Identity, ...driver.Identity) error

	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)

	GetEIDAndRHStub func(context.Context, driver.Identity, []byte) (string, string, error)

	GetEnrollmentIDStub func(context.Context, driver.Identity, []byte) (string, error)

	GetRevocationHandlerStub func(context.Context, driver.Identity, []byte) (string, error)

	GetSignerStub func(context.Context, driver.Identity) (driver.Signer, error)

	IsMeStub func(context.Context, driver.Identity) bool

	RegisterRecipientDataStub func(context.Context, *driver.RecipientData) error

	RegisterRecipientIdentityStub func(context.Context, driver.Identity) error

	RegisterSignerStub func(context.Context, driver.Identity, driver.Signer, driver.Verifier, []byte, bool) error

	RegisterVerifierStub func(context.Context, driver.Identity, driver.Verifier) error
	// contains filtered or unexported fields
}

func (*IdentityProvider) AreMe added in v0.5.0

func (fake *IdentityProvider) AreMe(arg1 context.Context, arg2 ...driver.Identity) []string

func (*IdentityProvider) AreMeArgsForCall added in v0.5.0

func (fake *IdentityProvider) AreMeArgsForCall(i int) (context.Context, []driver.Identity)

func (*IdentityProvider) AreMeCallCount added in v0.5.0

func (fake *IdentityProvider) AreMeCallCount() int

func (*IdentityProvider) AreMeCalls added in v0.5.0

func (fake *IdentityProvider) AreMeCalls(stub func(context.Context, ...driver.Identity) []string)

func (*IdentityProvider) AreMeReturns added in v0.5.0

func (fake *IdentityProvider) AreMeReturns(result1 []string)

func (*IdentityProvider) AreMeReturnsOnCall added in v0.5.0

func (fake *IdentityProvider) AreMeReturnsOnCall(i int, result1 []string)

func (*IdentityProvider) Bind

func (fake *IdentityProvider) Bind(arg1 context.Context, arg2 driver.Identity, arg3 ...driver.Identity) error

func (*IdentityProvider) BindArgsForCall

func (fake *IdentityProvider) BindArgsForCall(i int) (context.Context, driver.Identity, []driver.Identity)

func (*IdentityProvider) BindCallCount

func (fake *IdentityProvider) BindCallCount() int

func (*IdentityProvider) BindCalls

func (fake *IdentityProvider) BindCalls(stub func(context.Context, driver.Identity, ...driver.Identity) error)

func (*IdentityProvider) BindReturns

func (fake *IdentityProvider) BindReturns(result1 error)

func (*IdentityProvider) BindReturnsOnCall

func (fake *IdentityProvider) BindReturnsOnCall(i int, result1 error)

func (*IdentityProvider) GetAuditInfo

func (fake *IdentityProvider) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*IdentityProvider) GetAuditInfoArgsForCall

func (fake *IdentityProvider) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) GetAuditInfoCallCount

func (fake *IdentityProvider) GetAuditInfoCallCount() int

func (*IdentityProvider) GetAuditInfoCalls

func (fake *IdentityProvider) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*IdentityProvider) GetAuditInfoReturns

func (fake *IdentityProvider) GetAuditInfoReturns(result1 []byte, result2 error)

func (*IdentityProvider) GetAuditInfoReturnsOnCall

func (fake *IdentityProvider) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*IdentityProvider) GetEIDAndRH

func (fake *IdentityProvider) GetEIDAndRH(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, string, error)

func (*IdentityProvider) GetEIDAndRHArgsForCall

func (fake *IdentityProvider) GetEIDAndRHArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*IdentityProvider) GetEIDAndRHCallCount

func (fake *IdentityProvider) GetEIDAndRHCallCount() int

func (*IdentityProvider) GetEIDAndRHCalls

func (fake *IdentityProvider) GetEIDAndRHCalls(stub func(context.Context, driver.Identity, []byte) (string, string, error))

func (*IdentityProvider) GetEIDAndRHReturns

func (fake *IdentityProvider) GetEIDAndRHReturns(result1 string, result2 string, result3 error)

func (*IdentityProvider) GetEIDAndRHReturnsOnCall

func (fake *IdentityProvider) GetEIDAndRHReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*IdentityProvider) GetEnrollmentID

func (fake *IdentityProvider) GetEnrollmentID(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*IdentityProvider) GetEnrollmentIDArgsForCall

func (fake *IdentityProvider) GetEnrollmentIDArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*IdentityProvider) GetEnrollmentIDCallCount

func (fake *IdentityProvider) GetEnrollmentIDCallCount() int

func (*IdentityProvider) GetEnrollmentIDCalls

func (fake *IdentityProvider) GetEnrollmentIDCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*IdentityProvider) GetEnrollmentIDReturns

func (fake *IdentityProvider) GetEnrollmentIDReturns(result1 string, result2 error)

func (*IdentityProvider) GetEnrollmentIDReturnsOnCall

func (fake *IdentityProvider) GetEnrollmentIDReturnsOnCall(i int, result1 string, result2 error)

func (*IdentityProvider) GetRevocationHandler

func (fake *IdentityProvider) GetRevocationHandler(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*IdentityProvider) GetRevocationHandlerArgsForCall

func (fake *IdentityProvider) GetRevocationHandlerArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*IdentityProvider) GetRevocationHandlerCallCount

func (fake *IdentityProvider) GetRevocationHandlerCallCount() int

func (*IdentityProvider) GetRevocationHandlerCalls

func (fake *IdentityProvider) GetRevocationHandlerCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*IdentityProvider) GetRevocationHandlerReturns

func (fake *IdentityProvider) GetRevocationHandlerReturns(result1 string, result2 error)

func (*IdentityProvider) GetRevocationHandlerReturnsOnCall

func (fake *IdentityProvider) GetRevocationHandlerReturnsOnCall(i int, result1 string, result2 error)

func (*IdentityProvider) GetSigner

func (fake *IdentityProvider) GetSigner(arg1 context.Context, arg2 driver.Identity) (driver.Signer, error)

func (*IdentityProvider) GetSignerArgsForCall

func (fake *IdentityProvider) GetSignerArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) GetSignerCallCount

func (fake *IdentityProvider) GetSignerCallCount() int

func (*IdentityProvider) GetSignerCalls

func (fake *IdentityProvider) GetSignerCalls(stub func(context.Context, driver.Identity) (driver.Signer, error))

func (*IdentityProvider) GetSignerReturns

func (fake *IdentityProvider) GetSignerReturns(result1 driver.Signer, result2 error)

func (*IdentityProvider) GetSignerReturnsOnCall

func (fake *IdentityProvider) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)

func (*IdentityProvider) Invocations

func (fake *IdentityProvider) Invocations() map[string][][]interface{}

func (*IdentityProvider) IsMe

func (fake *IdentityProvider) IsMe(arg1 context.Context, arg2 driver.Identity) bool

func (*IdentityProvider) IsMeArgsForCall

func (fake *IdentityProvider) IsMeArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) IsMeCallCount

func (fake *IdentityProvider) IsMeCallCount() int

func (*IdentityProvider) IsMeCalls

func (fake *IdentityProvider) IsMeCalls(stub func(context.Context, driver.Identity) bool)

func (*IdentityProvider) IsMeReturns

func (fake *IdentityProvider) IsMeReturns(result1 bool)

func (*IdentityProvider) IsMeReturnsOnCall

func (fake *IdentityProvider) IsMeReturnsOnCall(i int, result1 bool)

func (*IdentityProvider) RegisterRecipientData

func (fake *IdentityProvider) RegisterRecipientData(arg1 context.Context, arg2 *driver.RecipientData) error

func (*IdentityProvider) RegisterRecipientDataArgsForCall

func (fake *IdentityProvider) RegisterRecipientDataArgsForCall(i int) (context.Context, *driver.RecipientData)

func (*IdentityProvider) RegisterRecipientDataCallCount

func (fake *IdentityProvider) RegisterRecipientDataCallCount() int

func (*IdentityProvider) RegisterRecipientDataCalls

func (fake *IdentityProvider) RegisterRecipientDataCalls(stub func(context.Context, *driver.RecipientData) error)

func (*IdentityProvider) RegisterRecipientDataReturns

func (fake *IdentityProvider) RegisterRecipientDataReturns(result1 error)

func (*IdentityProvider) RegisterRecipientDataReturnsOnCall

func (fake *IdentityProvider) RegisterRecipientDataReturnsOnCall(i int, result1 error)

func (*IdentityProvider) RegisterRecipientIdentity

func (fake *IdentityProvider) RegisterRecipientIdentity(arg1 context.Context, arg2 driver.Identity) error

func (*IdentityProvider) RegisterRecipientIdentityArgsForCall

func (fake *IdentityProvider) RegisterRecipientIdentityArgsForCall(i int) (context.Context, driver.Identity)

func (*IdentityProvider) RegisterRecipientIdentityCallCount

func (fake *IdentityProvider) RegisterRecipientIdentityCallCount() int

func (*IdentityProvider) RegisterRecipientIdentityCalls

func (fake *IdentityProvider) RegisterRecipientIdentityCalls(stub func(context.Context, driver.Identity) error)

func (*IdentityProvider) RegisterRecipientIdentityReturns

func (fake *IdentityProvider) RegisterRecipientIdentityReturns(result1 error)

func (*IdentityProvider) RegisterRecipientIdentityReturnsOnCall

func (fake *IdentityProvider) RegisterRecipientIdentityReturnsOnCall(i int, result1 error)

func (*IdentityProvider) RegisterSigner

func (fake *IdentityProvider) RegisterSigner(arg1 context.Context, arg2 driver.Identity, arg3 driver.Signer, arg4 driver.Verifier, arg5 []byte, arg6 bool) error

func (*IdentityProvider) RegisterSignerArgsForCall

func (fake *IdentityProvider) RegisterSignerArgsForCall(i int) (context.Context, driver.Identity, driver.Signer, driver.Verifier, []byte, bool)

func (*IdentityProvider) RegisterSignerCallCount

func (fake *IdentityProvider) RegisterSignerCallCount() int

func (*IdentityProvider) RegisterSignerCalls

func (fake *IdentityProvider) RegisterSignerCalls(stub func(context.Context, driver.Identity, driver.Signer, driver.Verifier, []byte, bool) error)

func (*IdentityProvider) RegisterSignerReturns

func (fake *IdentityProvider) RegisterSignerReturns(result1 error)

func (*IdentityProvider) RegisterSignerReturnsOnCall

func (fake *IdentityProvider) RegisterSignerReturnsOnCall(i int, result1 error)

func (*IdentityProvider) RegisterVerifier

func (fake *IdentityProvider) RegisterVerifier(arg1 context.Context, arg2 driver.Identity, arg3 driver.Verifier) error

func (*IdentityProvider) RegisterVerifierArgsForCall

func (fake *IdentityProvider) RegisterVerifierArgsForCall(i int) (context.Context, driver.Identity, driver.Verifier)

func (*IdentityProvider) RegisterVerifierCallCount

func (fake *IdentityProvider) RegisterVerifierCallCount() int

func (*IdentityProvider) RegisterVerifierCalls

func (fake *IdentityProvider) RegisterVerifierCalls(stub func(context.Context, driver.Identity, driver.Verifier) error)

func (*IdentityProvider) RegisterVerifierReturns

func (fake *IdentityProvider) RegisterVerifierReturns(result1 error)

func (*IdentityProvider) RegisterVerifierReturnsOnCall

func (fake *IdentityProvider) RegisterVerifierReturnsOnCall(i int, result1 error)

type IssueAction

type IssueAction struct {
	ExtraSignersStub func() []identity.Identity

	GetInputsStub func() []*token.ID

	GetIssuerStub func() []byte

	GetMetadataStub func() map[string][]byte

	GetOutputsStub func() []driver.Output

	GetSerialNumbersStub func() []string

	GetSerializedInputsStub func() ([][]byte, error)

	GetSerializedOutputsStub func() ([][]byte, error)

	IsAnonymousStub func() bool

	IsGraphHidingStub func() bool

	NumInputsStub func() int

	NumOutputsStub func() int

	SerializeStub func() ([]byte, error)

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*IssueAction) ExtraSigners added in v0.5.0

func (fake *IssueAction) ExtraSigners() []identity.Identity

func (*IssueAction) ExtraSignersCallCount added in v0.5.0

func (fake *IssueAction) ExtraSignersCallCount() int

func (*IssueAction) ExtraSignersCalls added in v0.5.0

func (fake *IssueAction) ExtraSignersCalls(stub func() []identity.Identity)

func (*IssueAction) ExtraSignersReturns added in v0.5.0

func (fake *IssueAction) ExtraSignersReturns(result1 []identity.Identity)

func (*IssueAction) ExtraSignersReturnsOnCall added in v0.5.0

func (fake *IssueAction) ExtraSignersReturnsOnCall(i int, result1 []identity.Identity)

func (*IssueAction) GetInputs added in v0.5.0

func (fake *IssueAction) GetInputs() []*token.ID

func (*IssueAction) GetInputsCallCount added in v0.5.0

func (fake *IssueAction) GetInputsCallCount() int

func (*IssueAction) GetInputsCalls added in v0.5.0

func (fake *IssueAction) GetInputsCalls(stub func() []*token.ID)

func (*IssueAction) GetInputsReturns added in v0.5.0

func (fake *IssueAction) GetInputsReturns(result1 []*token.ID)

func (*IssueAction) GetInputsReturnsOnCall added in v0.5.0

func (fake *IssueAction) GetInputsReturnsOnCall(i int, result1 []*token.ID)

func (*IssueAction) GetIssuer

func (fake *IssueAction) GetIssuer() []byte

func (*IssueAction) GetIssuerCallCount

func (fake *IssueAction) GetIssuerCallCount() int

func (*IssueAction) GetIssuerCalls

func (fake *IssueAction) GetIssuerCalls(stub func() []byte)

func (*IssueAction) GetIssuerReturns

func (fake *IssueAction) GetIssuerReturns(result1 []byte)

func (*IssueAction) GetIssuerReturnsOnCall

func (fake *IssueAction) GetIssuerReturnsOnCall(i int, result1 []byte)

func (*IssueAction) GetMetadata

func (fake *IssueAction) GetMetadata() map[string][]byte

func (*IssueAction) GetMetadataCallCount

func (fake *IssueAction) GetMetadataCallCount() int

func (*IssueAction) GetMetadataCalls

func (fake *IssueAction) GetMetadataCalls(stub func() map[string][]byte)

func (*IssueAction) GetMetadataReturns

func (fake *IssueAction) GetMetadataReturns(result1 map[string][]byte)

func (*IssueAction) GetMetadataReturnsOnCall

func (fake *IssueAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*IssueAction) GetOutputs

func (fake *IssueAction) GetOutputs() []driver.Output

func (*IssueAction) GetOutputsCallCount

func (fake *IssueAction) GetOutputsCallCount() int

func (*IssueAction) GetOutputsCalls

func (fake *IssueAction) GetOutputsCalls(stub func() []driver.Output)

func (*IssueAction) GetOutputsReturns

func (fake *IssueAction) GetOutputsReturns(result1 []driver.Output)

func (*IssueAction) GetOutputsReturnsOnCall

func (fake *IssueAction) GetOutputsReturnsOnCall(i int, result1 []driver.Output)

func (*IssueAction) GetSerialNumbers added in v0.5.0

func (fake *IssueAction) GetSerialNumbers() []string

func (*IssueAction) GetSerialNumbersCallCount added in v0.5.0

func (fake *IssueAction) GetSerialNumbersCallCount() int

func (*IssueAction) GetSerialNumbersCalls added in v0.5.0

func (fake *IssueAction) GetSerialNumbersCalls(stub func() []string)

func (*IssueAction) GetSerialNumbersReturns added in v0.5.0

func (fake *IssueAction) GetSerialNumbersReturns(result1 []string)

func (*IssueAction) GetSerialNumbersReturnsOnCall added in v0.5.0

func (fake *IssueAction) GetSerialNumbersReturnsOnCall(i int, result1 []string)

func (*IssueAction) GetSerializedInputs added in v0.5.0

func (fake *IssueAction) GetSerializedInputs() ([][]byte, error)

func (*IssueAction) GetSerializedInputsCallCount added in v0.5.0

func (fake *IssueAction) GetSerializedInputsCallCount() int

func (*IssueAction) GetSerializedInputsCalls added in v0.5.0

func (fake *IssueAction) GetSerializedInputsCalls(stub func() ([][]byte, error))

func (*IssueAction) GetSerializedInputsReturns added in v0.5.0

func (fake *IssueAction) GetSerializedInputsReturns(result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedInputsReturnsOnCall added in v0.5.0

func (fake *IssueAction) GetSerializedInputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedOutputs

func (fake *IssueAction) GetSerializedOutputs() ([][]byte, error)

func (*IssueAction) GetSerializedOutputsCallCount

func (fake *IssueAction) GetSerializedOutputsCallCount() int

func (*IssueAction) GetSerializedOutputsCalls

func (fake *IssueAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))

func (*IssueAction) GetSerializedOutputsReturns

func (fake *IssueAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)

func (*IssueAction) GetSerializedOutputsReturnsOnCall

func (fake *IssueAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*IssueAction) Invocations

func (fake *IssueAction) Invocations() map[string][][]interface{}

func (*IssueAction) IsAnonymous

func (fake *IssueAction) IsAnonymous() bool

func (*IssueAction) IsAnonymousCallCount

func (fake *IssueAction) IsAnonymousCallCount() int

func (*IssueAction) IsAnonymousCalls

func (fake *IssueAction) IsAnonymousCalls(stub func() bool)

func (*IssueAction) IsAnonymousReturns

func (fake *IssueAction) IsAnonymousReturns(result1 bool)

func (*IssueAction) IsAnonymousReturnsOnCall

func (fake *IssueAction) IsAnonymousReturnsOnCall(i int, result1 bool)

func (*IssueAction) IsGraphHiding

func (fake *IssueAction) IsGraphHiding() bool

func (*IssueAction) IsGraphHidingCallCount

func (fake *IssueAction) IsGraphHidingCallCount() int

func (*IssueAction) IsGraphHidingCalls

func (fake *IssueAction) IsGraphHidingCalls(stub func() bool)

func (*IssueAction) IsGraphHidingReturns

func (fake *IssueAction) IsGraphHidingReturns(result1 bool)

func (*IssueAction) IsGraphHidingReturnsOnCall

func (fake *IssueAction) IsGraphHidingReturnsOnCall(i int, result1 bool)

func (*IssueAction) NumInputs added in v0.5.0

func (fake *IssueAction) NumInputs() int

func (*IssueAction) NumInputsCallCount added in v0.5.0

func (fake *IssueAction) NumInputsCallCount() int

func (*IssueAction) NumInputsCalls added in v0.5.0

func (fake *IssueAction) NumInputsCalls(stub func() int)

func (*IssueAction) NumInputsReturns added in v0.5.0

func (fake *IssueAction) NumInputsReturns(result1 int)

func (*IssueAction) NumInputsReturnsOnCall added in v0.5.0

func (fake *IssueAction) NumInputsReturnsOnCall(i int, result1 int)

func (*IssueAction) NumOutputs

func (fake *IssueAction) NumOutputs() int

func (*IssueAction) NumOutputsCallCount

func (fake *IssueAction) NumOutputsCallCount() int

func (*IssueAction) NumOutputsCalls

func (fake *IssueAction) NumOutputsCalls(stub func() int)

func (*IssueAction) NumOutputsReturns

func (fake *IssueAction) NumOutputsReturns(result1 int)

func (*IssueAction) NumOutputsReturnsOnCall

func (fake *IssueAction) NumOutputsReturnsOnCall(i int, result1 int)

func (*IssueAction) Serialize

func (fake *IssueAction) Serialize() ([]byte, error)

func (*IssueAction) SerializeCallCount

func (fake *IssueAction) SerializeCallCount() int

func (*IssueAction) SerializeCalls

func (fake *IssueAction) SerializeCalls(stub func() ([]byte, error))

func (*IssueAction) SerializeReturns

func (fake *IssueAction) SerializeReturns(result1 []byte, result2 error)

func (*IssueAction) SerializeReturnsOnCall

func (fake *IssueAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*IssueAction) Validate added in v0.5.0

func (fake *IssueAction) Validate() error

func (*IssueAction) ValidateCallCount added in v0.5.0

func (fake *IssueAction) ValidateCallCount() int

func (*IssueAction) ValidateCalls added in v0.5.0

func (fake *IssueAction) ValidateCalls(stub func() error)

func (*IssueAction) ValidateReturns added in v0.5.0

func (fake *IssueAction) ValidateReturns(result1 error)

func (*IssueAction) ValidateReturnsOnCall added in v0.5.0

func (fake *IssueAction) ValidateReturnsOnCall(i int, result1 error)

type PublicParameters

type PublicParameters struct {
	AuditorsStub func() []driver.Identity

	CertificationDriverStub func() string

	ExtrasStub func() driver.Extras

	GraphHidingStub func() bool

	IssuersStub func() []driver.Identity

	MaxTokenValueStub func() uint64

	PrecisionStub func() uint64

	SerializeStub func() ([]byte, error)

	StringStub func() string

	TokenDataHidingStub func() bool

	TokenDriverNameStub func() driver.TokenDriverName

	TokenDriverVersionStub func() driver.TokenDriverVersion

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*PublicParameters) Auditors

func (fake *PublicParameters) Auditors() []driver.Identity

func (*PublicParameters) AuditorsCallCount

func (fake *PublicParameters) AuditorsCallCount() int

func (*PublicParameters) AuditorsCalls

func (fake *PublicParameters) AuditorsCalls(stub func() []driver.Identity)

func (*PublicParameters) AuditorsReturns

func (fake *PublicParameters) AuditorsReturns(result1 []driver.Identity)

func (*PublicParameters) AuditorsReturnsOnCall

func (fake *PublicParameters) AuditorsReturnsOnCall(i int, result1 []driver.Identity)

func (*PublicParameters) CertificationDriver

func (fake *PublicParameters) CertificationDriver() string

func (*PublicParameters) CertificationDriverCallCount

func (fake *PublicParameters) CertificationDriverCallCount() int

func (*PublicParameters) CertificationDriverCalls

func (fake *PublicParameters) CertificationDriverCalls(stub func() string)

func (*PublicParameters) CertificationDriverReturns

func (fake *PublicParameters) CertificationDriverReturns(result1 string)

func (*PublicParameters) CertificationDriverReturnsOnCall

func (fake *PublicParameters) CertificationDriverReturnsOnCall(i int, result1 string)

func (*PublicParameters) Extras added in v0.7.0

func (fake *PublicParameters) Extras() driver.Extras

func (*PublicParameters) ExtrasCallCount added in v0.7.0

func (fake *PublicParameters) ExtrasCallCount() int

func (*PublicParameters) ExtrasCalls added in v0.7.0

func (fake *PublicParameters) ExtrasCalls(stub func() driver.Extras)

func (*PublicParameters) ExtrasReturns added in v0.7.0

func (fake *PublicParameters) ExtrasReturns(result1 driver.Extras)

func (*PublicParameters) ExtrasReturnsOnCall added in v0.7.0

func (fake *PublicParameters) ExtrasReturnsOnCall(i int, result1 driver.Extras)

func (*PublicParameters) GraphHiding

func (fake *PublicParameters) GraphHiding() bool

func (*PublicParameters) GraphHidingCallCount

func (fake *PublicParameters) GraphHidingCallCount() int

func (*PublicParameters) GraphHidingCalls

func (fake *PublicParameters) GraphHidingCalls(stub func() bool)

func (*PublicParameters) GraphHidingReturns

func (fake *PublicParameters) GraphHidingReturns(result1 bool)

func (*PublicParameters) GraphHidingReturnsOnCall

func (fake *PublicParameters) GraphHidingReturnsOnCall(i int, result1 bool)

func (*PublicParameters) Invocations

func (fake *PublicParameters) Invocations() map[string][][]interface{}

func (*PublicParameters) Issuers added in v0.5.0

func (fake *PublicParameters) Issuers() []driver.Identity

func (*PublicParameters) IssuersCallCount added in v0.5.0

func (fake *PublicParameters) IssuersCallCount() int

func (*PublicParameters) IssuersCalls added in v0.5.0

func (fake *PublicParameters) IssuersCalls(stub func() []driver.Identity)

func (*PublicParameters) IssuersReturns added in v0.5.0

func (fake *PublicParameters) IssuersReturns(result1 []driver.Identity)

func (*PublicParameters) IssuersReturnsOnCall added in v0.5.0

func (fake *PublicParameters) IssuersReturnsOnCall(i int, result1 []driver.Identity)

func (*PublicParameters) MaxTokenValue

func (fake *PublicParameters) MaxTokenValue() uint64

func (*PublicParameters) MaxTokenValueCallCount

func (fake *PublicParameters) MaxTokenValueCallCount() int

func (*PublicParameters) MaxTokenValueCalls

func (fake *PublicParameters) MaxTokenValueCalls(stub func() uint64)

func (*PublicParameters) MaxTokenValueReturns

func (fake *PublicParameters) MaxTokenValueReturns(result1 uint64)

func (*PublicParameters) MaxTokenValueReturnsOnCall

func (fake *PublicParameters) MaxTokenValueReturnsOnCall(i int, result1 uint64)

func (*PublicParameters) Precision

func (fake *PublicParameters) Precision() uint64

func (*PublicParameters) PrecisionCallCount

func (fake *PublicParameters) PrecisionCallCount() int

func (*PublicParameters) PrecisionCalls

func (fake *PublicParameters) PrecisionCalls(stub func() uint64)

func (*PublicParameters) PrecisionReturns

func (fake *PublicParameters) PrecisionReturns(result1 uint64)

func (*PublicParameters) PrecisionReturnsOnCall

func (fake *PublicParameters) PrecisionReturnsOnCall(i int, result1 uint64)

func (*PublicParameters) Serialize

func (fake *PublicParameters) Serialize() ([]byte, error)

func (*PublicParameters) SerializeCallCount

func (fake *PublicParameters) SerializeCallCount() int

func (*PublicParameters) SerializeCalls

func (fake *PublicParameters) SerializeCalls(stub func() ([]byte, error))

func (*PublicParameters) SerializeReturns

func (fake *PublicParameters) SerializeReturns(result1 []byte, result2 error)

func (*PublicParameters) SerializeReturnsOnCall

func (fake *PublicParameters) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*PublicParameters) String

func (fake *PublicParameters) String() string

func (*PublicParameters) StringCallCount

func (fake *PublicParameters) StringCallCount() int

func (*PublicParameters) StringCalls

func (fake *PublicParameters) StringCalls(stub func() string)

func (*PublicParameters) StringReturns

func (fake *PublicParameters) StringReturns(result1 string)

func (*PublicParameters) StringReturnsOnCall

func (fake *PublicParameters) StringReturnsOnCall(i int, result1 string)

func (*PublicParameters) TokenDataHiding

func (fake *PublicParameters) TokenDataHiding() bool

func (*PublicParameters) TokenDataHidingCallCount

func (fake *PublicParameters) TokenDataHidingCallCount() int

func (*PublicParameters) TokenDataHidingCalls

func (fake *PublicParameters) TokenDataHidingCalls(stub func() bool)

func (*PublicParameters) TokenDataHidingReturns

func (fake *PublicParameters) TokenDataHidingReturns(result1 bool)

func (*PublicParameters) TokenDataHidingReturnsOnCall

func (fake *PublicParameters) TokenDataHidingReturnsOnCall(i int, result1 bool)

func (*PublicParameters) TokenDriverName added in v0.5.0

func (fake *PublicParameters) TokenDriverName() driver.TokenDriverName

func (*PublicParameters) TokenDriverNameCallCount added in v0.5.0

func (fake *PublicParameters) TokenDriverNameCallCount() int

func (*PublicParameters) TokenDriverNameCalls added in v0.5.0

func (fake *PublicParameters) TokenDriverNameCalls(stub func() driver.TokenDriverName)

func (*PublicParameters) TokenDriverNameReturns added in v0.5.0

func (fake *PublicParameters) TokenDriverNameReturns(result1 driver.TokenDriverName)

func (*PublicParameters) TokenDriverNameReturnsOnCall added in v0.5.0

func (fake *PublicParameters) TokenDriverNameReturnsOnCall(i int, result1 driver.TokenDriverName)

func (*PublicParameters) TokenDriverVersion added in v0.5.0

func (fake *PublicParameters) TokenDriverVersion() driver.TokenDriverVersion

func (*PublicParameters) TokenDriverVersionCallCount added in v0.5.0

func (fake *PublicParameters) TokenDriverVersionCallCount() int

func (*PublicParameters) TokenDriverVersionCalls added in v0.5.0

func (fake *PublicParameters) TokenDriverVersionCalls(stub func() driver.TokenDriverVersion)

func (*PublicParameters) TokenDriverVersionReturns added in v0.5.0

func (fake *PublicParameters) TokenDriverVersionReturns(result1 driver.TokenDriverVersion)

func (*PublicParameters) TokenDriverVersionReturnsOnCall added in v0.5.0

func (fake *PublicParameters) TokenDriverVersionReturnsOnCall(i int, result1 driver.TokenDriverVersion)

func (*PublicParameters) Validate

func (fake *PublicParameters) Validate() error

func (*PublicParameters) ValidateCallCount

func (fake *PublicParameters) ValidateCallCount() int

func (*PublicParameters) ValidateCalls

func (fake *PublicParameters) ValidateCalls(stub func() error)

func (*PublicParameters) ValidateReturns

func (fake *PublicParameters) ValidateReturns(result1 error)

func (*PublicParameters) ValidateReturnsOnCall

func (fake *PublicParameters) ValidateReturnsOnCall(i int, result1 error)

type PublicParamsManager

type PublicParamsManager struct {
	NewCertifierKeyPairStub func() ([]byte, []byte, error)

	PublicParametersStub func() driver.PublicParameters

	PublicParamsHashStub func() driver.PPHash
	// contains filtered or unexported fields
}

func (*PublicParamsManager) Invocations

func (fake *PublicParamsManager) Invocations() map[string][][]interface{}

func (*PublicParamsManager) NewCertifierKeyPair

func (fake *PublicParamsManager) NewCertifierKeyPair() ([]byte, []byte, error)

func (*PublicParamsManager) NewCertifierKeyPairCallCount

func (fake *PublicParamsManager) NewCertifierKeyPairCallCount() int

func (*PublicParamsManager) NewCertifierKeyPairCalls

func (fake *PublicParamsManager) NewCertifierKeyPairCalls(stub func() ([]byte, []byte, error))

func (*PublicParamsManager) NewCertifierKeyPairReturns

func (fake *PublicParamsManager) NewCertifierKeyPairReturns(result1 []byte, result2 []byte, result3 error)

func (*PublicParamsManager) NewCertifierKeyPairReturnsOnCall

func (fake *PublicParamsManager) NewCertifierKeyPairReturnsOnCall(i int, result1 []byte, result2 []byte, result3 error)

func (*PublicParamsManager) PublicParameters

func (fake *PublicParamsManager) PublicParameters() driver.PublicParameters

func (*PublicParamsManager) PublicParametersCallCount

func (fake *PublicParamsManager) PublicParametersCallCount() int

func (*PublicParamsManager) PublicParametersCalls

func (fake *PublicParamsManager) PublicParametersCalls(stub func() driver.PublicParameters)

func (*PublicParamsManager) PublicParametersReturns

func (fake *PublicParamsManager) PublicParametersReturns(result1 driver.PublicParameters)

func (*PublicParamsManager) PublicParametersReturnsOnCall

func (fake *PublicParamsManager) PublicParametersReturnsOnCall(i int, result1 driver.PublicParameters)

func (*PublicParamsManager) PublicParamsHash

func (fake *PublicParamsManager) PublicParamsHash() driver.PPHash

func (*PublicParamsManager) PublicParamsHashCallCount

func (fake *PublicParamsManager) PublicParamsHashCallCount() int

func (*PublicParamsManager) PublicParamsHashCalls

func (fake *PublicParamsManager) PublicParamsHashCalls(stub func() driver.PPHash)

func (*PublicParamsManager) PublicParamsHashReturns

func (fake *PublicParamsManager) PublicParamsHashReturns(result1 driver.PPHash)

func (*PublicParamsManager) PublicParamsHashReturnsOnCall

func (fake *PublicParamsManager) PublicParamsHashReturnsOnCall(i int, result1 driver.PPHash)

type QueryEngine

type QueryEngine struct {
	BalanceStub func(context.Context, string, token.Type) (uint64, error)

	GetStatusStub func(context.Context, string) (driver.TxStatus, string, error)

	GetTokenMetadataStub func(context.Context, []*token.ID) ([][]byte, error)

	GetTokenOutputsStub func(context.Context, []*token.ID, driver.QueryCallbackFunc) error

	GetTokenOutputsAndMetaStub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error)

	GetTokensStub func(context.Context, ...*token.ID) ([]*token.Token, error)

	IsMineStub func(context.Context, *token.ID) (bool, error)

	IsPendingStub func(context.Context, *token.ID) (bool, error)

	ListAuditTokensStub func(context.Context, ...*token.ID) ([]*token.Token, error)

	ListHistoryIssuedTokensStub func(context.Context) (*token.IssuedTokens, error)

	ListUnspentTokensStub func(context.Context) (*token.UnspentTokens, error)

	PublicParamsStub func(context.Context) ([]byte, error)

	UnspentLedgerTokensIteratorByStub func(context.Context) (driver.LedgerTokensIterator, error)

	UnspentTokensIteratorStub func(context.Context) (driver.UnspentTokensIterator, error)

	UnspentTokensIteratorByStub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error)

	WhoDeletedTokensStub func(context.Context, ...*token.ID) ([]string, []bool, error)
	// contains filtered or unexported fields
}

func (*QueryEngine) Balance

func (fake *QueryEngine) Balance(arg1 context.Context, arg2 string, arg3 token.Type) (uint64, error)

func (*QueryEngine) BalanceArgsForCall

func (fake *QueryEngine) BalanceArgsForCall(i int) (context.Context, string, token.Type)

func (*QueryEngine) BalanceCallCount

func (fake *QueryEngine) BalanceCallCount() int

func (*QueryEngine) BalanceCalls

func (fake *QueryEngine) BalanceCalls(stub func(context.Context, string, token.Type) (uint64, error))

func (*QueryEngine) BalanceReturns

func (fake *QueryEngine) BalanceReturns(result1 uint64, result2 error)

func (*QueryEngine) BalanceReturnsOnCall

func (fake *QueryEngine) BalanceReturnsOnCall(i int, result1 uint64, result2 error)

func (*QueryEngine) GetStatus

func (fake *QueryEngine) GetStatus(arg1 context.Context, arg2 string) (driver.TxStatus, string, error)

func (*QueryEngine) GetStatusArgsForCall

func (fake *QueryEngine) GetStatusArgsForCall(i int) (context.Context, string)

func (*QueryEngine) GetStatusCallCount

func (fake *QueryEngine) GetStatusCallCount() int

func (*QueryEngine) GetStatusCalls

func (fake *QueryEngine) GetStatusCalls(stub func(context.Context, string) (driver.TxStatus, string, error))

func (*QueryEngine) GetStatusReturns

func (fake *QueryEngine) GetStatusReturns(result1 driver.TxStatus, result2 string, result3 error)

func (*QueryEngine) GetStatusReturnsOnCall

func (fake *QueryEngine) GetStatusReturnsOnCall(i int, result1 driver.TxStatus, result2 string, result3 error)

func (*QueryEngine) GetTokenMetadata

func (fake *QueryEngine) GetTokenMetadata(arg1 context.Context, arg2 []*token.ID) ([][]byte, error)

func (*QueryEngine) GetTokenMetadataArgsForCall

func (fake *QueryEngine) GetTokenMetadataArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) GetTokenMetadataCallCount

func (fake *QueryEngine) GetTokenMetadataCallCount() int

func (*QueryEngine) GetTokenMetadataCalls

func (fake *QueryEngine) GetTokenMetadataCalls(stub func(context.Context, []*token.ID) ([][]byte, error))

func (*QueryEngine) GetTokenMetadataReturns

func (fake *QueryEngine) GetTokenMetadataReturns(result1 [][]byte, result2 error)

func (*QueryEngine) GetTokenMetadataReturnsOnCall

func (fake *QueryEngine) GetTokenMetadataReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*QueryEngine) GetTokenOutputs

func (fake *QueryEngine) GetTokenOutputs(arg1 context.Context, arg2 []*token.ID, arg3 driver.QueryCallbackFunc) error

func (*QueryEngine) GetTokenOutputsAndMeta

func (fake *QueryEngine) GetTokenOutputsAndMeta(arg1 context.Context, arg2 []*token.ID) ([][]byte, [][]byte, []token.Format, error)

func (*QueryEngine) GetTokenOutputsAndMetaArgsForCall

func (fake *QueryEngine) GetTokenOutputsAndMetaArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) GetTokenOutputsAndMetaCallCount

func (fake *QueryEngine) GetTokenOutputsAndMetaCallCount() int

func (*QueryEngine) GetTokenOutputsAndMetaCalls

func (fake *QueryEngine) GetTokenOutputsAndMetaCalls(stub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error))

func (*QueryEngine) GetTokenOutputsAndMetaReturns

func (fake *QueryEngine) GetTokenOutputsAndMetaReturns(result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)

func (*QueryEngine) GetTokenOutputsAndMetaReturnsOnCall

func (fake *QueryEngine) GetTokenOutputsAndMetaReturnsOnCall(i int, result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)

func (*QueryEngine) GetTokenOutputsArgsForCall

func (fake *QueryEngine) GetTokenOutputsArgsForCall(i int) (context.Context, []*token.ID, driver.QueryCallbackFunc)

func (*QueryEngine) GetTokenOutputsCallCount

func (fake *QueryEngine) GetTokenOutputsCallCount() int

func (*QueryEngine) GetTokenOutputsCalls

func (fake *QueryEngine) GetTokenOutputsCalls(stub func(context.Context, []*token.ID, driver.QueryCallbackFunc) error)

func (*QueryEngine) GetTokenOutputsReturns

func (fake *QueryEngine) GetTokenOutputsReturns(result1 error)

func (*QueryEngine) GetTokenOutputsReturnsOnCall

func (fake *QueryEngine) GetTokenOutputsReturnsOnCall(i int, result1 error)

func (*QueryEngine) GetTokens

func (fake *QueryEngine) GetTokens(arg1 context.Context, arg2 ...*token.ID) ([]*token.Token, error)

func (*QueryEngine) GetTokensArgsForCall

func (fake *QueryEngine) GetTokensArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) GetTokensCallCount

func (fake *QueryEngine) GetTokensCallCount() int

func (*QueryEngine) GetTokensCalls

func (fake *QueryEngine) GetTokensCalls(stub func(context.Context, ...*token.ID) ([]*token.Token, error))

func (*QueryEngine) GetTokensReturns

func (fake *QueryEngine) GetTokensReturns(result1 []*token.Token, result2 error)

func (*QueryEngine) GetTokensReturnsOnCall

func (fake *QueryEngine) GetTokensReturnsOnCall(i int, result1 []*token.Token, result2 error)

func (*QueryEngine) Invocations

func (fake *QueryEngine) Invocations() map[string][][]interface{}

func (*QueryEngine) IsMine

func (fake *QueryEngine) IsMine(arg1 context.Context, arg2 *token.ID) (bool, error)

func (*QueryEngine) IsMineArgsForCall

func (fake *QueryEngine) IsMineArgsForCall(i int) (context.Context, *token.ID)

func (*QueryEngine) IsMineCallCount

func (fake *QueryEngine) IsMineCallCount() int

func (*QueryEngine) IsMineCalls

func (fake *QueryEngine) IsMineCalls(stub func(context.Context, *token.ID) (bool, error))

func (*QueryEngine) IsMineReturns

func (fake *QueryEngine) IsMineReturns(result1 bool, result2 error)

func (*QueryEngine) IsMineReturnsOnCall

func (fake *QueryEngine) IsMineReturnsOnCall(i int, result1 bool, result2 error)

func (*QueryEngine) IsPending

func (fake *QueryEngine) IsPending(arg1 context.Context, arg2 *token.ID) (bool, error)

func (*QueryEngine) IsPendingArgsForCall

func (fake *QueryEngine) IsPendingArgsForCall(i int) (context.Context, *token.ID)

func (*QueryEngine) IsPendingCallCount

func (fake *QueryEngine) IsPendingCallCount() int

func (*QueryEngine) IsPendingCalls

func (fake *QueryEngine) IsPendingCalls(stub func(context.Context, *token.ID) (bool, error))

func (*QueryEngine) IsPendingReturns

func (fake *QueryEngine) IsPendingReturns(result1 bool, result2 error)

func (*QueryEngine) IsPendingReturnsOnCall

func (fake *QueryEngine) IsPendingReturnsOnCall(i int, result1 bool, result2 error)

func (*QueryEngine) ListAuditTokens

func (fake *QueryEngine) ListAuditTokens(arg1 context.Context, arg2 ...*token.ID) ([]*token.Token, error)

func (*QueryEngine) ListAuditTokensArgsForCall

func (fake *QueryEngine) ListAuditTokensArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) ListAuditTokensCallCount

func (fake *QueryEngine) ListAuditTokensCallCount() int

func (*QueryEngine) ListAuditTokensCalls

func (fake *QueryEngine) ListAuditTokensCalls(stub func(context.Context, ...*token.ID) ([]*token.Token, error))

func (*QueryEngine) ListAuditTokensReturns

func (fake *QueryEngine) ListAuditTokensReturns(result1 []*token.Token, result2 error)

func (*QueryEngine) ListAuditTokensReturnsOnCall

func (fake *QueryEngine) ListAuditTokensReturnsOnCall(i int, result1 []*token.Token, result2 error)

func (*QueryEngine) ListHistoryIssuedTokens

func (fake *QueryEngine) ListHistoryIssuedTokens(arg1 context.Context) (*token.IssuedTokens, error)

func (*QueryEngine) ListHistoryIssuedTokensArgsForCall added in v0.5.0

func (fake *QueryEngine) ListHistoryIssuedTokensArgsForCall(i int) context.Context

func (*QueryEngine) ListHistoryIssuedTokensCallCount

func (fake *QueryEngine) ListHistoryIssuedTokensCallCount() int

func (*QueryEngine) ListHistoryIssuedTokensCalls

func (fake *QueryEngine) ListHistoryIssuedTokensCalls(stub func(context.Context) (*token.IssuedTokens, error))

func (*QueryEngine) ListHistoryIssuedTokensReturns

func (fake *QueryEngine) ListHistoryIssuedTokensReturns(result1 *token.IssuedTokens, result2 error)

func (*QueryEngine) ListHistoryIssuedTokensReturnsOnCall

func (fake *QueryEngine) ListHistoryIssuedTokensReturnsOnCall(i int, result1 *token.IssuedTokens, result2 error)

func (*QueryEngine) ListUnspentTokens

func (fake *QueryEngine) ListUnspentTokens(arg1 context.Context) (*token.UnspentTokens, error)

func (*QueryEngine) ListUnspentTokensArgsForCall added in v0.5.0

func (fake *QueryEngine) ListUnspentTokensArgsForCall(i int) context.Context

func (*QueryEngine) ListUnspentTokensCallCount

func (fake *QueryEngine) ListUnspentTokensCallCount() int

func (*QueryEngine) ListUnspentTokensCalls

func (fake *QueryEngine) ListUnspentTokensCalls(stub func(context.Context) (*token.UnspentTokens, error))

func (*QueryEngine) ListUnspentTokensReturns

func (fake *QueryEngine) ListUnspentTokensReturns(result1 *token.UnspentTokens, result2 error)

func (*QueryEngine) ListUnspentTokensReturnsOnCall

func (fake *QueryEngine) ListUnspentTokensReturnsOnCall(i int, result1 *token.UnspentTokens, result2 error)

func (*QueryEngine) PublicParams

func (fake *QueryEngine) PublicParams(arg1 context.Context) ([]byte, error)

func (*QueryEngine) PublicParamsArgsForCall added in v0.5.0

func (fake *QueryEngine) PublicParamsArgsForCall(i int) context.Context

func (*QueryEngine) PublicParamsCallCount

func (fake *QueryEngine) PublicParamsCallCount() int

func (*QueryEngine) PublicParamsCalls

func (fake *QueryEngine) PublicParamsCalls(stub func(context.Context) ([]byte, error))

func (*QueryEngine) PublicParamsReturns

func (fake *QueryEngine) PublicParamsReturns(result1 []byte, result2 error)

func (*QueryEngine) PublicParamsReturnsOnCall

func (fake *QueryEngine) PublicParamsReturnsOnCall(i int, result1 []byte, result2 error)

func (*QueryEngine) UnspentLedgerTokensIteratorBy added in v0.5.0

func (fake *QueryEngine) UnspentLedgerTokensIteratorBy(arg1 context.Context) (driver.LedgerTokensIterator, error)

func (*QueryEngine) UnspentLedgerTokensIteratorByArgsForCall added in v0.5.0

func (fake *QueryEngine) UnspentLedgerTokensIteratorByArgsForCall(i int) context.Context

func (*QueryEngine) UnspentLedgerTokensIteratorByCallCount added in v0.5.0

func (fake *QueryEngine) UnspentLedgerTokensIteratorByCallCount() int

func (*QueryEngine) UnspentLedgerTokensIteratorByCalls added in v0.5.0

func (fake *QueryEngine) UnspentLedgerTokensIteratorByCalls(stub func(context.Context) (driver.LedgerTokensIterator, error))

func (*QueryEngine) UnspentLedgerTokensIteratorByReturns added in v0.5.0

func (fake *QueryEngine) UnspentLedgerTokensIteratorByReturns(result1 driver.LedgerTokensIterator, result2 error)

func (*QueryEngine) UnspentLedgerTokensIteratorByReturnsOnCall added in v0.5.0

func (fake *QueryEngine) UnspentLedgerTokensIteratorByReturnsOnCall(i int, result1 driver.LedgerTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIterator

func (fake *QueryEngine) UnspentTokensIterator(arg1 context.Context) (driver.UnspentTokensIterator, error)

func (*QueryEngine) UnspentTokensIteratorArgsForCall added in v0.5.0

func (fake *QueryEngine) UnspentTokensIteratorArgsForCall(i int) context.Context

func (*QueryEngine) UnspentTokensIteratorBy

func (fake *QueryEngine) UnspentTokensIteratorBy(arg1 context.Context, arg2 string, arg3 token.Type) (driver.UnspentTokensIterator, error)

func (*QueryEngine) UnspentTokensIteratorByArgsForCall

func (fake *QueryEngine) UnspentTokensIteratorByArgsForCall(i int) (context.Context, string, token.Type)

func (*QueryEngine) UnspentTokensIteratorByCallCount

func (fake *QueryEngine) UnspentTokensIteratorByCallCount() int

func (*QueryEngine) UnspentTokensIteratorByCalls

func (fake *QueryEngine) UnspentTokensIteratorByCalls(stub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error))

func (*QueryEngine) UnspentTokensIteratorByReturns

func (fake *QueryEngine) UnspentTokensIteratorByReturns(result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIteratorByReturnsOnCall

func (fake *QueryEngine) UnspentTokensIteratorByReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIteratorCallCount

func (fake *QueryEngine) UnspentTokensIteratorCallCount() int

func (*QueryEngine) UnspentTokensIteratorCalls

func (fake *QueryEngine) UnspentTokensIteratorCalls(stub func(context.Context) (driver.UnspentTokensIterator, error))

func (*QueryEngine) UnspentTokensIteratorReturns

func (fake *QueryEngine) UnspentTokensIteratorReturns(result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) UnspentTokensIteratorReturnsOnCall

func (fake *QueryEngine) UnspentTokensIteratorReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)

func (*QueryEngine) WhoDeletedTokens

func (fake *QueryEngine) WhoDeletedTokens(arg1 context.Context, arg2 ...*token.ID) ([]string, []bool, error)

func (*QueryEngine) WhoDeletedTokensArgsForCall

func (fake *QueryEngine) WhoDeletedTokensArgsForCall(i int) (context.Context, []*token.ID)

func (*QueryEngine) WhoDeletedTokensCallCount

func (fake *QueryEngine) WhoDeletedTokensCallCount() int

func (*QueryEngine) WhoDeletedTokensCalls

func (fake *QueryEngine) WhoDeletedTokensCalls(stub func(context.Context, ...*token.ID) ([]string, []bool, error))

func (*QueryEngine) WhoDeletedTokensReturns

func (fake *QueryEngine) WhoDeletedTokensReturns(result1 []string, result2 []bool, result3 error)

func (*QueryEngine) WhoDeletedTokensReturnsOnCall

func (fake *QueryEngine) WhoDeletedTokensReturnsOnCall(i int, result1 []string, result2 []bool, result3 error)

type SignatureProvider added in v0.5.0

type SignatureProvider struct {
	HasBeenSignedByStub func(identity.Identity, driver.Verifier) ([]byte, error)

	SignaturesStub func() [][]byte
	// contains filtered or unexported fields
}

func (*SignatureProvider) HasBeenSignedBy added in v0.5.0

func (fake *SignatureProvider) HasBeenSignedBy(ctx context.Context, arg1 identity.Identity, arg2 driver.Verifier) ([]byte, error)

func (*SignatureProvider) HasBeenSignedByArgsForCall added in v0.5.0

func (fake *SignatureProvider) HasBeenSignedByArgsForCall(i int) (identity.Identity, driver.Verifier)

func (*SignatureProvider) HasBeenSignedByCallCount added in v0.5.0

func (fake *SignatureProvider) HasBeenSignedByCallCount() int

func (*SignatureProvider) HasBeenSignedByCalls added in v0.5.0

func (fake *SignatureProvider) HasBeenSignedByCalls(stub func(identity.Identity, driver.Verifier) ([]byte, error))

func (*SignatureProvider) HasBeenSignedByReturns added in v0.5.0

func (fake *SignatureProvider) HasBeenSignedByReturns(result1 []byte, result2 error)

func (*SignatureProvider) HasBeenSignedByReturnsOnCall added in v0.5.0

func (fake *SignatureProvider) HasBeenSignedByReturnsOnCall(i int, result1 []byte, result2 error)

func (*SignatureProvider) Invocations added in v0.5.0

func (fake *SignatureProvider) Invocations() map[string][][]interface{}

func (*SignatureProvider) Signatures added in v0.5.0

func (fake *SignatureProvider) Signatures() [][]byte

func (*SignatureProvider) SignaturesCallCount added in v0.5.0

func (fake *SignatureProvider) SignaturesCallCount() int

func (*SignatureProvider) SignaturesCalls added in v0.5.0

func (fake *SignatureProvider) SignaturesCalls(stub func() [][]byte)

func (*SignatureProvider) SignaturesReturns added in v0.5.0

func (fake *SignatureProvider) SignaturesReturns(result1 [][]byte)

func (*SignatureProvider) SignaturesReturnsOnCall added in v0.5.0

func (fake *SignatureProvider) SignaturesReturnsOnCall(i int, result1 [][]byte)

type Signer

type Signer struct {
	SignStub func([]byte) ([]byte, error)
	// contains filtered or unexported fields
}

func (*Signer) Invocations

func (fake *Signer) Invocations() map[string][][]interface{}

func (*Signer) Sign

func (fake *Signer) Sign(arg1 []byte) ([]byte, error)

func (*Signer) SignArgsForCall

func (fake *Signer) SignArgsForCall(i int) []byte

func (*Signer) SignCallCount

func (fake *Signer) SignCallCount() int

func (*Signer) SignCalls

func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error))

func (*Signer) SignReturns

func (fake *Signer) SignReturns(result1 []byte, result2 error)

func (*Signer) SignReturnsOnCall

func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error)

type TokenManagerService added in v0.7.0

type TokenManagerService struct {
	AuditorServiceStub func() driver.AuditorService

	AuthorizationStub func() driver.Authorization

	CertificationServiceStub func() driver.CertificationService

	ConfigurationStub func() driver.Configuration

	DeserializerStub func() driver.Deserializer

	DoneStub func() error

	IdentityProviderStub func() driver.IdentityProvider

	IssueServiceStub func() driver.IssueService

	PublicParamsManagerStub func() driver.PublicParamsManager

	TokensServiceStub func() driver.TokensService

	TokensUpgradeServiceStub func() driver.TokensUpgradeService

	TransferServiceStub func() driver.TransferService

	ValidatorStub func() (driver.Validator, error)

	WalletServiceStub func() driver.WalletService
	// contains filtered or unexported fields
}

func (*TokenManagerService) AuditorService added in v0.7.0

func (fake *TokenManagerService) AuditorService() driver.AuditorService

func (*TokenManagerService) AuditorServiceCallCount added in v0.7.0

func (fake *TokenManagerService) AuditorServiceCallCount() int

func (*TokenManagerService) AuditorServiceCalls added in v0.7.0

func (fake *TokenManagerService) AuditorServiceCalls(stub func() driver.AuditorService)

func (*TokenManagerService) AuditorServiceReturns added in v0.7.0

func (fake *TokenManagerService) AuditorServiceReturns(result1 driver.AuditorService)

func (*TokenManagerService) AuditorServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) AuditorServiceReturnsOnCall(i int, result1 driver.AuditorService)

func (*TokenManagerService) Authorization added in v0.7.0

func (fake *TokenManagerService) Authorization() driver.Authorization

func (*TokenManagerService) AuthorizationCallCount added in v0.7.0

func (fake *TokenManagerService) AuthorizationCallCount() int

func (*TokenManagerService) AuthorizationCalls added in v0.7.0

func (fake *TokenManagerService) AuthorizationCalls(stub func() driver.Authorization)

func (*TokenManagerService) AuthorizationReturns added in v0.7.0

func (fake *TokenManagerService) AuthorizationReturns(result1 driver.Authorization)

func (*TokenManagerService) AuthorizationReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) AuthorizationReturnsOnCall(i int, result1 driver.Authorization)

func (*TokenManagerService) CertificationService added in v0.7.0

func (fake *TokenManagerService) CertificationService() driver.CertificationService

func (*TokenManagerService) CertificationServiceCallCount added in v0.7.0

func (fake *TokenManagerService) CertificationServiceCallCount() int

func (*TokenManagerService) CertificationServiceCalls added in v0.7.0

func (fake *TokenManagerService) CertificationServiceCalls(stub func() driver.CertificationService)

func (*TokenManagerService) CertificationServiceReturns added in v0.7.0

func (fake *TokenManagerService) CertificationServiceReturns(result1 driver.CertificationService)

func (*TokenManagerService) CertificationServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) CertificationServiceReturnsOnCall(i int, result1 driver.CertificationService)

func (*TokenManagerService) Configuration added in v0.7.0

func (fake *TokenManagerService) Configuration() driver.Configuration

func (*TokenManagerService) ConfigurationCallCount added in v0.7.0

func (fake *TokenManagerService) ConfigurationCallCount() int

func (*TokenManagerService) ConfigurationCalls added in v0.7.0

func (fake *TokenManagerService) ConfigurationCalls(stub func() driver.Configuration)

func (*TokenManagerService) ConfigurationReturns added in v0.7.0

func (fake *TokenManagerService) ConfigurationReturns(result1 driver.Configuration)

func (*TokenManagerService) ConfigurationReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) ConfigurationReturnsOnCall(i int, result1 driver.Configuration)

func (*TokenManagerService) Deserializer added in v0.7.0

func (fake *TokenManagerService) Deserializer() driver.Deserializer

func (*TokenManagerService) DeserializerCallCount added in v0.7.0

func (fake *TokenManagerService) DeserializerCallCount() int

func (*TokenManagerService) DeserializerCalls added in v0.7.0

func (fake *TokenManagerService) DeserializerCalls(stub func() driver.Deserializer)

func (*TokenManagerService) DeserializerReturns added in v0.7.0

func (fake *TokenManagerService) DeserializerReturns(result1 driver.Deserializer)

func (*TokenManagerService) DeserializerReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) DeserializerReturnsOnCall(i int, result1 driver.Deserializer)

func (*TokenManagerService) Done added in v0.7.0

func (fake *TokenManagerService) Done() error

func (*TokenManagerService) DoneCallCount added in v0.7.0

func (fake *TokenManagerService) DoneCallCount() int

func (*TokenManagerService) DoneCalls added in v0.7.0

func (fake *TokenManagerService) DoneCalls(stub func() error)

func (*TokenManagerService) DoneReturns added in v0.7.0

func (fake *TokenManagerService) DoneReturns(result1 error)

func (*TokenManagerService) DoneReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) DoneReturnsOnCall(i int, result1 error)

func (*TokenManagerService) IdentityProvider added in v0.7.0

func (fake *TokenManagerService) IdentityProvider() driver.IdentityProvider

func (*TokenManagerService) IdentityProviderCallCount added in v0.7.0

func (fake *TokenManagerService) IdentityProviderCallCount() int

func (*TokenManagerService) IdentityProviderCalls added in v0.7.0

func (fake *TokenManagerService) IdentityProviderCalls(stub func() driver.IdentityProvider)

func (*TokenManagerService) IdentityProviderReturns added in v0.7.0

func (fake *TokenManagerService) IdentityProviderReturns(result1 driver.IdentityProvider)

func (*TokenManagerService) IdentityProviderReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) IdentityProviderReturnsOnCall(i int, result1 driver.IdentityProvider)

func (*TokenManagerService) Invocations added in v0.7.0

func (fake *TokenManagerService) Invocations() map[string][][]interface{}

func (*TokenManagerService) IssueService added in v0.7.0

func (fake *TokenManagerService) IssueService() driver.IssueService

func (*TokenManagerService) IssueServiceCallCount added in v0.7.0

func (fake *TokenManagerService) IssueServiceCallCount() int

func (*TokenManagerService) IssueServiceCalls added in v0.7.0

func (fake *TokenManagerService) IssueServiceCalls(stub func() driver.IssueService)

func (*TokenManagerService) IssueServiceReturns added in v0.7.0

func (fake *TokenManagerService) IssueServiceReturns(result1 driver.IssueService)

func (*TokenManagerService) IssueServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) IssueServiceReturnsOnCall(i int, result1 driver.IssueService)

func (*TokenManagerService) PublicParamsManager added in v0.7.0

func (fake *TokenManagerService) PublicParamsManager() driver.PublicParamsManager

func (*TokenManagerService) PublicParamsManagerCallCount added in v0.7.0

func (fake *TokenManagerService) PublicParamsManagerCallCount() int

func (*TokenManagerService) PublicParamsManagerCalls added in v0.7.0

func (fake *TokenManagerService) PublicParamsManagerCalls(stub func() driver.PublicParamsManager)

func (*TokenManagerService) PublicParamsManagerReturns added in v0.7.0

func (fake *TokenManagerService) PublicParamsManagerReturns(result1 driver.PublicParamsManager)

func (*TokenManagerService) PublicParamsManagerReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) PublicParamsManagerReturnsOnCall(i int, result1 driver.PublicParamsManager)

func (*TokenManagerService) TokensService added in v0.7.0

func (fake *TokenManagerService) TokensService() driver.TokensService

func (*TokenManagerService) TokensServiceCallCount added in v0.7.0

func (fake *TokenManagerService) TokensServiceCallCount() int

func (*TokenManagerService) TokensServiceCalls added in v0.7.0

func (fake *TokenManagerService) TokensServiceCalls(stub func() driver.TokensService)

func (*TokenManagerService) TokensServiceReturns added in v0.7.0

func (fake *TokenManagerService) TokensServiceReturns(result1 driver.TokensService)

func (*TokenManagerService) TokensServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) TokensServiceReturnsOnCall(i int, result1 driver.TokensService)

func (*TokenManagerService) TokensUpgradeService added in v0.7.0

func (fake *TokenManagerService) TokensUpgradeService() driver.TokensUpgradeService

func (*TokenManagerService) TokensUpgradeServiceCallCount added in v0.7.0

func (fake *TokenManagerService) TokensUpgradeServiceCallCount() int

func (*TokenManagerService) TokensUpgradeServiceCalls added in v0.7.0

func (fake *TokenManagerService) TokensUpgradeServiceCalls(stub func() driver.TokensUpgradeService)

func (*TokenManagerService) TokensUpgradeServiceReturns added in v0.7.0

func (fake *TokenManagerService) TokensUpgradeServiceReturns(result1 driver.TokensUpgradeService)

func (*TokenManagerService) TokensUpgradeServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) TokensUpgradeServiceReturnsOnCall(i int, result1 driver.TokensUpgradeService)

func (*TokenManagerService) TransferService added in v0.7.0

func (fake *TokenManagerService) TransferService() driver.TransferService

func (*TokenManagerService) TransferServiceCallCount added in v0.7.0

func (fake *TokenManagerService) TransferServiceCallCount() int

func (*TokenManagerService) TransferServiceCalls added in v0.7.0

func (fake *TokenManagerService) TransferServiceCalls(stub func() driver.TransferService)

func (*TokenManagerService) TransferServiceReturns added in v0.7.0

func (fake *TokenManagerService) TransferServiceReturns(result1 driver.TransferService)

func (*TokenManagerService) TransferServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) TransferServiceReturnsOnCall(i int, result1 driver.TransferService)

func (*TokenManagerService) Validator added in v0.7.0

func (fake *TokenManagerService) Validator() (driver.Validator, error)

func (*TokenManagerService) ValidatorCallCount added in v0.7.0

func (fake *TokenManagerService) ValidatorCallCount() int

func (*TokenManagerService) ValidatorCalls added in v0.7.0

func (fake *TokenManagerService) ValidatorCalls(stub func() (driver.Validator, error))

func (*TokenManagerService) ValidatorReturns added in v0.7.0

func (fake *TokenManagerService) ValidatorReturns(result1 driver.Validator, result2 error)

func (*TokenManagerService) ValidatorReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) ValidatorReturnsOnCall(i int, result1 driver.Validator, result2 error)

func (*TokenManagerService) WalletService added in v0.7.0

func (fake *TokenManagerService) WalletService() driver.WalletService

func (*TokenManagerService) WalletServiceCallCount added in v0.7.0

func (fake *TokenManagerService) WalletServiceCallCount() int

func (*TokenManagerService) WalletServiceCalls added in v0.7.0

func (fake *TokenManagerService) WalletServiceCalls(stub func() driver.WalletService)

func (*TokenManagerService) WalletServiceReturns added in v0.7.0

func (fake *TokenManagerService) WalletServiceReturns(result1 driver.WalletService)

func (*TokenManagerService) WalletServiceReturnsOnCall added in v0.7.0

func (fake *TokenManagerService) WalletServiceReturnsOnCall(i int, result1 driver.WalletService)

type TokensService

type TokensService struct {
	DeobfuscateStub func(context.Context, driver.TokenOutput, driver.TokenOutputMetadata) (*token.Token, driver.Identity, []driver.Identity, token.Format, error)

	RecipientsStub func(driver.TokenOutput) ([]driver.Identity, error)

	SupportedTokenFormatsStub func() []token.Format
	// contains filtered or unexported fields
}

func (*TokensService) Deobfuscate

func (*TokensService) DeobfuscateArgsForCall

func (fake *TokensService) DeobfuscateArgsForCall(i int) (context.Context, driver.TokenOutput, driver.TokenOutputMetadata)

func (*TokensService) DeobfuscateCallCount

func (fake *TokensService) DeobfuscateCallCount() int

func (*TokensService) DeobfuscateCalls

func (*TokensService) DeobfuscateReturns

func (fake *TokensService) DeobfuscateReturns(result1 *token.Token, result2 driver.Identity, result3 []driver.Identity, result4 token.Format, result5 error)

func (*TokensService) DeobfuscateReturnsOnCall

func (fake *TokensService) DeobfuscateReturnsOnCall(i int, result1 *token.Token, result2 driver.Identity, result3 []driver.Identity, result4 token.Format, result5 error)

func (*TokensService) Invocations

func (fake *TokensService) Invocations() map[string][][]interface{}

func (*TokensService) Recipients added in v0.5.0

func (fake *TokensService) Recipients(arg1 driver.TokenOutput) ([]driver.Identity, error)

func (*TokensService) RecipientsArgsForCall added in v0.5.0

func (fake *TokensService) RecipientsArgsForCall(i int) driver.TokenOutput

func (*TokensService) RecipientsCallCount added in v0.5.0

func (fake *TokensService) RecipientsCallCount() int

func (*TokensService) RecipientsCalls added in v0.5.0

func (fake *TokensService) RecipientsCalls(stub func(driver.TokenOutput) ([]driver.Identity, error))

func (*TokensService) RecipientsReturns added in v0.5.0

func (fake *TokensService) RecipientsReturns(result1 []driver.Identity, result2 error)

func (*TokensService) RecipientsReturnsOnCall added in v0.5.0

func (fake *TokensService) RecipientsReturnsOnCall(i int, result1 []driver.Identity, result2 error)

func (*TokensService) SupportedTokenFormats

func (fake *TokensService) SupportedTokenFormats() []token.Format

func (*TokensService) SupportedTokenFormatsCallCount

func (fake *TokensService) SupportedTokenFormatsCallCount() int

func (*TokensService) SupportedTokenFormatsCalls

func (fake *TokensService) SupportedTokenFormatsCalls(stub func() []token.Format)

func (*TokensService) SupportedTokenFormatsReturns

func (fake *TokensService) SupportedTokenFormatsReturns(result1 []token.Format)

func (*TokensService) SupportedTokenFormatsReturnsOnCall

func (fake *TokensService) SupportedTokenFormatsReturnsOnCall(i int, result1 []token.Format)

type TransferAction

type TransferAction struct {
	ExtraSignersStub func() []identity.Identity

	GetInputsStub func() []*token.ID

	GetIssuerStub func() identity.Identity

	GetMetadataStub func() map[string][]byte

	GetOutputsStub func() []driver.Output

	GetSerialNumbersStub func() []string

	GetSerializedInputsStub func() ([][]byte, error)

	GetSerializedOutputsStub func() ([][]byte, error)

	IsGraphHidingStub func() bool

	IsRedeemAtStub func(int) bool

	NumInputsStub func() int

	NumOutputsStub func() int

	SerializeStub func() ([]byte, error)

	SerializeOutputAtStub func(int) ([]byte, error)

	ValidateStub func() error
	// contains filtered or unexported fields
}

func (*TransferAction) ExtraSigners added in v0.5.0

func (fake *TransferAction) ExtraSigners() []identity.Identity

func (*TransferAction) ExtraSignersCallCount added in v0.5.0

func (fake *TransferAction) ExtraSignersCallCount() int

func (*TransferAction) ExtraSignersCalls added in v0.5.0

func (fake *TransferAction) ExtraSignersCalls(stub func() []identity.Identity)

func (*TransferAction) ExtraSignersReturns added in v0.5.0

func (fake *TransferAction) ExtraSignersReturns(result1 []identity.Identity)

func (*TransferAction) ExtraSignersReturnsOnCall added in v0.5.0

func (fake *TransferAction) ExtraSignersReturnsOnCall(i int, result1 []identity.Identity)

func (*TransferAction) GetInputs

func (fake *TransferAction) GetInputs() []*token.ID

func (*TransferAction) GetInputsCallCount

func (fake *TransferAction) GetInputsCallCount() int

func (*TransferAction) GetInputsCalls

func (fake *TransferAction) GetInputsCalls(stub func() []*token.ID)

func (*TransferAction) GetInputsReturns

func (fake *TransferAction) GetInputsReturns(result1 []*token.ID)

func (*TransferAction) GetInputsReturnsOnCall

func (fake *TransferAction) GetInputsReturnsOnCall(i int, result1 []*token.ID)

func (*TransferAction) GetIssuer added in v0.5.0

func (fake *TransferAction) GetIssuer() identity.Identity

func (*TransferAction) GetIssuerCallCount added in v0.5.0

func (fake *TransferAction) GetIssuerCallCount() int

func (*TransferAction) GetIssuerCalls added in v0.5.0

func (fake *TransferAction) GetIssuerCalls(stub func() identity.Identity)

func (*TransferAction) GetIssuerReturns added in v0.5.0

func (fake *TransferAction) GetIssuerReturns(result1 identity.Identity)

func (*TransferAction) GetIssuerReturnsOnCall added in v0.5.0

func (fake *TransferAction) GetIssuerReturnsOnCall(i int, result1 identity.Identity)

func (*TransferAction) GetMetadata

func (fake *TransferAction) GetMetadata() map[string][]byte

func (*TransferAction) GetMetadataCallCount

func (fake *TransferAction) GetMetadataCallCount() int

func (*TransferAction) GetMetadataCalls

func (fake *TransferAction) GetMetadataCalls(stub func() map[string][]byte)

func (*TransferAction) GetMetadataReturns

func (fake *TransferAction) GetMetadataReturns(result1 map[string][]byte)

func (*TransferAction) GetMetadataReturnsOnCall

func (fake *TransferAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)

func (*TransferAction) GetOutputs

func (fake *TransferAction) GetOutputs() []driver.Output

func (*TransferAction) GetOutputsCallCount

func (fake *TransferAction) GetOutputsCallCount() int

func (*TransferAction) GetOutputsCalls

func (fake *TransferAction) GetOutputsCalls(stub func() []driver.Output)

func (*TransferAction) GetOutputsReturns

func (fake *TransferAction) GetOutputsReturns(result1 []driver.Output)

func (*TransferAction) GetOutputsReturnsOnCall

func (fake *TransferAction) GetOutputsReturnsOnCall(i int, result1 []driver.Output)

func (*TransferAction) GetSerialNumbers

func (fake *TransferAction) GetSerialNumbers() []string

func (*TransferAction) GetSerialNumbersCallCount

func (fake *TransferAction) GetSerialNumbersCallCount() int

func (*TransferAction) GetSerialNumbersCalls

func (fake *TransferAction) GetSerialNumbersCalls(stub func() []string)

func (*TransferAction) GetSerialNumbersReturns

func (fake *TransferAction) GetSerialNumbersReturns(result1 []string)

func (*TransferAction) GetSerialNumbersReturnsOnCall

func (fake *TransferAction) GetSerialNumbersReturnsOnCall(i int, result1 []string)

func (*TransferAction) GetSerializedInputs

func (fake *TransferAction) GetSerializedInputs() ([][]byte, error)

func (*TransferAction) GetSerializedInputsCallCount

func (fake *TransferAction) GetSerializedInputsCallCount() int

func (*TransferAction) GetSerializedInputsCalls

func (fake *TransferAction) GetSerializedInputsCalls(stub func() ([][]byte, error))

func (*TransferAction) GetSerializedInputsReturns

func (fake *TransferAction) GetSerializedInputsReturns(result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedInputsReturnsOnCall

func (fake *TransferAction) GetSerializedInputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedOutputs

func (fake *TransferAction) GetSerializedOutputs() ([][]byte, error)

func (*TransferAction) GetSerializedOutputsCallCount

func (fake *TransferAction) GetSerializedOutputsCallCount() int

func (*TransferAction) GetSerializedOutputsCalls

func (fake *TransferAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))

func (*TransferAction) GetSerializedOutputsReturns

func (fake *TransferAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)

func (*TransferAction) GetSerializedOutputsReturnsOnCall

func (fake *TransferAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)

func (*TransferAction) Invocations

func (fake *TransferAction) Invocations() map[string][][]interface{}

func (*TransferAction) IsGraphHiding

func (fake *TransferAction) IsGraphHiding() bool

func (*TransferAction) IsGraphHidingCallCount

func (fake *TransferAction) IsGraphHidingCallCount() int

func (*TransferAction) IsGraphHidingCalls

func (fake *TransferAction) IsGraphHidingCalls(stub func() bool)

func (*TransferAction) IsGraphHidingReturns

func (fake *TransferAction) IsGraphHidingReturns(result1 bool)

func (*TransferAction) IsGraphHidingReturnsOnCall

func (fake *TransferAction) IsGraphHidingReturnsOnCall(i int, result1 bool)

func (*TransferAction) IsRedeemAt

func (fake *TransferAction) IsRedeemAt(arg1 int) bool

func (*TransferAction) IsRedeemAtArgsForCall

func (fake *TransferAction) IsRedeemAtArgsForCall(i int) int

func (*TransferAction) IsRedeemAtCallCount

func (fake *TransferAction) IsRedeemAtCallCount() int

func (*TransferAction) IsRedeemAtCalls

func (fake *TransferAction) IsRedeemAtCalls(stub func(int) bool)

func (*TransferAction) IsRedeemAtReturns

func (fake *TransferAction) IsRedeemAtReturns(result1 bool)

func (*TransferAction) IsRedeemAtReturnsOnCall

func (fake *TransferAction) IsRedeemAtReturnsOnCall(i int, result1 bool)

func (*TransferAction) NumInputs added in v0.5.0

func (fake *TransferAction) NumInputs() int

func (*TransferAction) NumInputsCallCount added in v0.5.0

func (fake *TransferAction) NumInputsCallCount() int

func (*TransferAction) NumInputsCalls added in v0.5.0

func (fake *TransferAction) NumInputsCalls(stub func() int)

func (*TransferAction) NumInputsReturns added in v0.5.0

func (fake *TransferAction) NumInputsReturns(result1 int)

func (*TransferAction) NumInputsReturnsOnCall added in v0.5.0

func (fake *TransferAction) NumInputsReturnsOnCall(i int, result1 int)

func (*TransferAction) NumOutputs

func (fake *TransferAction) NumOutputs() int

func (*TransferAction) NumOutputsCallCount

func (fake *TransferAction) NumOutputsCallCount() int

func (*TransferAction) NumOutputsCalls

func (fake *TransferAction) NumOutputsCalls(stub func() int)

func (*TransferAction) NumOutputsReturns

func (fake *TransferAction) NumOutputsReturns(result1 int)

func (*TransferAction) NumOutputsReturnsOnCall

func (fake *TransferAction) NumOutputsReturnsOnCall(i int, result1 int)

func (*TransferAction) Serialize

func (fake *TransferAction) Serialize() ([]byte, error)

func (*TransferAction) SerializeCallCount

func (fake *TransferAction) SerializeCallCount() int

func (*TransferAction) SerializeCalls

func (fake *TransferAction) SerializeCalls(stub func() ([]byte, error))

func (*TransferAction) SerializeOutputAt

func (fake *TransferAction) SerializeOutputAt(arg1 int) ([]byte, error)

func (*TransferAction) SerializeOutputAtArgsForCall

func (fake *TransferAction) SerializeOutputAtArgsForCall(i int) int

func (*TransferAction) SerializeOutputAtCallCount

func (fake *TransferAction) SerializeOutputAtCallCount() int

func (*TransferAction) SerializeOutputAtCalls

func (fake *TransferAction) SerializeOutputAtCalls(stub func(int) ([]byte, error))

func (*TransferAction) SerializeOutputAtReturns

func (fake *TransferAction) SerializeOutputAtReturns(result1 []byte, result2 error)

func (*TransferAction) SerializeOutputAtReturnsOnCall

func (fake *TransferAction) SerializeOutputAtReturnsOnCall(i int, result1 []byte, result2 error)

func (*TransferAction) SerializeReturns

func (fake *TransferAction) SerializeReturns(result1 []byte, result2 error)

func (*TransferAction) SerializeReturnsOnCall

func (fake *TransferAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)

func (*TransferAction) Validate added in v0.5.0

func (fake *TransferAction) Validate() error

func (*TransferAction) ValidateCallCount added in v0.5.0

func (fake *TransferAction) ValidateCallCount() int

func (*TransferAction) ValidateCalls added in v0.5.0

func (fake *TransferAction) ValidateCalls(stub func() error)

func (*TransferAction) ValidateReturns added in v0.5.0

func (fake *TransferAction) ValidateReturns(result1 error)

func (*TransferAction) ValidateReturnsOnCall added in v0.5.0

func (fake *TransferAction) ValidateReturnsOnCall(i int, result1 error)

type TransferService

type TransferService struct {
	DeserializeTransferActionStub func([]byte) (driver.TransferAction, error)

	TransferStub func(context.Context, driver.TokenRequestAnchor, driver.OwnerWallet, []*token.ID, []*token.Token, *driver.TransferOptions) (driver.TransferAction, *driver.TransferMetadata, error)

	VerifyTransferStub func(context.Context, driver.TransferAction, []*driver.TransferOutputMetadata) error
	// contains filtered or unexported fields
}

func (*TransferService) DeserializeTransferAction

func (fake *TransferService) DeserializeTransferAction(arg1 []byte) (driver.TransferAction, error)

func (*TransferService) DeserializeTransferActionArgsForCall

func (fake *TransferService) DeserializeTransferActionArgsForCall(i int) []byte

func (*TransferService) DeserializeTransferActionCallCount

func (fake *TransferService) DeserializeTransferActionCallCount() int

func (*TransferService) DeserializeTransferActionCalls

func (fake *TransferService) DeserializeTransferActionCalls(stub func([]byte) (driver.TransferAction, error))

func (*TransferService) DeserializeTransferActionReturns

func (fake *TransferService) DeserializeTransferActionReturns(result1 driver.TransferAction, result2 error)

func (*TransferService) DeserializeTransferActionReturnsOnCall

func (fake *TransferService) DeserializeTransferActionReturnsOnCall(i int, result1 driver.TransferAction, result2 error)

func (*TransferService) Invocations

func (fake *TransferService) Invocations() map[string][][]interface{}

func (*TransferService) Transfer

func (*TransferService) TransferArgsForCall

func (*TransferService) TransferCallCount

func (fake *TransferService) TransferCallCount() int

func (*TransferService) TransferReturns

func (fake *TransferService) TransferReturns(result1 driver.TransferAction, result2 *driver.TransferMetadata, result3 error)

func (*TransferService) TransferReturnsOnCall

func (fake *TransferService) TransferReturnsOnCall(i int, result1 driver.TransferAction, result2 *driver.TransferMetadata, result3 error)

func (*TransferService) VerifyTransfer

func (fake *TransferService) VerifyTransfer(arg1 context.Context, arg2 driver.TransferAction, arg3 []*driver.TransferOutputMetadata) error

func (*TransferService) VerifyTransferArgsForCall

func (fake *TransferService) VerifyTransferArgsForCall(i int) (context.Context, driver.TransferAction, []*driver.TransferOutputMetadata)

func (*TransferService) VerifyTransferCallCount

func (fake *TransferService) VerifyTransferCallCount() int

func (*TransferService) VerifyTransferCalls

func (fake *TransferService) VerifyTransferCalls(stub func(context.Context, driver.TransferAction, []*driver.TransferOutputMetadata) error)

func (*TransferService) VerifyTransferReturns

func (fake *TransferService) VerifyTransferReturns(result1 error)

func (*TransferService) VerifyTransferReturnsOnCall

func (fake *TransferService) VerifyTransferReturnsOnCall(i int, result1 error)

type UnspentTokensIterator

type UnspentTokensIterator struct {
	CloseStub func()

	NextStub func() (*token.UnspentToken, error)
	// contains filtered or unexported fields
}

func (*UnspentTokensIterator) Close

func (fake *UnspentTokensIterator) Close()

func (*UnspentTokensIterator) CloseCallCount

func (fake *UnspentTokensIterator) CloseCallCount() int

func (*UnspentTokensIterator) CloseCalls

func (fake *UnspentTokensIterator) CloseCalls(stub func())

func (*UnspentTokensIterator) Invocations

func (fake *UnspentTokensIterator) Invocations() map[string][][]interface{}

func (*UnspentTokensIterator) Next

func (fake *UnspentTokensIterator) Next() (*token.UnspentToken, error)

func (*UnspentTokensIterator) NextCallCount

func (fake *UnspentTokensIterator) NextCallCount() int

func (*UnspentTokensIterator) NextCalls

func (fake *UnspentTokensIterator) NextCalls(stub func() (*token.UnspentToken, error))

func (*UnspentTokensIterator) NextReturns

func (fake *UnspentTokensIterator) NextReturns(result1 *token.UnspentToken, result2 error)

func (*UnspentTokensIterator) NextReturnsOnCall

func (fake *UnspentTokensIterator) NextReturnsOnCall(i int, result1 *token.UnspentToken, result2 error)

type Validator

type Validator struct {
	UnmarshalActionsStub func([]byte) ([]interface{}, error)

	VerifyTokenRequestFromRawStub func(context.Context, driver.GetStateFnc, driver.TokenRequestAnchor, []byte) ([]interface{}, driver.ValidationAttributes, error)
	// contains filtered or unexported fields
}

func (*Validator) Invocations

func (fake *Validator) Invocations() map[string][][]interface{}

func (*Validator) UnmarshalActions

func (fake *Validator) UnmarshalActions(arg1 []byte) ([]interface{}, error)

func (*Validator) UnmarshalActionsArgsForCall

func (fake *Validator) UnmarshalActionsArgsForCall(i int) []byte

func (*Validator) UnmarshalActionsCallCount

func (fake *Validator) UnmarshalActionsCallCount() int

func (*Validator) UnmarshalActionsCalls

func (fake *Validator) UnmarshalActionsCalls(stub func([]byte) ([]interface{}, error))

func (*Validator) UnmarshalActionsReturns

func (fake *Validator) UnmarshalActionsReturns(result1 []interface{}, result2 error)

func (*Validator) UnmarshalActionsReturnsOnCall

func (fake *Validator) UnmarshalActionsReturnsOnCall(i int, result1 []interface{}, result2 error)

func (*Validator) VerifyTokenRequestFromRaw

func (fake *Validator) VerifyTokenRequestFromRaw(arg1 context.Context, arg2 driver.GetStateFnc, arg3 driver.TokenRequestAnchor, arg4 []byte) ([]interface{}, driver.ValidationAttributes, error)

func (*Validator) VerifyTokenRequestFromRawArgsForCall

func (fake *Validator) VerifyTokenRequestFromRawArgsForCall(i int) (context.Context, driver.GetStateFnc, driver.TokenRequestAnchor, []byte)

func (*Validator) VerifyTokenRequestFromRawCallCount

func (fake *Validator) VerifyTokenRequestFromRawCallCount() int

func (*Validator) VerifyTokenRequestFromRawCalls

func (fake *Validator) VerifyTokenRequestFromRawCalls(stub func(context.Context, driver.GetStateFnc, driver.TokenRequestAnchor, []byte) ([]interface{}, driver.ValidationAttributes, error))

func (*Validator) VerifyTokenRequestFromRawReturns

func (fake *Validator) VerifyTokenRequestFromRawReturns(result1 []interface{}, result2 driver.ValidationAttributes, result3 error)

func (*Validator) VerifyTokenRequestFromRawReturnsOnCall

func (fake *Validator) VerifyTokenRequestFromRawReturnsOnCall(i int, result1 []interface{}, result2 driver.ValidationAttributes, result3 error)

type ValidatorLedger

type ValidatorLedger struct {
	GetStateStub func(token.ID) ([]byte, error)
	// contains filtered or unexported fields
}

func (*ValidatorLedger) GetState

func (fake *ValidatorLedger) GetState(arg1 token.ID) ([]byte, error)

func (*ValidatorLedger) GetStateArgsForCall

func (fake *ValidatorLedger) GetStateArgsForCall(i int) token.ID

func (*ValidatorLedger) GetStateCallCount

func (fake *ValidatorLedger) GetStateCallCount() int

func (*ValidatorLedger) GetStateCalls

func (fake *ValidatorLedger) GetStateCalls(stub func(token.ID) ([]byte, error))

func (*ValidatorLedger) GetStateReturns

func (fake *ValidatorLedger) GetStateReturns(result1 []byte, result2 error)

func (*ValidatorLedger) GetStateReturnsOnCall

func (fake *ValidatorLedger) GetStateReturnsOnCall(i int, result1 []byte, result2 error)

func (*ValidatorLedger) Invocations

func (fake *ValidatorLedger) Invocations() map[string][][]interface{}

type Vault added in v0.7.0

type Vault struct {
	CertificationStorageStub func() driver.CertificationStorage

	QueryEngineStub func() driver.QueryEngine
	// contains filtered or unexported fields
}

func (*Vault) CertificationStorage added in v0.7.0

func (fake *Vault) CertificationStorage() driver.CertificationStorage

func (*Vault) CertificationStorageCallCount added in v0.7.0

func (fake *Vault) CertificationStorageCallCount() int

func (*Vault) CertificationStorageCalls added in v0.7.0

func (fake *Vault) CertificationStorageCalls(stub func() driver.CertificationStorage)

func (*Vault) CertificationStorageReturns added in v0.7.0

func (fake *Vault) CertificationStorageReturns(result1 driver.CertificationStorage)

func (*Vault) CertificationStorageReturnsOnCall added in v0.7.0

func (fake *Vault) CertificationStorageReturnsOnCall(i int, result1 driver.CertificationStorage)

func (*Vault) Invocations added in v0.7.0

func (fake *Vault) Invocations() map[string][][]interface{}

func (*Vault) QueryEngine added in v0.7.0

func (fake *Vault) QueryEngine() driver.QueryEngine

func (*Vault) QueryEngineCallCount added in v0.7.0

func (fake *Vault) QueryEngineCallCount() int

func (*Vault) QueryEngineCalls added in v0.7.0

func (fake *Vault) QueryEngineCalls(stub func() driver.QueryEngine)

func (*Vault) QueryEngineReturns added in v0.7.0

func (fake *Vault) QueryEngineReturns(result1 driver.QueryEngine)

func (*Vault) QueryEngineReturnsOnCall added in v0.7.0

func (fake *Vault) QueryEngineReturnsOnCall(i int, result1 driver.QueryEngine)

type Verifier

type Verifier struct {
	VerifyStub func([]byte, []byte) error
	// contains filtered or unexported fields
}

func (*Verifier) Invocations

func (fake *Verifier) Invocations() map[string][][]interface{}

func (*Verifier) Verify

func (fake *Verifier) Verify(arg1 []byte, arg2 []byte) error

func (*Verifier) VerifyArgsForCall

func (fake *Verifier) VerifyArgsForCall(i int) ([]byte, []byte)

func (*Verifier) VerifyCallCount

func (fake *Verifier) VerifyCallCount() int

func (*Verifier) VerifyCalls

func (fake *Verifier) VerifyCalls(stub func([]byte, []byte) error)

func (*Verifier) VerifyReturns

func (fake *Verifier) VerifyReturns(result1 error)

func (*Verifier) VerifyReturnsOnCall

func (fake *Verifier) VerifyReturnsOnCall(i int, result1 error)

type WalletService

type WalletService struct {
	AuditorWalletStub func(context.Context, driver.WalletLookupID) (driver.AuditorWallet, error)

	CertifierWalletStub func(context.Context, driver.WalletLookupID) (driver.CertifierWallet, error)

	GetAuditInfoStub func(context.Context, driver.Identity) ([]byte, error)

	GetEIDAndRHStub func(context.Context, driver.Identity, []byte) (string, string, error)

	GetEnrollmentIDStub func(context.Context, driver.Identity, []byte) (string, error)

	GetRevocationHandleStub func(context.Context, driver.Identity, []byte) (string, error)

	IssuerWalletStub func(context.Context, driver.WalletLookupID) (driver.IssuerWallet, error)

	OwnerWalletStub func(context.Context, driver.WalletLookupID) (driver.OwnerWallet, error)

	OwnerWalletIDsStub func(context.Context) ([]string, error)

	RegisterIssuerIdentityStub func(context.Context, driver.IdentityConfiguration) error

	RegisterOwnerIdentityStub func(context.Context, driver.IdentityConfiguration) error

	RegisterRecipientIdentityStub func(context.Context, *driver.RecipientData) error

	SpendIDsStub func(...*token.ID) ([]string, error)

	WalletStub func(context.Context, driver.Identity) driver.Wallet
	// contains filtered or unexported fields
}

func (*WalletService) AuditorWallet

func (fake *WalletService) AuditorWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.AuditorWallet, error)

func (*WalletService) AuditorWalletArgsForCall

func (fake *WalletService) AuditorWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) AuditorWalletCallCount

func (fake *WalletService) AuditorWalletCallCount() int

func (*WalletService) AuditorWalletCalls

func (fake *WalletService) AuditorWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.AuditorWallet, error))

func (*WalletService) AuditorWalletReturns

func (fake *WalletService) AuditorWalletReturns(result1 driver.AuditorWallet, result2 error)

func (*WalletService) AuditorWalletReturnsOnCall

func (fake *WalletService) AuditorWalletReturnsOnCall(i int, result1 driver.AuditorWallet, result2 error)

func (*WalletService) CertifierWallet

func (fake *WalletService) CertifierWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.CertifierWallet, error)

func (*WalletService) CertifierWalletArgsForCall

func (fake *WalletService) CertifierWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) CertifierWalletCallCount

func (fake *WalletService) CertifierWalletCallCount() int

func (*WalletService) CertifierWalletCalls

func (fake *WalletService) CertifierWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.CertifierWallet, error))

func (*WalletService) CertifierWalletReturns

func (fake *WalletService) CertifierWalletReturns(result1 driver.CertifierWallet, result2 error)

func (*WalletService) CertifierWalletReturnsOnCall

func (fake *WalletService) CertifierWalletReturnsOnCall(i int, result1 driver.CertifierWallet, result2 error)

func (*WalletService) GetAuditInfo

func (fake *WalletService) GetAuditInfo(arg1 context.Context, arg2 driver.Identity) ([]byte, error)

func (*WalletService) GetAuditInfoArgsForCall

func (fake *WalletService) GetAuditInfoArgsForCall(i int) (context.Context, driver.Identity)

func (*WalletService) GetAuditInfoCallCount

func (fake *WalletService) GetAuditInfoCallCount() int

func (*WalletService) GetAuditInfoCalls

func (fake *WalletService) GetAuditInfoCalls(stub func(context.Context, driver.Identity) ([]byte, error))

func (*WalletService) GetAuditInfoReturns

func (fake *WalletService) GetAuditInfoReturns(result1 []byte, result2 error)

func (*WalletService) GetAuditInfoReturnsOnCall

func (fake *WalletService) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)

func (*WalletService) GetEIDAndRH

func (fake *WalletService) GetEIDAndRH(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, string, error)

func (*WalletService) GetEIDAndRHArgsForCall

func (fake *WalletService) GetEIDAndRHArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*WalletService) GetEIDAndRHCallCount

func (fake *WalletService) GetEIDAndRHCallCount() int

func (*WalletService) GetEIDAndRHCalls

func (fake *WalletService) GetEIDAndRHCalls(stub func(context.Context, driver.Identity, []byte) (string, string, error))

func (*WalletService) GetEIDAndRHReturns

func (fake *WalletService) GetEIDAndRHReturns(result1 string, result2 string, result3 error)

func (*WalletService) GetEIDAndRHReturnsOnCall

func (fake *WalletService) GetEIDAndRHReturnsOnCall(i int, result1 string, result2 string, result3 error)

func (*WalletService) GetEnrollmentID

func (fake *WalletService) GetEnrollmentID(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*WalletService) GetEnrollmentIDArgsForCall

func (fake *WalletService) GetEnrollmentIDArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*WalletService) GetEnrollmentIDCallCount

func (fake *WalletService) GetEnrollmentIDCallCount() int

func (*WalletService) GetEnrollmentIDCalls

func (fake *WalletService) GetEnrollmentIDCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*WalletService) GetEnrollmentIDReturns

func (fake *WalletService) GetEnrollmentIDReturns(result1 string, result2 error)

func (*WalletService) GetEnrollmentIDReturnsOnCall

func (fake *WalletService) GetEnrollmentIDReturnsOnCall(i int, result1 string, result2 error)

func (*WalletService) GetRevocationHandle

func (fake *WalletService) GetRevocationHandle(arg1 context.Context, arg2 driver.Identity, arg3 []byte) (string, error)

func (*WalletService) GetRevocationHandleArgsForCall

func (fake *WalletService) GetRevocationHandleArgsForCall(i int) (context.Context, driver.Identity, []byte)

func (*WalletService) GetRevocationHandleCallCount

func (fake *WalletService) GetRevocationHandleCallCount() int

func (*WalletService) GetRevocationHandleCalls

func (fake *WalletService) GetRevocationHandleCalls(stub func(context.Context, driver.Identity, []byte) (string, error))

func (*WalletService) GetRevocationHandleReturns

func (fake *WalletService) GetRevocationHandleReturns(result1 string, result2 error)

func (*WalletService) GetRevocationHandleReturnsOnCall

func (fake *WalletService) GetRevocationHandleReturnsOnCall(i int, result1 string, result2 error)

func (*WalletService) Invocations

func (fake *WalletService) Invocations() map[string][][]interface{}

func (*WalletService) IssuerWallet

func (fake *WalletService) IssuerWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.IssuerWallet, error)

func (*WalletService) IssuerWalletArgsForCall

func (fake *WalletService) IssuerWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) IssuerWalletCallCount

func (fake *WalletService) IssuerWalletCallCount() int

func (*WalletService) IssuerWalletCalls

func (fake *WalletService) IssuerWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.IssuerWallet, error))

func (*WalletService) IssuerWalletReturns

func (fake *WalletService) IssuerWalletReturns(result1 driver.IssuerWallet, result2 error)

func (*WalletService) IssuerWalletReturnsOnCall

func (fake *WalletService) IssuerWalletReturnsOnCall(i int, result1 driver.IssuerWallet, result2 error)

func (*WalletService) OwnerWallet

func (fake *WalletService) OwnerWallet(arg1 context.Context, arg2 driver.WalletLookupID) (driver.OwnerWallet, error)

func (*WalletService) OwnerWalletArgsForCall

func (fake *WalletService) OwnerWalletArgsForCall(i int) (context.Context, driver.WalletLookupID)

func (*WalletService) OwnerWalletCallCount

func (fake *WalletService) OwnerWalletCallCount() int

func (*WalletService) OwnerWalletCalls

func (fake *WalletService) OwnerWalletCalls(stub func(context.Context, driver.WalletLookupID) (driver.OwnerWallet, error))

func (*WalletService) OwnerWalletIDs

func (fake *WalletService) OwnerWalletIDs(arg1 context.Context) ([]string, error)

func (*WalletService) OwnerWalletIDsArgsForCall added in v0.5.0

func (fake *WalletService) OwnerWalletIDsArgsForCall(i int) context.Context

func (*WalletService) OwnerWalletIDsCallCount

func (fake *WalletService) OwnerWalletIDsCallCount() int

func (*WalletService) OwnerWalletIDsCalls

func (fake *WalletService) OwnerWalletIDsCalls(stub func(context.Context) ([]string, error))

func (*WalletService) OwnerWalletIDsReturns

func (fake *WalletService) OwnerWalletIDsReturns(result1 []string, result2 error)

func (*WalletService) OwnerWalletIDsReturnsOnCall

func (fake *WalletService) OwnerWalletIDsReturnsOnCall(i int, result1 []string, result2 error)

func (*WalletService) OwnerWalletReturns

func (fake *WalletService) OwnerWalletReturns(result1 driver.OwnerWallet, result2 error)

func (*WalletService) OwnerWalletReturnsOnCall

func (fake *WalletService) OwnerWalletReturnsOnCall(i int, result1 driver.OwnerWallet, result2 error)

func (*WalletService) RegisterIssuerIdentity

func (fake *WalletService) RegisterIssuerIdentity(arg1 context.Context, arg2 driver.IdentityConfiguration) error

func (*WalletService) RegisterIssuerIdentityArgsForCall

func (fake *WalletService) RegisterIssuerIdentityArgsForCall(i int) (context.Context, driver.IdentityConfiguration)

func (*WalletService) RegisterIssuerIdentityCallCount

func (fake *WalletService) RegisterIssuerIdentityCallCount() int

func (*WalletService) RegisterIssuerIdentityCalls

func (fake *WalletService) RegisterIssuerIdentityCalls(stub func(context.Context, driver.IdentityConfiguration) error)

func (*WalletService) RegisterIssuerIdentityReturns

func (fake *WalletService) RegisterIssuerIdentityReturns(result1 error)

func (*WalletService) RegisterIssuerIdentityReturnsOnCall

func (fake *WalletService) RegisterIssuerIdentityReturnsOnCall(i int, result1 error)

func (*WalletService) RegisterOwnerIdentity

func (fake *WalletService) RegisterOwnerIdentity(arg1 context.Context, arg2 driver.IdentityConfiguration) error

func (*WalletService) RegisterOwnerIdentityArgsForCall

func (fake *WalletService) RegisterOwnerIdentityArgsForCall(i int) (context.Context, driver.IdentityConfiguration)

func (*WalletService) RegisterOwnerIdentityCallCount

func (fake *WalletService) RegisterOwnerIdentityCallCount() int

func (*WalletService) RegisterOwnerIdentityCalls

func (fake *WalletService) RegisterOwnerIdentityCalls(stub func(context.Context, driver.IdentityConfiguration) error)

func (*WalletService) RegisterOwnerIdentityReturns

func (fake *WalletService) RegisterOwnerIdentityReturns(result1 error)

func (*WalletService) RegisterOwnerIdentityReturnsOnCall

func (fake *WalletService) RegisterOwnerIdentityReturnsOnCall(i int, result1 error)

func (*WalletService) RegisterRecipientIdentity

func (fake *WalletService) RegisterRecipientIdentity(arg1 context.Context, arg2 *driver.RecipientData) error

func (*WalletService) RegisterRecipientIdentityArgsForCall

func (fake *WalletService) RegisterRecipientIdentityArgsForCall(i int) (context.Context, *driver.RecipientData)

func (*WalletService) RegisterRecipientIdentityCallCount

func (fake *WalletService) RegisterRecipientIdentityCallCount() int

func (*WalletService) RegisterRecipientIdentityCalls

func (fake *WalletService) RegisterRecipientIdentityCalls(stub func(context.Context, *driver.RecipientData) error)

func (*WalletService) RegisterRecipientIdentityReturns

func (fake *WalletService) RegisterRecipientIdentityReturns(result1 error)

func (*WalletService) RegisterRecipientIdentityReturnsOnCall

func (fake *WalletService) RegisterRecipientIdentityReturnsOnCall(i int, result1 error)

func (*WalletService) SpendIDs added in v0.5.0

func (fake *WalletService) SpendIDs(arg1 ...*token.ID) ([]string, error)

func (*WalletService) SpendIDsArgsForCall added in v0.5.0

func (fake *WalletService) SpendIDsArgsForCall(i int) []*token.ID

func (*WalletService) SpendIDsCallCount added in v0.5.0

func (fake *WalletService) SpendIDsCallCount() int

func (*WalletService) SpendIDsCalls added in v0.5.0

func (fake *WalletService) SpendIDsCalls(stub func(...*token.ID) ([]string, error))

func (*WalletService) SpendIDsReturns added in v0.5.0

func (fake *WalletService) SpendIDsReturns(result1 []string, result2 error)

func (*WalletService) SpendIDsReturnsOnCall added in v0.5.0

func (fake *WalletService) SpendIDsReturnsOnCall(i int, result1 []string, result2 error)

func (*WalletService) Wallet

func (fake *WalletService) Wallet(arg1 context.Context, arg2 driver.Identity) driver.Wallet

func (*WalletService) WalletArgsForCall

func (fake *WalletService) WalletArgsForCall(i int) (context.Context, driver.Identity)

func (*WalletService) WalletCallCount

func (fake *WalletService) WalletCallCount() int

func (*WalletService) WalletCalls

func (fake *WalletService) WalletCalls(stub func(context.Context, driver.Identity) driver.Wallet)

func (*WalletService) WalletReturns

func (fake *WalletService) WalletReturns(result1 driver.Wallet)

func (*WalletService) WalletReturnsOnCall

func (fake *WalletService) WalletReturnsOnCall(i int, result1 driver.Wallet)

Jump to

Keyboard shortcuts

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