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.
Index ¶
- type CertificationClient
- func (fake *CertificationClient) Invocations() map[string][][]interface{}
- func (fake *CertificationClient) IsCertified(arg1 *token.ID) bool
- func (fake *CertificationClient) IsCertifiedArgsForCall(i int) *token.ID
- func (fake *CertificationClient) IsCertifiedCallCount() int
- func (fake *CertificationClient) IsCertifiedCalls(stub func(*token.ID) bool)
- func (fake *CertificationClient) IsCertifiedReturns(result1 bool)
- func (fake *CertificationClient) IsCertifiedReturnsOnCall(i int, result1 bool)
- func (fake *CertificationClient) RequestCertification(arg1 ...*token.ID) error
- func (fake *CertificationClient) RequestCertificationArgsForCall(i int) []*token.ID
- func (fake *CertificationClient) RequestCertificationCallCount() int
- func (fake *CertificationClient) RequestCertificationCalls(stub func(...*token.ID) error)
- func (fake *CertificationClient) RequestCertificationReturns(result1 error)
- func (fake *CertificationClient) RequestCertificationReturnsOnCall(i int, result1 error)
- type CertificationService
- func (fake *CertificationService) Certify(arg1 driver.CertifierWallet, arg2 []*token.ID, arg3 [][]byte, arg4 []byte) ([][]byte, error)
- func (fake *CertificationService) CertifyArgsForCall(i int) (driver.CertifierWallet, []*token.ID, [][]byte, []byte)
- func (fake *CertificationService) CertifyCallCount() int
- func (fake *CertificationService) CertifyCalls(...)
- func (fake *CertificationService) CertifyReturns(result1 [][]byte, result2 error)
- func (fake *CertificationService) CertifyReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *CertificationService) Invocations() map[string][][]interface{}
- func (fake *CertificationService) NewCertificationRequest(arg1 []*token.ID) ([]byte, error)
- func (fake *CertificationService) NewCertificationRequestArgsForCall(i int) []*token.ID
- func (fake *CertificationService) NewCertificationRequestCallCount() int
- func (fake *CertificationService) NewCertificationRequestCalls(stub func([]*token.ID) ([]byte, error))
- func (fake *CertificationService) NewCertificationRequestReturns(result1 []byte, result2 error)
- func (fake *CertificationService) NewCertificationRequestReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *CertificationService) VerifyCertifications(arg1 []*token.ID, arg2 [][]byte) ([][]byte, error)
- func (fake *CertificationService) VerifyCertificationsArgsForCall(i int) ([]*token.ID, [][]byte)
- func (fake *CertificationService) VerifyCertificationsCallCount() int
- func (fake *CertificationService) VerifyCertificationsCalls(stub func([]*token.ID, [][]byte) ([][]byte, error))
- func (fake *CertificationService) VerifyCertificationsReturns(result1 [][]byte, result2 error)
- func (fake *CertificationService) VerifyCertificationsReturnsOnCall(i int, result1 [][]byte, result2 error)
- type CertificationStorage
- func (fake *CertificationStorage) Exists(arg1 *token.ID) bool
- func (fake *CertificationStorage) ExistsArgsForCall(i int) *token.ID
- func (fake *CertificationStorage) ExistsCallCount() int
- func (fake *CertificationStorage) ExistsCalls(stub func(*token.ID) bool)
- func (fake *CertificationStorage) ExistsReturns(result1 bool)
- func (fake *CertificationStorage) ExistsReturnsOnCall(i int, result1 bool)
- func (fake *CertificationStorage) Invocations() map[string][][]interface{}
- func (fake *CertificationStorage) Store(arg1 map[*token.ID][]byte) error
- func (fake *CertificationStorage) StoreArgsForCall(i int) map[*token.ID][]byte
- func (fake *CertificationStorage) StoreCallCount() int
- func (fake *CertificationStorage) StoreCalls(stub func(map[*token.ID][]byte) error)
- func (fake *CertificationStorage) StoreReturns(result1 error)
- func (fake *CertificationStorage) StoreReturnsOnCall(i int, result1 error)
- type Deserializer
- func (fake *Deserializer) GetAuditorVerifier(arg1 view.Identity) (driver.Verifier, error)
- func (fake *Deserializer) GetAuditorVerifierArgsForCall(i int) view.Identity
- func (fake *Deserializer) GetAuditorVerifierCallCount() int
- func (fake *Deserializer) GetAuditorVerifierCalls(stub func(view.Identity) (driver.Verifier, error))
- func (fake *Deserializer) GetAuditorVerifierReturns(result1 driver.Verifier, result2 error)
- func (fake *Deserializer) GetAuditorVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)
- func (fake *Deserializer) GetIssuerVerifier(arg1 view.Identity) (driver.Verifier, error)
- func (fake *Deserializer) GetIssuerVerifierArgsForCall(i int) view.Identity
- func (fake *Deserializer) GetIssuerVerifierCallCount() int
- func (fake *Deserializer) GetIssuerVerifierCalls(stub func(view.Identity) (driver.Verifier, error))
- func (fake *Deserializer) GetIssuerVerifierReturns(result1 driver.Verifier, result2 error)
- func (fake *Deserializer) GetIssuerVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)
- func (fake *Deserializer) GetOwnerAuditInfo(arg1 view.Identity, arg2 driver.AuditInfoProvider) ([][]byte, error)
- func (fake *Deserializer) GetOwnerAuditInfoArgsForCall(i int) (view.Identity, driver.AuditInfoProvider)
- func (fake *Deserializer) GetOwnerAuditInfoCallCount() int
- func (fake *Deserializer) GetOwnerAuditInfoCalls(stub func(view.Identity, driver.AuditInfoProvider) ([][]byte, error))
- func (fake *Deserializer) GetOwnerAuditInfoReturns(result1 [][]byte, result2 error)
- func (fake *Deserializer) GetOwnerAuditInfoReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *Deserializer) GetOwnerMatcher(arg1 []byte) (driver.Matcher, error)
- func (fake *Deserializer) GetOwnerMatcherArgsForCall(i int) []byte
- func (fake *Deserializer) GetOwnerMatcherCallCount() int
- func (fake *Deserializer) GetOwnerMatcherCalls(stub func([]byte) (driver.Matcher, error))
- func (fake *Deserializer) GetOwnerMatcherReturns(result1 driver.Matcher, result2 error)
- func (fake *Deserializer) GetOwnerMatcherReturnsOnCall(i int, result1 driver.Matcher, result2 error)
- func (fake *Deserializer) GetOwnerVerifier(arg1 view.Identity) (driver.Verifier, error)
- func (fake *Deserializer) GetOwnerVerifierArgsForCall(i int) view.Identity
- func (fake *Deserializer) GetOwnerVerifierCallCount() int
- func (fake *Deserializer) GetOwnerVerifierCalls(stub func(view.Identity) (driver.Verifier, error))
- func (fake *Deserializer) GetOwnerVerifierReturns(result1 driver.Verifier, result2 error)
- func (fake *Deserializer) GetOwnerVerifierReturnsOnCall(i int, result1 driver.Verifier, result2 error)
- func (fake *Deserializer) Invocations() map[string][][]interface{}
- func (fake *Deserializer) MatchOwnerIdentity(arg1 view.Identity, arg2 []byte) error
- func (fake *Deserializer) MatchOwnerIdentityArgsForCall(i int) (view.Identity, []byte)
- func (fake *Deserializer) MatchOwnerIdentityCallCount() int
- func (fake *Deserializer) MatchOwnerIdentityCalls(stub func(view.Identity, []byte) error)
- func (fake *Deserializer) MatchOwnerIdentityReturns(result1 error)
- func (fake *Deserializer) MatchOwnerIdentityReturnsOnCall(i int, result1 error)
- func (fake *Deserializer) Recipients(arg1 view.Identity) ([]view.Identity, error)
- func (fake *Deserializer) RecipientsArgsForCall(i int) view.Identity
- func (fake *Deserializer) RecipientsCallCount() int
- func (fake *Deserializer) RecipientsCalls(stub func(view.Identity) ([]view.Identity, error))
- func (fake *Deserializer) RecipientsReturns(result1 []view.Identity, result2 error)
- func (fake *Deserializer) RecipientsReturnsOnCall(i int, result1 []view.Identity, result2 error)
- type IdentityProvider
- func (fake *IdentityProvider) Bind(arg1 view.Identity, arg2 view.Identity, arg3 bool) error
- func (fake *IdentityProvider) BindArgsForCall(i int) (view.Identity, view.Identity, bool)
- func (fake *IdentityProvider) BindCallCount() int
- func (fake *IdentityProvider) BindCalls(stub func(view.Identity, view.Identity, bool) error)
- func (fake *IdentityProvider) BindReturns(result1 error)
- func (fake *IdentityProvider) BindReturnsOnCall(i int, result1 error)
- func (fake *IdentityProvider) GetAuditInfo(arg1 view.Identity) ([]byte, error)
- func (fake *IdentityProvider) GetAuditInfoArgsForCall(i int) view.Identity
- func (fake *IdentityProvider) GetAuditInfoCallCount() int
- func (fake *IdentityProvider) GetAuditInfoCalls(stub func(view.Identity) ([]byte, error))
- func (fake *IdentityProvider) GetAuditInfoReturns(result1 []byte, result2 error)
- func (fake *IdentityProvider) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *IdentityProvider) GetEIDAndRH(arg1 view.Identity, arg2 []byte) (string, string, error)
- func (fake *IdentityProvider) GetEIDAndRHArgsForCall(i int) (view.Identity, []byte)
- func (fake *IdentityProvider) GetEIDAndRHCallCount() int
- func (fake *IdentityProvider) GetEIDAndRHCalls(stub func(view.Identity, []byte) (string, string, error))
- func (fake *IdentityProvider) GetEIDAndRHReturns(result1 string, result2 string, result3 error)
- func (fake *IdentityProvider) GetEIDAndRHReturnsOnCall(i int, result1 string, result2 string, result3 error)
- func (fake *IdentityProvider) GetEnrollmentID(arg1 view.Identity, arg2 []byte) (string, error)
- func (fake *IdentityProvider) GetEnrollmentIDArgsForCall(i int) (view.Identity, []byte)
- func (fake *IdentityProvider) GetEnrollmentIDCallCount() int
- func (fake *IdentityProvider) GetEnrollmentIDCalls(stub func(view.Identity, []byte) (string, error))
- func (fake *IdentityProvider) GetEnrollmentIDReturns(result1 string, result2 error)
- func (fake *IdentityProvider) GetEnrollmentIDReturnsOnCall(i int, result1 string, result2 error)
- func (fake *IdentityProvider) GetRevocationHandler(arg1 view.Identity, arg2 []byte) (string, error)
- func (fake *IdentityProvider) GetRevocationHandlerArgsForCall(i int) (view.Identity, []byte)
- func (fake *IdentityProvider) GetRevocationHandlerCallCount() int
- func (fake *IdentityProvider) GetRevocationHandlerCalls(stub func(view.Identity, []byte) (string, error))
- func (fake *IdentityProvider) GetRevocationHandlerReturns(result1 string, result2 error)
- func (fake *IdentityProvider) GetRevocationHandlerReturnsOnCall(i int, result1 string, result2 error)
- func (fake *IdentityProvider) GetSigner(arg1 view.Identity) (driver.Signer, error)
- func (fake *IdentityProvider) GetSignerArgsForCall(i int) view.Identity
- func (fake *IdentityProvider) GetSignerCallCount() int
- func (fake *IdentityProvider) GetSignerCalls(stub func(view.Identity) (driver.Signer, error))
- func (fake *IdentityProvider) GetSignerReturns(result1 driver.Signer, result2 error)
- func (fake *IdentityProvider) GetSignerReturnsOnCall(i int, result1 driver.Signer, result2 error)
- func (fake *IdentityProvider) Invocations() map[string][][]interface{}
- func (fake *IdentityProvider) IsMe(arg1 view.Identity) bool
- func (fake *IdentityProvider) IsMeArgsForCall(i int) view.Identity
- func (fake *IdentityProvider) IsMeCallCount() int
- func (fake *IdentityProvider) IsMeCalls(stub func(view.Identity) bool)
- func (fake *IdentityProvider) IsMeReturns(result1 bool)
- func (fake *IdentityProvider) IsMeReturnsOnCall(i int, result1 bool)
- func (fake *IdentityProvider) RegisterRecipientData(arg1 *driver.RecipientData) error
- func (fake *IdentityProvider) RegisterRecipientDataArgsForCall(i int) *driver.RecipientData
- func (fake *IdentityProvider) RegisterRecipientDataCallCount() int
- func (fake *IdentityProvider) RegisterRecipientDataCalls(stub func(*driver.RecipientData) error)
- func (fake *IdentityProvider) RegisterRecipientDataReturns(result1 error)
- func (fake *IdentityProvider) RegisterRecipientDataReturnsOnCall(i int, result1 error)
- func (fake *IdentityProvider) RegisterRecipientIdentity(arg1 view.Identity) error
- func (fake *IdentityProvider) RegisterRecipientIdentityArgsForCall(i int) view.Identity
- func (fake *IdentityProvider) RegisterRecipientIdentityCallCount() int
- func (fake *IdentityProvider) RegisterRecipientIdentityCalls(stub func(view.Identity) error)
- func (fake *IdentityProvider) RegisterRecipientIdentityReturns(result1 error)
- func (fake *IdentityProvider) RegisterRecipientIdentityReturnsOnCall(i int, result1 error)
- func (fake *IdentityProvider) RegisterSigner(arg1 view.Identity, arg2 driver.Signer, arg3 driver.Verifier, arg4 []byte) error
- func (fake *IdentityProvider) RegisterSignerArgsForCall(i int) (view.Identity, driver.Signer, driver.Verifier, []byte)
- func (fake *IdentityProvider) RegisterSignerCallCount() int
- func (fake *IdentityProvider) RegisterSignerCalls(stub func(view.Identity, driver.Signer, driver.Verifier, []byte) error)
- func (fake *IdentityProvider) RegisterSignerReturns(result1 error)
- func (fake *IdentityProvider) RegisterSignerReturnsOnCall(i int, result1 error)
- func (fake *IdentityProvider) RegisterVerifier(arg1 view.Identity, arg2 driver.Verifier) error
- func (fake *IdentityProvider) RegisterVerifierArgsForCall(i int) (view.Identity, driver.Verifier)
- func (fake *IdentityProvider) RegisterVerifierCallCount() int
- func (fake *IdentityProvider) RegisterVerifierCalls(stub func(view.Identity, driver.Verifier) error)
- func (fake *IdentityProvider) RegisterVerifierReturns(result1 error)
- func (fake *IdentityProvider) RegisterVerifierReturnsOnCall(i int, result1 error)
- type IssueAction
- func (fake *IssueAction) GetIssuer() []byte
- func (fake *IssueAction) GetIssuerCallCount() int
- func (fake *IssueAction) GetIssuerCalls(stub func() []byte)
- func (fake *IssueAction) GetIssuerReturns(result1 []byte)
- func (fake *IssueAction) GetIssuerReturnsOnCall(i int, result1 []byte)
- func (fake *IssueAction) GetMetadata() map[string][]byte
- func (fake *IssueAction) GetMetadataCallCount() int
- func (fake *IssueAction) GetMetadataCalls(stub func() map[string][]byte)
- func (fake *IssueAction) GetMetadataReturns(result1 map[string][]byte)
- func (fake *IssueAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)
- func (fake *IssueAction) GetOutputs() []driver.Output
- func (fake *IssueAction) GetOutputsCallCount() int
- func (fake *IssueAction) GetOutputsCalls(stub func() []driver.Output)
- func (fake *IssueAction) GetOutputsReturns(result1 []driver.Output)
- func (fake *IssueAction) GetOutputsReturnsOnCall(i int, result1 []driver.Output)
- func (fake *IssueAction) GetSerializedOutputs() ([][]byte, error)
- func (fake *IssueAction) GetSerializedOutputsCallCount() int
- func (fake *IssueAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))
- func (fake *IssueAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)
- func (fake *IssueAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *IssueAction) Invocations() map[string][][]interface{}
- func (fake *IssueAction) IsAnonymous() bool
- func (fake *IssueAction) IsAnonymousCallCount() int
- func (fake *IssueAction) IsAnonymousCalls(stub func() bool)
- func (fake *IssueAction) IsAnonymousReturns(result1 bool)
- func (fake *IssueAction) IsAnonymousReturnsOnCall(i int, result1 bool)
- func (fake *IssueAction) IsGraphHiding() bool
- func (fake *IssueAction) IsGraphHidingCallCount() int
- func (fake *IssueAction) IsGraphHidingCalls(stub func() bool)
- func (fake *IssueAction) IsGraphHidingReturns(result1 bool)
- func (fake *IssueAction) IsGraphHidingReturnsOnCall(i int, result1 bool)
- func (fake *IssueAction) NumOutputs() int
- func (fake *IssueAction) NumOutputsCallCount() int
- func (fake *IssueAction) NumOutputsCalls(stub func() int)
- func (fake *IssueAction) NumOutputsReturns(result1 int)
- func (fake *IssueAction) NumOutputsReturnsOnCall(i int, result1 int)
- func (fake *IssueAction) Serialize() ([]byte, error)
- func (fake *IssueAction) SerializeCallCount() int
- func (fake *IssueAction) SerializeCalls(stub func() ([]byte, error))
- func (fake *IssueAction) SerializeReturns(result1 []byte, result2 error)
- func (fake *IssueAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- type PublicParameters
- func (fake *PublicParameters) Auditors() []view.Identity
- func (fake *PublicParameters) AuditorsCallCount() int
- func (fake *PublicParameters) AuditorsCalls(stub func() []view.Identity)
- func (fake *PublicParameters) AuditorsReturns(result1 []view.Identity)
- func (fake *PublicParameters) AuditorsReturnsOnCall(i int, result1 []view.Identity)
- func (fake *PublicParameters) Bytes() ([]byte, error)
- func (fake *PublicParameters) BytesCallCount() int
- func (fake *PublicParameters) BytesCalls(stub func() ([]byte, error))
- func (fake *PublicParameters) BytesReturns(result1 []byte, result2 error)
- func (fake *PublicParameters) BytesReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *PublicParameters) CertificationDriver() string
- func (fake *PublicParameters) CertificationDriverCallCount() int
- func (fake *PublicParameters) CertificationDriverCalls(stub func() string)
- func (fake *PublicParameters) CertificationDriverReturns(result1 string)
- func (fake *PublicParameters) CertificationDriverReturnsOnCall(i int, result1 string)
- func (fake *PublicParameters) GraphHiding() bool
- func (fake *PublicParameters) GraphHidingCallCount() int
- func (fake *PublicParameters) GraphHidingCalls(stub func() bool)
- func (fake *PublicParameters) GraphHidingReturns(result1 bool)
- func (fake *PublicParameters) GraphHidingReturnsOnCall(i int, result1 bool)
- func (fake *PublicParameters) Identifier() string
- func (fake *PublicParameters) IdentifierCallCount() int
- func (fake *PublicParameters) IdentifierCalls(stub func() string)
- func (fake *PublicParameters) IdentifierReturns(result1 string)
- func (fake *PublicParameters) IdentifierReturnsOnCall(i int, result1 string)
- func (fake *PublicParameters) Invocations() map[string][][]interface{}
- func (fake *PublicParameters) MaxTokenValue() uint64
- func (fake *PublicParameters) MaxTokenValueCallCount() int
- func (fake *PublicParameters) MaxTokenValueCalls(stub func() uint64)
- func (fake *PublicParameters) MaxTokenValueReturns(result1 uint64)
- func (fake *PublicParameters) MaxTokenValueReturnsOnCall(i int, result1 uint64)
- func (fake *PublicParameters) Precision() uint64
- func (fake *PublicParameters) PrecisionCallCount() int
- func (fake *PublicParameters) PrecisionCalls(stub func() uint64)
- func (fake *PublicParameters) PrecisionReturns(result1 uint64)
- func (fake *PublicParameters) PrecisionReturnsOnCall(i int, result1 uint64)
- func (fake *PublicParameters) Serialize() ([]byte, error)
- func (fake *PublicParameters) SerializeCallCount() int
- func (fake *PublicParameters) SerializeCalls(stub func() ([]byte, error))
- func (fake *PublicParameters) SerializeReturns(result1 []byte, result2 error)
- func (fake *PublicParameters) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *PublicParameters) String() string
- func (fake *PublicParameters) StringCallCount() int
- func (fake *PublicParameters) StringCalls(stub func() string)
- func (fake *PublicParameters) StringReturns(result1 string)
- func (fake *PublicParameters) StringReturnsOnCall(i int, result1 string)
- func (fake *PublicParameters) TokenDataHiding() bool
- func (fake *PublicParameters) TokenDataHidingCallCount() int
- func (fake *PublicParameters) TokenDataHidingCalls(stub func() bool)
- func (fake *PublicParameters) TokenDataHidingReturns(result1 bool)
- func (fake *PublicParameters) TokenDataHidingReturnsOnCall(i int, result1 bool)
- func (fake *PublicParameters) Validate() error
- func (fake *PublicParameters) ValidateCallCount() int
- func (fake *PublicParameters) ValidateCalls(stub func() error)
- func (fake *PublicParameters) ValidateReturns(result1 error)
- func (fake *PublicParameters) ValidateReturnsOnCall(i int, result1 error)
- type PublicParamsManager
- func (fake *PublicParamsManager) Invocations() map[string][][]interface{}
- func (fake *PublicParamsManager) NewCertifierKeyPair() ([]byte, []byte, error)
- func (fake *PublicParamsManager) NewCertifierKeyPairCallCount() int
- func (fake *PublicParamsManager) NewCertifierKeyPairCalls(stub func() ([]byte, []byte, error))
- func (fake *PublicParamsManager) NewCertifierKeyPairReturns(result1 []byte, result2 []byte, result3 error)
- func (fake *PublicParamsManager) NewCertifierKeyPairReturnsOnCall(i int, result1 []byte, result2 []byte, result3 error)
- func (fake *PublicParamsManager) PublicParameters() driver.PublicParameters
- func (fake *PublicParamsManager) PublicParametersCallCount() int
- func (fake *PublicParamsManager) PublicParametersCalls(stub func() driver.PublicParameters)
- func (fake *PublicParamsManager) PublicParametersReturns(result1 driver.PublicParameters)
- func (fake *PublicParamsManager) PublicParametersReturnsOnCall(i int, result1 driver.PublicParameters)
- func (fake *PublicParamsManager) PublicParamsHash() driver.PPHash
- func (fake *PublicParamsManager) PublicParamsHashCallCount() int
- func (fake *PublicParamsManager) PublicParamsHashCalls(stub func() driver.PPHash)
- func (fake *PublicParamsManager) PublicParamsHashReturns(result1 driver.PPHash)
- func (fake *PublicParamsManager) PublicParamsHashReturnsOnCall(i int, result1 driver.PPHash)
- type QueryEngine
- func (fake *QueryEngine) Balance(arg1 string, arg2 token.Type) (uint64, error)
- func (fake *QueryEngine) BalanceArgsForCall(i int) (string, token.Type)
- func (fake *QueryEngine) BalanceCallCount() int
- func (fake *QueryEngine) BalanceCalls(stub func(string, token.Type) (uint64, error))
- func (fake *QueryEngine) BalanceReturns(result1 uint64, result2 error)
- func (fake *QueryEngine) BalanceReturnsOnCall(i int, result1 uint64, result2 error)
- func (fake *QueryEngine) GetStatus(arg1 string) (int, string, error)
- func (fake *QueryEngine) GetStatusArgsForCall(i int) string
- func (fake *QueryEngine) GetStatusCallCount() int
- func (fake *QueryEngine) GetStatusCalls(stub func(string) (int, string, error))
- func (fake *QueryEngine) GetStatusReturns(result1 int, result2 string, result3 error)
- func (fake *QueryEngine) GetStatusReturnsOnCall(i int, result1 int, result2 string, result3 error)
- func (fake *QueryEngine) GetTokenMetadata(arg1 []*token.ID) ([][]byte, error)
- func (fake *QueryEngine) GetTokenMetadataArgsForCall(i int) []*token.ID
- func (fake *QueryEngine) GetTokenMetadataCallCount() int
- func (fake *QueryEngine) GetTokenMetadataCalls(stub func([]*token.ID) ([][]byte, error))
- func (fake *QueryEngine) GetTokenMetadataReturns(result1 [][]byte, result2 error)
- func (fake *QueryEngine) GetTokenMetadataReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *QueryEngine) GetTokenOutputs(arg1 []*token.ID, arg2 driver.QueryCallbackFunc) error
- func (fake *QueryEngine) GetTokenOutputsAndMeta(arg1 context.Context, arg2 []*token.ID) ([][]byte, [][]byte, []token.Format, error)
- func (fake *QueryEngine) GetTokenOutputsAndMetaArgsForCall(i int) (context.Context, []*token.ID)
- func (fake *QueryEngine) GetTokenOutputsAndMetaCallCount() int
- func (fake *QueryEngine) GetTokenOutputsAndMetaCalls(...)
- func (fake *QueryEngine) GetTokenOutputsAndMetaReturns(result1 [][]byte, result2 [][]byte, result3 []token.Format, result4 error)
- func (fake *QueryEngine) GetTokenOutputsAndMetaReturnsOnCall(i int, result1 [][]byte, result2 [][]byte, result3 []token.Format, ...)
- func (fake *QueryEngine) GetTokenOutputsArgsForCall(i int) ([]*token.ID, driver.QueryCallbackFunc)
- func (fake *QueryEngine) GetTokenOutputsCallCount() int
- func (fake *QueryEngine) GetTokenOutputsCalls(stub func([]*token.ID, driver.QueryCallbackFunc) error)
- func (fake *QueryEngine) GetTokenOutputsReturns(result1 error)
- func (fake *QueryEngine) GetTokenOutputsReturnsOnCall(i int, result1 error)
- func (fake *QueryEngine) GetTokens(arg1 ...*token.ID) ([]*token.Token, error)
- func (fake *QueryEngine) GetTokensArgsForCall(i int) []*token.ID
- func (fake *QueryEngine) GetTokensCallCount() int
- func (fake *QueryEngine) GetTokensCalls(stub func(...*token.ID) ([]*token.Token, error))
- func (fake *QueryEngine) GetTokensReturns(result1 []*token.Token, result2 error)
- func (fake *QueryEngine) GetTokensReturnsOnCall(i int, result1 []*token.Token, result2 error)
- func (fake *QueryEngine) Invocations() map[string][][]interface{}
- func (fake *QueryEngine) IsMine(arg1 *token.ID) (bool, error)
- func (fake *QueryEngine) IsMineArgsForCall(i int) *token.ID
- func (fake *QueryEngine) IsMineCallCount() int
- func (fake *QueryEngine) IsMineCalls(stub func(*token.ID) (bool, error))
- func (fake *QueryEngine) IsMineReturns(result1 bool, result2 error)
- func (fake *QueryEngine) IsMineReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *QueryEngine) IsPending(arg1 *token.ID) (bool, error)
- func (fake *QueryEngine) IsPendingArgsForCall(i int) *token.ID
- func (fake *QueryEngine) IsPendingCallCount() int
- func (fake *QueryEngine) IsPendingCalls(stub func(*token.ID) (bool, error))
- func (fake *QueryEngine) IsPendingReturns(result1 bool, result2 error)
- func (fake *QueryEngine) IsPendingReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *QueryEngine) ListAuditTokens(arg1 ...*token.ID) ([]*token.Token, error)
- func (fake *QueryEngine) ListAuditTokensArgsForCall(i int) []*token.ID
- func (fake *QueryEngine) ListAuditTokensCallCount() int
- func (fake *QueryEngine) ListAuditTokensCalls(stub func(...*token.ID) ([]*token.Token, error))
- func (fake *QueryEngine) ListAuditTokensReturns(result1 []*token.Token, result2 error)
- func (fake *QueryEngine) ListAuditTokensReturnsOnCall(i int, result1 []*token.Token, result2 error)
- func (fake *QueryEngine) ListHistoryIssuedTokens() (*token.IssuedTokens, error)
- func (fake *QueryEngine) ListHistoryIssuedTokensCallCount() int
- func (fake *QueryEngine) ListHistoryIssuedTokensCalls(stub func() (*token.IssuedTokens, error))
- func (fake *QueryEngine) ListHistoryIssuedTokensReturns(result1 *token.IssuedTokens, result2 error)
- func (fake *QueryEngine) ListHistoryIssuedTokensReturnsOnCall(i int, result1 *token.IssuedTokens, result2 error)
- func (fake *QueryEngine) ListUnspentTokens() (*token.UnspentTokens, error)
- func (fake *QueryEngine) ListUnspentTokensCallCount() int
- func (fake *QueryEngine) ListUnspentTokensCalls(stub func() (*token.UnspentTokens, error))
- func (fake *QueryEngine) ListUnspentTokensReturns(result1 *token.UnspentTokens, result2 error)
- func (fake *QueryEngine) ListUnspentTokensReturnsOnCall(i int, result1 *token.UnspentTokens, result2 error)
- func (fake *QueryEngine) PublicParams() ([]byte, error)
- func (fake *QueryEngine) PublicParamsCallCount() int
- func (fake *QueryEngine) PublicParamsCalls(stub func() ([]byte, error))
- func (fake *QueryEngine) PublicParamsReturns(result1 []byte, result2 error)
- func (fake *QueryEngine) PublicParamsReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *QueryEngine) UnspentTokensIterator() (driver.UnspentTokensIterator, error)
- func (fake *QueryEngine) UnspentTokensIteratorBy(arg1 context.Context, arg2 string, arg3 token.Type) (driver.UnspentTokensIterator, error)
- func (fake *QueryEngine) UnspentTokensIteratorByArgsForCall(i int) (context.Context, string, token.Type)
- func (fake *QueryEngine) UnspentTokensIteratorByCallCount() int
- func (fake *QueryEngine) UnspentTokensIteratorByCalls(...)
- func (fake *QueryEngine) UnspentTokensIteratorByReturns(result1 driver.UnspentTokensIterator, result2 error)
- func (fake *QueryEngine) UnspentTokensIteratorByReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)
- func (fake *QueryEngine) UnspentTokensIteratorCallCount() int
- func (fake *QueryEngine) UnspentTokensIteratorCalls(stub func() (driver.UnspentTokensIterator, error))
- func (fake *QueryEngine) UnspentTokensIteratorReturns(result1 driver.UnspentTokensIterator, result2 error)
- func (fake *QueryEngine) UnspentTokensIteratorReturnsOnCall(i int, result1 driver.UnspentTokensIterator, result2 error)
- func (fake *QueryEngine) WhoDeletedTokens(arg1 ...*token.ID) ([]string, []bool, error)
- func (fake *QueryEngine) WhoDeletedTokensArgsForCall(i int) []*token.ID
- func (fake *QueryEngine) WhoDeletedTokensCallCount() int
- func (fake *QueryEngine) WhoDeletedTokensCalls(stub func(...*token.ID) ([]string, []bool, error))
- func (fake *QueryEngine) WhoDeletedTokensReturns(result1 []string, result2 []bool, result3 error)
- func (fake *QueryEngine) WhoDeletedTokensReturnsOnCall(i int, result1 []string, result2 []bool, result3 error)
- type Signer
- func (fake *Signer) Invocations() map[string][][]interface{}
- func (fake *Signer) Sign(arg1 []byte) ([]byte, error)
- func (fake *Signer) SignArgsForCall(i int) []byte
- func (fake *Signer) SignCallCount() int
- func (fake *Signer) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *Signer) SignReturns(result1 []byte, result2 error)
- func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error)
- type TokensService
- func (fake *TokensService) Deobfuscate(arg1 []byte, arg2 []byte) (*token.Token, identity.Identity, token.Format, error)
- func (fake *TokensService) DeobfuscateArgsForCall(i int) ([]byte, []byte)
- func (fake *TokensService) DeobfuscateCallCount() int
- func (fake *TokensService) DeobfuscateCalls(...)
- func (fake *TokensService) DeobfuscateReturns(result1 *token.Token, result2 identity.Identity, result3 token.Format, ...)
- func (fake *TokensService) DeobfuscateReturnsOnCall(i int, result1 *token.Token, result2 identity.Identity, result3 token.Format, ...)
- func (fake *TokensService) ExtractMetadata(arg1 *driver.TokenRequestMetadata, arg2 []byte) ([]byte, error)
- func (fake *TokensService) ExtractMetadataArgsForCall(i int) (*driver.TokenRequestMetadata, []byte)
- func (fake *TokensService) ExtractMetadataCallCount() int
- func (fake *TokensService) ExtractMetadataCalls(stub func(*driver.TokenRequestMetadata, []byte) ([]byte, error))
- func (fake *TokensService) ExtractMetadataReturns(result1 []byte, result2 error)
- func (fake *TokensService) ExtractMetadataReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TokensService) Invocations() map[string][][]interface{}
- func (fake *TokensService) SupportedTokenFormats() []token.Format
- func (fake *TokensService) SupportedTokenFormatsCallCount() int
- func (fake *TokensService) SupportedTokenFormatsCalls(stub func() []token.Format)
- func (fake *TokensService) SupportedTokenFormatsReturns(result1 []token.Format)
- func (fake *TokensService) SupportedTokenFormatsReturnsOnCall(i int, result1 []token.Format)
- type TransferAction
- func (fake *TransferAction) GetInputs() []*token.ID
- func (fake *TransferAction) GetInputsCallCount() int
- func (fake *TransferAction) GetInputsCalls(stub func() []*token.ID)
- func (fake *TransferAction) GetInputsReturns(result1 []*token.ID)
- func (fake *TransferAction) GetInputsReturnsOnCall(i int, result1 []*token.ID)
- func (fake *TransferAction) GetMetadata() map[string][]byte
- func (fake *TransferAction) GetMetadataCallCount() int
- func (fake *TransferAction) GetMetadataCalls(stub func() map[string][]byte)
- func (fake *TransferAction) GetMetadataReturns(result1 map[string][]byte)
- func (fake *TransferAction) GetMetadataReturnsOnCall(i int, result1 map[string][]byte)
- func (fake *TransferAction) GetOutputs() []driver.Output
- func (fake *TransferAction) GetOutputsCallCount() int
- func (fake *TransferAction) GetOutputsCalls(stub func() []driver.Output)
- func (fake *TransferAction) GetOutputsReturns(result1 []driver.Output)
- func (fake *TransferAction) GetOutputsReturnsOnCall(i int, result1 []driver.Output)
- func (fake *TransferAction) GetSerialNumbers() []string
- func (fake *TransferAction) GetSerialNumbersCallCount() int
- func (fake *TransferAction) GetSerialNumbersCalls(stub func() []string)
- func (fake *TransferAction) GetSerialNumbersReturns(result1 []string)
- func (fake *TransferAction) GetSerialNumbersReturnsOnCall(i int, result1 []string)
- func (fake *TransferAction) GetSerializedInputs() ([][]byte, error)
- func (fake *TransferAction) GetSerializedInputsCallCount() int
- func (fake *TransferAction) GetSerializedInputsCalls(stub func() ([][]byte, error))
- func (fake *TransferAction) GetSerializedInputsReturns(result1 [][]byte, result2 error)
- func (fake *TransferAction) GetSerializedInputsReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TransferAction) GetSerializedOutputs() ([][]byte, error)
- func (fake *TransferAction) GetSerializedOutputsCallCount() int
- func (fake *TransferAction) GetSerializedOutputsCalls(stub func() ([][]byte, error))
- func (fake *TransferAction) GetSerializedOutputsReturns(result1 [][]byte, result2 error)
- func (fake *TransferAction) GetSerializedOutputsReturnsOnCall(i int, result1 [][]byte, result2 error)
- func (fake *TransferAction) Invocations() map[string][][]interface{}
- func (fake *TransferAction) IsGraphHiding() bool
- func (fake *TransferAction) IsGraphHidingCallCount() int
- func (fake *TransferAction) IsGraphHidingCalls(stub func() bool)
- func (fake *TransferAction) IsGraphHidingReturns(result1 bool)
- func (fake *TransferAction) IsGraphHidingReturnsOnCall(i int, result1 bool)
- func (fake *TransferAction) IsRedeemAt(arg1 int) bool
- func (fake *TransferAction) IsRedeemAtArgsForCall(i int) int
- func (fake *TransferAction) IsRedeemAtCallCount() int
- func (fake *TransferAction) IsRedeemAtCalls(stub func(int) bool)
- func (fake *TransferAction) IsRedeemAtReturns(result1 bool)
- func (fake *TransferAction) IsRedeemAtReturnsOnCall(i int, result1 bool)
- func (fake *TransferAction) NumOutputs() int
- func (fake *TransferAction) NumOutputsCallCount() int
- func (fake *TransferAction) NumOutputsCalls(stub func() int)
- func (fake *TransferAction) NumOutputsReturns(result1 int)
- func (fake *TransferAction) NumOutputsReturnsOnCall(i int, result1 int)
- func (fake *TransferAction) Serialize() ([]byte, error)
- func (fake *TransferAction) SerializeCallCount() int
- func (fake *TransferAction) SerializeCalls(stub func() ([]byte, error))
- func (fake *TransferAction) SerializeOutputAt(arg1 int) ([]byte, error)
- func (fake *TransferAction) SerializeOutputAtArgsForCall(i int) int
- func (fake *TransferAction) SerializeOutputAtCallCount() int
- func (fake *TransferAction) SerializeOutputAtCalls(stub func(int) ([]byte, error))
- func (fake *TransferAction) SerializeOutputAtReturns(result1 []byte, result2 error)
- func (fake *TransferAction) SerializeOutputAtReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *TransferAction) SerializeReturns(result1 []byte, result2 error)
- func (fake *TransferAction) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- type TransferService
- func (fake *TransferService) DeserializeTransferAction(arg1 []byte) (driver.TransferAction, error)
- func (fake *TransferService) DeserializeTransferActionArgsForCall(i int) []byte
- func (fake *TransferService) DeserializeTransferActionCallCount() int
- func (fake *TransferService) DeserializeTransferActionCalls(stub func([]byte) (driver.TransferAction, error))
- func (fake *TransferService) DeserializeTransferActionReturns(result1 driver.TransferAction, result2 error)
- func (fake *TransferService) DeserializeTransferActionReturnsOnCall(i int, result1 driver.TransferAction, result2 error)
- func (fake *TransferService) Invocations() map[string][][]interface{}
- func (fake *TransferService) Transfer(arg1 context.Context, arg2 string, arg3 driver.OwnerWallet, arg4 []*token.ID, ...) (driver.TransferAction, *driver.TransferMetadata, error)
- func (fake *TransferService) TransferArgsForCall(i int) (context.Context, string, driver.OwnerWallet, []*token.ID, []*token.Token, ...)
- func (fake *TransferService) TransferCallCount() int
- func (fake *TransferService) TransferCalls(...)
- func (fake *TransferService) TransferReturns(result1 driver.TransferAction, result2 *driver.TransferMetadata, result3 error)
- func (fake *TransferService) TransferReturnsOnCall(i int, result1 driver.TransferAction, result2 *driver.TransferMetadata, ...)
- func (fake *TransferService) VerifyTransfer(arg1 driver.TransferAction, arg2 [][]byte) error
- func (fake *TransferService) VerifyTransferArgsForCall(i int) (driver.TransferAction, [][]byte)
- func (fake *TransferService) VerifyTransferCallCount() int
- func (fake *TransferService) VerifyTransferCalls(stub func(driver.TransferAction, [][]byte) error)
- func (fake *TransferService) VerifyTransferReturns(result1 error)
- func (fake *TransferService) VerifyTransferReturnsOnCall(i int, result1 error)
- type UnspentTokensIterator
- func (fake *UnspentTokensIterator) Close()
- func (fake *UnspentTokensIterator) CloseCallCount() int
- func (fake *UnspentTokensIterator) CloseCalls(stub func())
- func (fake *UnspentTokensIterator) Invocations() map[string][][]interface{}
- func (fake *UnspentTokensIterator) Next() (*token.UnspentToken, error)
- func (fake *UnspentTokensIterator) NextCallCount() int
- func (fake *UnspentTokensIterator) NextCalls(stub func() (*token.UnspentToken, error))
- func (fake *UnspentTokensIterator) NextReturns(result1 *token.UnspentToken, result2 error)
- func (fake *UnspentTokensIterator) NextReturnsOnCall(i int, result1 *token.UnspentToken, result2 error)
- type Validator
- func (fake *Validator) Invocations() map[string][][]interface{}
- func (fake *Validator) UnmarshalActions(arg1 []byte) ([]interface{}, error)
- func (fake *Validator) UnmarshalActionsArgsForCall(i int) []byte
- func (fake *Validator) UnmarshalActionsCallCount() int
- func (fake *Validator) UnmarshalActionsCalls(stub func([]byte) ([]interface{}, error))
- func (fake *Validator) UnmarshalActionsReturns(result1 []interface{}, result2 error)
- func (fake *Validator) UnmarshalActionsReturnsOnCall(i int, result1 []interface{}, result2 error)
- func (fake *Validator) VerifyTokenRequestFromRaw(arg1 context.Context, arg2 func(id token.ID) ([]byte, error), arg3 string, ...) ([]interface{}, map[string][]byte, error)
- func (fake *Validator) VerifyTokenRequestFromRawArgsForCall(i int) (context.Context, func(id token.ID) ([]byte, error), string, []byte)
- func (fake *Validator) VerifyTokenRequestFromRawCallCount() int
- func (fake *Validator) VerifyTokenRequestFromRawCalls(...)
- func (fake *Validator) VerifyTokenRequestFromRawReturns(result1 []interface{}, result2 map[string][]byte, result3 error)
- func (fake *Validator) VerifyTokenRequestFromRawReturnsOnCall(i int, result1 []interface{}, result2 map[string][]byte, result3 error)
- type ValidatorLedger
- func (fake *ValidatorLedger) GetState(arg1 token.ID) ([]byte, error)
- func (fake *ValidatorLedger) GetStateArgsForCall(i int) token.ID
- func (fake *ValidatorLedger) GetStateCallCount() int
- func (fake *ValidatorLedger) GetStateCalls(stub func(token.ID) ([]byte, error))
- func (fake *ValidatorLedger) GetStateReturns(result1 []byte, result2 error)
- func (fake *ValidatorLedger) GetStateReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *ValidatorLedger) Invocations() map[string][][]interface{}
- type Verifier
- func (fake *Verifier) Invocations() map[string][][]interface{}
- func (fake *Verifier) Verify(arg1 []byte, arg2 []byte) error
- func (fake *Verifier) VerifyArgsForCall(i int) ([]byte, []byte)
- func (fake *Verifier) VerifyCallCount() int
- func (fake *Verifier) VerifyCalls(stub func([]byte, []byte) error)
- func (fake *Verifier) VerifyReturns(result1 error)
- func (fake *Verifier) VerifyReturnsOnCall(i int, result1 error)
- type WalletService
- func (fake *WalletService) AuditorWallet(arg1 any) (driver.AuditorWallet, error)
- func (fake *WalletService) AuditorWalletArgsForCall(i int) any
- func (fake *WalletService) AuditorWalletCallCount() int
- func (fake *WalletService) AuditorWalletCalls(stub func(any) (driver.AuditorWallet, error))
- func (fake *WalletService) AuditorWalletReturns(result1 driver.AuditorWallet, result2 error)
- func (fake *WalletService) AuditorWalletReturnsOnCall(i int, result1 driver.AuditorWallet, result2 error)
- func (fake *WalletService) CertifierWallet(arg1 any) (driver.CertifierWallet, error)
- func (fake *WalletService) CertifierWalletArgsForCall(i int) any
- func (fake *WalletService) CertifierWalletCallCount() int
- func (fake *WalletService) CertifierWalletCalls(stub func(any) (driver.CertifierWallet, error))
- func (fake *WalletService) CertifierWalletReturns(result1 driver.CertifierWallet, result2 error)
- func (fake *WalletService) CertifierWalletReturnsOnCall(i int, result1 driver.CertifierWallet, result2 error)
- func (fake *WalletService) GetAuditInfo(arg1 view.Identity) ([]byte, error)
- func (fake *WalletService) GetAuditInfoArgsForCall(i int) view.Identity
- func (fake *WalletService) GetAuditInfoCallCount() int
- func (fake *WalletService) GetAuditInfoCalls(stub func(view.Identity) ([]byte, error))
- func (fake *WalletService) GetAuditInfoReturns(result1 []byte, result2 error)
- func (fake *WalletService) GetAuditInfoReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *WalletService) GetEIDAndRH(arg1 view.Identity, arg2 []byte) (string, string, error)
- func (fake *WalletService) GetEIDAndRHArgsForCall(i int) (view.Identity, []byte)
- func (fake *WalletService) GetEIDAndRHCallCount() int
- func (fake *WalletService) GetEIDAndRHCalls(stub func(view.Identity, []byte) (string, string, error))
- func (fake *WalletService) GetEIDAndRHReturns(result1 string, result2 string, result3 error)
- func (fake *WalletService) GetEIDAndRHReturnsOnCall(i int, result1 string, result2 string, result3 error)
- func (fake *WalletService) GetEnrollmentID(arg1 view.Identity, arg2 []byte) (string, error)
- func (fake *WalletService) GetEnrollmentIDArgsForCall(i int) (view.Identity, []byte)
- func (fake *WalletService) GetEnrollmentIDCallCount() int
- func (fake *WalletService) GetEnrollmentIDCalls(stub func(view.Identity, []byte) (string, error))
- func (fake *WalletService) GetEnrollmentIDReturns(result1 string, result2 error)
- func (fake *WalletService) GetEnrollmentIDReturnsOnCall(i int, result1 string, result2 error)
- func (fake *WalletService) GetRevocationHandle(arg1 view.Identity, arg2 []byte) (string, error)
- func (fake *WalletService) GetRevocationHandleArgsForCall(i int) (view.Identity, []byte)
- func (fake *WalletService) GetRevocationHandleCallCount() int
- func (fake *WalletService) GetRevocationHandleCalls(stub func(view.Identity, []byte) (string, error))
- func (fake *WalletService) GetRevocationHandleReturns(result1 string, result2 error)
- func (fake *WalletService) GetRevocationHandleReturnsOnCall(i int, result1 string, result2 error)
- func (fake *WalletService) Invocations() map[string][][]interface{}
- func (fake *WalletService) IssuerWallet(arg1 any) (driver.IssuerWallet, error)
- func (fake *WalletService) IssuerWalletArgsForCall(i int) any
- func (fake *WalletService) IssuerWalletCallCount() int
- func (fake *WalletService) IssuerWalletCalls(stub func(any) (driver.IssuerWallet, error))
- func (fake *WalletService) IssuerWalletReturns(result1 driver.IssuerWallet, result2 error)
- func (fake *WalletService) IssuerWalletReturnsOnCall(i int, result1 driver.IssuerWallet, result2 error)
- func (fake *WalletService) OwnerWallet(arg1 any) (driver.OwnerWallet, error)
- func (fake *WalletService) OwnerWalletArgsForCall(i int) any
- func (fake *WalletService) OwnerWalletCallCount() int
- func (fake *WalletService) OwnerWalletCalls(stub func(any) (driver.OwnerWallet, error))
- func (fake *WalletService) OwnerWalletIDs() ([]string, error)
- func (fake *WalletService) OwnerWalletIDsCallCount() int
- func (fake *WalletService) OwnerWalletIDsCalls(stub func() ([]string, error))
- func (fake *WalletService) OwnerWalletIDsReturns(result1 []string, result2 error)
- func (fake *WalletService) OwnerWalletIDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *WalletService) OwnerWalletReturns(result1 driver.OwnerWallet, result2 error)
- func (fake *WalletService) OwnerWalletReturnsOnCall(i int, result1 driver.OwnerWallet, result2 error)
- func (fake *WalletService) RegisterIssuerIdentity(arg1 driver.IdentityConfiguration) error
- func (fake *WalletService) RegisterIssuerIdentityArgsForCall(i int) driver.IdentityConfiguration
- func (fake *WalletService) RegisterIssuerIdentityCallCount() int
- func (fake *WalletService) RegisterIssuerIdentityCalls(stub func(driver.IdentityConfiguration) error)
- func (fake *WalletService) RegisterIssuerIdentityReturns(result1 error)
- func (fake *WalletService) RegisterIssuerIdentityReturnsOnCall(i int, result1 error)
- func (fake *WalletService) RegisterOwnerIdentity(arg1 driver.IdentityConfiguration) error
- func (fake *WalletService) RegisterOwnerIdentityArgsForCall(i int) driver.IdentityConfiguration
- func (fake *WalletService) RegisterOwnerIdentityCallCount() int
- func (fake *WalletService) RegisterOwnerIdentityCalls(stub func(driver.IdentityConfiguration) error)
- func (fake *WalletService) RegisterOwnerIdentityReturns(result1 error)
- func (fake *WalletService) RegisterOwnerIdentityReturnsOnCall(i int, result1 error)
- func (fake *WalletService) RegisterRecipientIdentity(arg1 *driver.RecipientData) error
- func (fake *WalletService) RegisterRecipientIdentityArgsForCall(i int) *driver.RecipientData
- func (fake *WalletService) RegisterRecipientIdentityCallCount() int
- func (fake *WalletService) RegisterRecipientIdentityCalls(stub func(*driver.RecipientData) error)
- func (fake *WalletService) RegisterRecipientIdentityReturns(result1 error)
- func (fake *WalletService) RegisterRecipientIdentityReturnsOnCall(i int, result1 error)
- func (fake *WalletService) SpentIDs(arg1 ...*token.ID) ([]string, error)
- func (fake *WalletService) SpentIDsArgsForCall(i int) []*token.ID
- func (fake *WalletService) SpentIDsCallCount() int
- func (fake *WalletService) SpentIDsCalls(stub func(...*token.ID) ([]string, error))
- func (fake *WalletService) SpentIDsReturns(result1 []string, result2 error)
- func (fake *WalletService) SpentIDsReturnsOnCall(i int, result1 []string, result2 error)
- func (fake *WalletService) Wallet(arg1 view.Identity) driver.Wallet
- func (fake *WalletService) WalletArgsForCall(i int) view.Identity
- func (fake *WalletService) WalletCallCount() int
- func (fake *WalletService) WalletCalls(stub func(view.Identity) driver.Wallet)
- func (fake *WalletService) WalletReturns(result1 driver.Wallet)
- func (fake *WalletService) WalletReturnsOnCall(i int, result1 driver.Wallet)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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(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(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 (*CertificationService) VerifyCertificationsArgsForCall ¶
func (fake *CertificationService) VerifyCertificationsArgsForCall(i int) ([]*token.ID, [][]byte)
func (*CertificationService) VerifyCertificationsCallCount ¶
func (fake *CertificationService) VerifyCertificationsCallCount() int
func (*CertificationService) VerifyCertificationsCalls ¶
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(*token.ID) bool StoreStub func(map[*token.ID][]byte) error // contains filtered or unexported fields }
func (*CertificationStorage) ExistsArgsForCall ¶
func (fake *CertificationStorage) ExistsArgsForCall(i int) *token.ID
func (*CertificationStorage) ExistsCallCount ¶
func (fake *CertificationStorage) ExistsCallCount() int
func (*CertificationStorage) ExistsCalls ¶
func (fake *CertificationStorage) ExistsCalls(stub func(*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 map[*token.ID][]byte) error
func (*CertificationStorage) StoreArgsForCall ¶
func (fake *CertificationStorage) StoreArgsForCall(i int) map[*token.ID][]byte
func (*CertificationStorage) StoreCallCount ¶
func (fake *CertificationStorage) StoreCallCount() int
func (*CertificationStorage) StoreCalls ¶
func (fake *CertificationStorage) StoreCalls(stub func(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 { GetAuditorVerifierStub func(view.Identity) (driver.Verifier, error) GetIssuerVerifierStub func(view.Identity) (driver.Verifier, error) GetOwnerAuditInfoStub func(view.Identity, driver.AuditInfoProvider) ([][]byte, error) GetOwnerMatcherStub func([]byte) (driver.Matcher, error) GetOwnerVerifierStub func(view.Identity) (driver.Verifier, error) MatchOwnerIdentityStub func(view.Identity, []byte) error RecipientsStub func(view.Identity) ([]view.Identity, error) // contains filtered or unexported fields }
func (*Deserializer) GetAuditorVerifier ¶
func (*Deserializer) GetAuditorVerifierArgsForCall ¶
func (fake *Deserializer) GetAuditorVerifierArgsForCall(i int) view.Identity
func (*Deserializer) GetAuditorVerifierCallCount ¶
func (fake *Deserializer) GetAuditorVerifierCallCount() int
func (*Deserializer) GetAuditorVerifierCalls ¶
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 (*Deserializer) GetIssuerVerifierArgsForCall ¶
func (fake *Deserializer) GetIssuerVerifierArgsForCall(i int) view.Identity
func (*Deserializer) GetIssuerVerifierCallCount ¶
func (fake *Deserializer) GetIssuerVerifierCallCount() int
func (*Deserializer) GetIssuerVerifierCalls ¶
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) GetOwnerAuditInfo ¶
func (fake *Deserializer) GetOwnerAuditInfo(arg1 view.Identity, arg2 driver.AuditInfoProvider) ([][]byte, error)
func (*Deserializer) GetOwnerAuditInfoArgsForCall ¶
func (fake *Deserializer) GetOwnerAuditInfoArgsForCall(i int) (view.Identity, driver.AuditInfoProvider)
func (*Deserializer) GetOwnerAuditInfoCallCount ¶
func (fake *Deserializer) GetOwnerAuditInfoCallCount() int
func (*Deserializer) GetOwnerAuditInfoCalls ¶
func (fake *Deserializer) GetOwnerAuditInfoCalls(stub func(view.Identity, driver.AuditInfoProvider) ([][]byte, error))
func (*Deserializer) GetOwnerAuditInfoReturns ¶
func (fake *Deserializer) GetOwnerAuditInfoReturns(result1 [][]byte, result2 error)
func (*Deserializer) GetOwnerAuditInfoReturnsOnCall ¶
func (fake *Deserializer) GetOwnerAuditInfoReturnsOnCall(i int, result1 [][]byte, result2 error)
func (*Deserializer) GetOwnerMatcher ¶
func (fake *Deserializer) GetOwnerMatcher(arg1 []byte) (driver.Matcher, error)
func (*Deserializer) GetOwnerMatcherArgsForCall ¶
func (fake *Deserializer) GetOwnerMatcherArgsForCall(i int) []byte
func (*Deserializer) GetOwnerMatcherCallCount ¶
func (fake *Deserializer) GetOwnerMatcherCallCount() int
func (*Deserializer) GetOwnerMatcherCalls ¶
func (fake *Deserializer) GetOwnerMatcherCalls(stub func([]byte) (driver.Matcher, error))
func (*Deserializer) GetOwnerMatcherReturns ¶
func (fake *Deserializer) GetOwnerMatcherReturns(result1 driver.Matcher, result2 error)
func (*Deserializer) GetOwnerMatcherReturnsOnCall ¶
func (fake *Deserializer) GetOwnerMatcherReturnsOnCall(i int, result1 driver.Matcher, result2 error)
func (*Deserializer) GetOwnerVerifier ¶
func (*Deserializer) GetOwnerVerifierArgsForCall ¶
func (fake *Deserializer) GetOwnerVerifierArgsForCall(i int) view.Identity
func (*Deserializer) GetOwnerVerifierCallCount ¶
func (fake *Deserializer) GetOwnerVerifierCallCount() int
func (*Deserializer) GetOwnerVerifierCalls ¶
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) MatchOwnerIdentity ¶
func (fake *Deserializer) MatchOwnerIdentity(arg1 view.Identity, arg2 []byte) error
func (*Deserializer) MatchOwnerIdentityArgsForCall ¶
func (fake *Deserializer) MatchOwnerIdentityArgsForCall(i int) (view.Identity, []byte)
func (*Deserializer) MatchOwnerIdentityCallCount ¶
func (fake *Deserializer) MatchOwnerIdentityCallCount() int
func (*Deserializer) MatchOwnerIdentityCalls ¶
func (fake *Deserializer) MatchOwnerIdentityCalls(stub func(view.Identity, []byte) error)
func (*Deserializer) MatchOwnerIdentityReturns ¶
func (fake *Deserializer) MatchOwnerIdentityReturns(result1 error)
func (*Deserializer) MatchOwnerIdentityReturnsOnCall ¶
func (fake *Deserializer) MatchOwnerIdentityReturnsOnCall(i int, result1 error)
func (*Deserializer) Recipients ¶
func (*Deserializer) RecipientsArgsForCall ¶
func (fake *Deserializer) RecipientsArgsForCall(i int) view.Identity
func (*Deserializer) RecipientsCallCount ¶
func (fake *Deserializer) RecipientsCallCount() int
func (*Deserializer) RecipientsCalls ¶
func (*Deserializer) RecipientsReturns ¶
func (fake *Deserializer) RecipientsReturns(result1 []view.Identity, result2 error)
func (*Deserializer) RecipientsReturnsOnCall ¶
func (fake *Deserializer) RecipientsReturnsOnCall(i int, result1 []view.Identity, result2 error)
type IdentityProvider ¶
type IdentityProvider struct { BindStub func(view.Identity, view.Identity, bool) error GetAuditInfoStub func(view.Identity) ([]byte, error) GetEIDAndRHStub func(view.Identity, []byte) (string, string, error) GetEnrollmentIDStub func(view.Identity, []byte) (string, error) GetRevocationHandlerStub func(view.Identity, []byte) (string, error) GetSignerStub func(view.Identity) (driver.Signer, error) IsMeStub func(view.Identity) bool RegisterRecipientDataStub func(*driver.RecipientData) error RegisterRecipientIdentityStub func(view.Identity) error RegisterSignerStub func(view.Identity, driver.Signer, driver.Verifier, []byte) error RegisterVerifierStub func(view.Identity, driver.Verifier) error // contains filtered or unexported fields }
func (*IdentityProvider) BindArgsForCall ¶
func (*IdentityProvider) BindCallCount ¶
func (fake *IdentityProvider) BindCallCount() int
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 view.Identity) ([]byte, error)
func (*IdentityProvider) GetAuditInfoArgsForCall ¶
func (fake *IdentityProvider) GetAuditInfoArgsForCall(i int) view.Identity
func (*IdentityProvider) GetAuditInfoCallCount ¶
func (fake *IdentityProvider) GetAuditInfoCallCount() int
func (*IdentityProvider) GetAuditInfoCalls ¶
func (fake *IdentityProvider) GetAuditInfoCalls(stub func(view.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 (*IdentityProvider) GetEIDAndRHArgsForCall ¶
func (fake *IdentityProvider) GetEIDAndRHArgsForCall(i int) (view.Identity, []byte)
func (*IdentityProvider) GetEIDAndRHCallCount ¶
func (fake *IdentityProvider) GetEIDAndRHCallCount() int
func (*IdentityProvider) GetEIDAndRHCalls ¶
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 (*IdentityProvider) GetEnrollmentIDArgsForCall ¶
func (fake *IdentityProvider) GetEnrollmentIDArgsForCall(i int) (view.Identity, []byte)
func (*IdentityProvider) GetEnrollmentIDCallCount ¶
func (fake *IdentityProvider) GetEnrollmentIDCallCount() int
func (*IdentityProvider) GetEnrollmentIDCalls ¶
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 (*IdentityProvider) GetRevocationHandlerArgsForCall ¶
func (fake *IdentityProvider) GetRevocationHandlerArgsForCall(i int) (view.Identity, []byte)
func (*IdentityProvider) GetRevocationHandlerCallCount ¶
func (fake *IdentityProvider) GetRevocationHandlerCallCount() int
func (*IdentityProvider) GetRevocationHandlerCalls ¶
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) GetSignerArgsForCall ¶
func (fake *IdentityProvider) GetSignerArgsForCall(i int) view.Identity
func (*IdentityProvider) GetSignerCallCount ¶
func (fake *IdentityProvider) GetSignerCallCount() int
func (*IdentityProvider) GetSignerCalls ¶
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) IsMeArgsForCall ¶
func (fake *IdentityProvider) IsMeArgsForCall(i int) view.Identity
func (*IdentityProvider) IsMeCallCount ¶
func (fake *IdentityProvider) IsMeCallCount() int
func (*IdentityProvider) IsMeCalls ¶
func (fake *IdentityProvider) IsMeCalls(stub func(view.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 *driver.RecipientData) error
func (*IdentityProvider) RegisterRecipientDataArgsForCall ¶
func (fake *IdentityProvider) RegisterRecipientDataArgsForCall(i int) *driver.RecipientData
func (*IdentityProvider) RegisterRecipientDataCallCount ¶
func (fake *IdentityProvider) RegisterRecipientDataCallCount() int
func (*IdentityProvider) RegisterRecipientDataCalls ¶
func (fake *IdentityProvider) RegisterRecipientDataCalls(stub func(*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 view.Identity) error
func (*IdentityProvider) RegisterRecipientIdentityArgsForCall ¶
func (fake *IdentityProvider) RegisterRecipientIdentityArgsForCall(i int) view.Identity
func (*IdentityProvider) RegisterRecipientIdentityCallCount ¶
func (fake *IdentityProvider) RegisterRecipientIdentityCallCount() int
func (*IdentityProvider) RegisterRecipientIdentityCalls ¶
func (fake *IdentityProvider) RegisterRecipientIdentityCalls(stub func(view.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 (*IdentityProvider) RegisterSignerArgsForCall ¶
func (*IdentityProvider) RegisterSignerCallCount ¶
func (fake *IdentityProvider) RegisterSignerCallCount() int
func (*IdentityProvider) RegisterSignerCalls ¶
func (*IdentityProvider) RegisterSignerReturns ¶
func (fake *IdentityProvider) RegisterSignerReturns(result1 error)
func (*IdentityProvider) RegisterSignerReturnsOnCall ¶
func (fake *IdentityProvider) RegisterSignerReturnsOnCall(i int, result1 error)
func (*IdentityProvider) RegisterVerifier ¶
func (*IdentityProvider) RegisterVerifierArgsForCall ¶
func (*IdentityProvider) RegisterVerifierCallCount ¶
func (fake *IdentityProvider) RegisterVerifierCallCount() int
func (*IdentityProvider) RegisterVerifierCalls ¶
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 { GetIssuerStub func() []byte GetMetadataStub func() map[string][]byte GetOutputsStub func() []driver.Output GetSerializedOutputsStub func() ([][]byte, error) IsAnonymousStub func() bool IsGraphHidingStub func() bool NumOutputsStub func() int SerializeStub func() ([]byte, error) // contains filtered or unexported fields }
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) 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) 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)
type PublicParameters ¶
type PublicParameters struct { AuditorsStub func() []view.Identity BytesStub func() ([]byte, error) CertificationDriverStub func() string GraphHidingStub func() bool IdentifierStub func() string MaxTokenValueStub func() uint64 PrecisionStub func() uint64 SerializeStub func() ([]byte, error) StringStub func() string TokenDataHidingStub func() bool ValidateStub func() error // contains filtered or unexported fields }
func (*PublicParameters) Auditors ¶
func (fake *PublicParameters) Auditors() []view.Identity
func (*PublicParameters) AuditorsCallCount ¶
func (fake *PublicParameters) AuditorsCallCount() int
func (*PublicParameters) AuditorsCalls ¶
func (fake *PublicParameters) AuditorsCalls(stub func() []view.Identity)
func (*PublicParameters) AuditorsReturns ¶
func (fake *PublicParameters) AuditorsReturns(result1 []view.Identity)
func (*PublicParameters) AuditorsReturnsOnCall ¶
func (fake *PublicParameters) AuditorsReturnsOnCall(i int, result1 []view.Identity)
func (*PublicParameters) Bytes ¶
func (fake *PublicParameters) Bytes() ([]byte, error)
func (*PublicParameters) BytesCallCount ¶
func (fake *PublicParameters) BytesCallCount() int
func (*PublicParameters) BytesCalls ¶
func (fake *PublicParameters) BytesCalls(stub func() ([]byte, error))
func (*PublicParameters) BytesReturns ¶
func (fake *PublicParameters) BytesReturns(result1 []byte, result2 error)
func (*PublicParameters) BytesReturnsOnCall ¶
func (fake *PublicParameters) BytesReturnsOnCall(i int, result1 []byte, result2 error)
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) 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) Identifier ¶
func (fake *PublicParameters) Identifier() string
func (*PublicParameters) IdentifierCallCount ¶
func (fake *PublicParameters) IdentifierCallCount() int
func (*PublicParameters) IdentifierCalls ¶
func (fake *PublicParameters) IdentifierCalls(stub func() string)
func (*PublicParameters) IdentifierReturns ¶
func (fake *PublicParameters) IdentifierReturns(result1 string)
func (*PublicParameters) IdentifierReturnsOnCall ¶
func (fake *PublicParameters) IdentifierReturnsOnCall(i int, result1 string)
func (*PublicParameters) Invocations ¶
func (fake *PublicParameters) Invocations() map[string][][]interface{}
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) 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(string, token.Type) (uint64, error) GetStatusStub func(string) (int, string, error) GetTokenMetadataStub func([]*token.ID) ([][]byte, error) GetTokenOutputsStub func([]*token.ID, driver.QueryCallbackFunc) error GetTokenOutputsAndMetaStub func(context.Context, []*token.ID) ([][]byte, [][]byte, []token.Format, error) GetTokensStub func(...*token.ID) ([]*token.Token, error) IsMineStub func(*token.ID) (bool, error) IsPendingStub func(*token.ID) (bool, error) ListAuditTokensStub func(...*token.ID) ([]*token.Token, error) ListHistoryIssuedTokensStub func() (*token.IssuedTokens, error) ListUnspentTokensStub func() (*token.UnspentTokens, error) PublicParamsStub func() ([]byte, error) UnspentTokensIteratorStub func() (driver.UnspentTokensIterator, error) UnspentTokensIteratorByStub func(context.Context, string, token.Type) (driver.UnspentTokensIterator, error) WhoDeletedTokensStub func(...*token.ID) ([]string, []bool, error) // contains filtered or unexported fields }
func (*QueryEngine) BalanceArgsForCall ¶
func (fake *QueryEngine) BalanceArgsForCall(i int) (string, token.Type)
func (*QueryEngine) BalanceCallCount ¶
func (fake *QueryEngine) BalanceCallCount() int
func (*QueryEngine) BalanceCalls ¶
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 string) (int, string, error)
func (*QueryEngine) GetStatusArgsForCall ¶
func (fake *QueryEngine) GetStatusArgsForCall(i int) string
func (*QueryEngine) GetStatusCallCount ¶
func (fake *QueryEngine) GetStatusCallCount() int
func (*QueryEngine) GetStatusCalls ¶
func (fake *QueryEngine) GetStatusCalls(stub func(string) (int, string, error))
func (*QueryEngine) GetStatusReturns ¶
func (fake *QueryEngine) GetStatusReturns(result1 int, result2 string, result3 error)
func (*QueryEngine) GetStatusReturnsOnCall ¶
func (fake *QueryEngine) GetStatusReturnsOnCall(i int, result1 int, result2 string, result3 error)
func (*QueryEngine) GetTokenMetadata ¶
func (fake *QueryEngine) GetTokenMetadata(arg1 []*token.ID) ([][]byte, error)
func (*QueryEngine) GetTokenMetadataArgsForCall ¶
func (fake *QueryEngine) GetTokenMetadataArgsForCall(i int) []*token.ID
func (*QueryEngine) GetTokenMetadataCallCount ¶
func (fake *QueryEngine) GetTokenMetadataCallCount() int
func (*QueryEngine) GetTokenMetadataCalls ¶
func (fake *QueryEngine) GetTokenMetadataCalls(stub func([]*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 []*token.ID, arg2 driver.QueryCallbackFunc) error
func (*QueryEngine) GetTokenOutputsAndMeta ¶
func (*QueryEngine) GetTokenOutputsAndMetaArgsForCall ¶
func (*QueryEngine) GetTokenOutputsAndMetaCallCount ¶
func (fake *QueryEngine) GetTokenOutputsAndMetaCallCount() int
func (*QueryEngine) GetTokenOutputsAndMetaCalls ¶
func (*QueryEngine) GetTokenOutputsAndMetaReturns ¶
func (*QueryEngine) GetTokenOutputsAndMetaReturnsOnCall ¶
func (*QueryEngine) GetTokenOutputsArgsForCall ¶
func (fake *QueryEngine) GetTokenOutputsArgsForCall(i int) ([]*token.ID, driver.QueryCallbackFunc)
func (*QueryEngine) GetTokenOutputsCallCount ¶
func (fake *QueryEngine) GetTokenOutputsCallCount() int
func (*QueryEngine) GetTokenOutputsCalls ¶
func (fake *QueryEngine) GetTokenOutputsCalls(stub func([]*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) GetTokensArgsForCall ¶
func (fake *QueryEngine) GetTokensArgsForCall(i int) []*token.ID
func (*QueryEngine) GetTokensCallCount ¶
func (fake *QueryEngine) GetTokensCallCount() int
func (*QueryEngine) GetTokensCalls ¶
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) IsMineArgsForCall ¶
func (fake *QueryEngine) IsMineArgsForCall(i int) *token.ID
func (*QueryEngine) IsMineCallCount ¶
func (fake *QueryEngine) IsMineCallCount() int
func (*QueryEngine) IsMineCalls ¶
func (fake *QueryEngine) IsMineCalls(stub func(*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) IsPendingArgsForCall ¶
func (fake *QueryEngine) IsPendingArgsForCall(i int) *token.ID
func (*QueryEngine) IsPendingCallCount ¶
func (fake *QueryEngine) IsPendingCallCount() int
func (*QueryEngine) IsPendingCalls ¶
func (fake *QueryEngine) IsPendingCalls(stub func(*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 (*QueryEngine) ListAuditTokensArgsForCall ¶
func (fake *QueryEngine) ListAuditTokensArgsForCall(i int) []*token.ID
func (*QueryEngine) ListAuditTokensCallCount ¶
func (fake *QueryEngine) ListAuditTokensCallCount() int
func (*QueryEngine) ListAuditTokensCalls ¶
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() (*token.IssuedTokens, error)
func (*QueryEngine) ListHistoryIssuedTokensCallCount ¶
func (fake *QueryEngine) ListHistoryIssuedTokensCallCount() int
func (*QueryEngine) ListHistoryIssuedTokensCalls ¶
func (fake *QueryEngine) ListHistoryIssuedTokensCalls(stub func() (*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() (*token.UnspentTokens, error)
func (*QueryEngine) ListUnspentTokensCallCount ¶
func (fake *QueryEngine) ListUnspentTokensCallCount() int
func (*QueryEngine) ListUnspentTokensCalls ¶
func (fake *QueryEngine) ListUnspentTokensCalls(stub func() (*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() ([]byte, error)
func (*QueryEngine) PublicParamsCallCount ¶
func (fake *QueryEngine) PublicParamsCallCount() int
func (*QueryEngine) PublicParamsCalls ¶
func (fake *QueryEngine) PublicParamsCalls(stub func() ([]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) UnspentTokensIterator ¶
func (fake *QueryEngine) UnspentTokensIterator() (driver.UnspentTokensIterator, error)
func (*QueryEngine) UnspentTokensIteratorBy ¶
func (fake *QueryEngine) UnspentTokensIteratorBy(arg1 context.Context, arg2 string, arg3 token.Type) (driver.UnspentTokensIterator, error)
func (*QueryEngine) UnspentTokensIteratorByArgsForCall ¶
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() (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 (*QueryEngine) WhoDeletedTokensArgsForCall ¶
func (fake *QueryEngine) WhoDeletedTokensArgsForCall(i int) []*token.ID
func (*QueryEngine) WhoDeletedTokensCallCount ¶
func (fake *QueryEngine) WhoDeletedTokensCallCount() int
func (*QueryEngine) WhoDeletedTokensCalls ¶
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 Signer ¶
type Signer struct { SignStub func([]byte) ([]byte, error) // contains filtered or unexported fields }
func (*Signer) Invocations ¶
func (*Signer) SignArgsForCall ¶
func (*Signer) SignCallCount ¶
func (*Signer) SignReturns ¶
type TokensService ¶
type TokensService struct { DeobfuscateStub func([]byte, []byte) (*token.Token, identity.Identity, token.Format, error) ExtractMetadataStub func(*driver.TokenRequestMetadata, []byte) ([]byte, error) SupportedTokenFormatsStub func() []token.Format // contains filtered or unexported fields }
func (*TokensService) Deobfuscate ¶
func (*TokensService) DeobfuscateArgsForCall ¶
func (fake *TokensService) DeobfuscateArgsForCall(i int) ([]byte, []byte)
func (*TokensService) DeobfuscateCallCount ¶
func (fake *TokensService) DeobfuscateCallCount() int
func (*TokensService) DeobfuscateCalls ¶
func (*TokensService) DeobfuscateReturns ¶
func (*TokensService) DeobfuscateReturnsOnCall ¶
func (*TokensService) ExtractMetadata ¶
func (fake *TokensService) ExtractMetadata(arg1 *driver.TokenRequestMetadata, arg2 []byte) ([]byte, error)
func (*TokensService) ExtractMetadataArgsForCall ¶
func (fake *TokensService) ExtractMetadataArgsForCall(i int) (*driver.TokenRequestMetadata, []byte)
func (*TokensService) ExtractMetadataCallCount ¶
func (fake *TokensService) ExtractMetadataCallCount() int
func (*TokensService) ExtractMetadataCalls ¶
func (fake *TokensService) ExtractMetadataCalls(stub func(*driver.TokenRequestMetadata, []byte) ([]byte, error))
func (*TokensService) ExtractMetadataReturns ¶
func (fake *TokensService) ExtractMetadataReturns(result1 []byte, result2 error)
func (*TokensService) ExtractMetadataReturnsOnCall ¶
func (fake *TokensService) ExtractMetadataReturnsOnCall(i int, result1 []byte, result2 error)
func (*TokensService) Invocations ¶
func (fake *TokensService) Invocations() map[string][][]interface{}
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 { GetInputsStub func() []*token.ID 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 NumOutputsStub func() int SerializeStub func() ([]byte, error) SerializeOutputAtStub func(int) ([]byte, error) // contains filtered or unexported fields }
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) 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) 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)
type TransferService ¶
type TransferService struct { DeserializeTransferActionStub func([]byte) (driver.TransferAction, error) TransferStub func(context.Context, string, driver.OwnerWallet, []*token.ID, []*token.Token, *driver.TransferOptions) (driver.TransferAction, *driver.TransferMetadata, error) VerifyTransferStub func(driver.TransferAction, [][]byte) 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 (fake *TransferService) Transfer(arg1 context.Context, arg2 string, arg3 driver.OwnerWallet, arg4 []*token.ID, arg5 []*token.Token, arg6 *driver.TransferOptions) (driver.TransferAction, *driver.TransferMetadata, error)
func (*TransferService) TransferArgsForCall ¶
func (fake *TransferService) TransferArgsForCall(i int) (context.Context, string, driver.OwnerWallet, []*token.ID, []*token.Token, *driver.TransferOptions)
func (*TransferService) TransferCallCount ¶
func (fake *TransferService) TransferCallCount() int
func (*TransferService) TransferCalls ¶
func (fake *TransferService) TransferCalls(stub func(context.Context, string, driver.OwnerWallet, []*token.ID, []*token.Token, *driver.TransferOptions) (driver.TransferAction, *driver.TransferMetadata, error))
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 driver.TransferAction, arg2 [][]byte) error
func (*TransferService) VerifyTransferArgsForCall ¶
func (fake *TransferService) VerifyTransferArgsForCall(i int) (driver.TransferAction, [][]byte)
func (*TransferService) VerifyTransferCallCount ¶
func (fake *TransferService) VerifyTransferCallCount() int
func (*TransferService) VerifyTransferCalls ¶
func (fake *TransferService) VerifyTransferCalls(stub func(driver.TransferAction, [][]byte) 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, func(id token.ID) ([]byte, error), string, []byte) ([]interface{}, map[string][]byte, error) // contains filtered or unexported fields }
func (*Validator) Invocations ¶
func (*Validator) UnmarshalActions ¶
func (*Validator) UnmarshalActionsArgsForCall ¶
func (*Validator) UnmarshalActionsCallCount ¶
func (*Validator) UnmarshalActionsCalls ¶
func (*Validator) UnmarshalActionsReturns ¶
func (*Validator) UnmarshalActionsReturnsOnCall ¶
func (*Validator) VerifyTokenRequestFromRaw ¶
func (*Validator) VerifyTokenRequestFromRawArgsForCall ¶
func (*Validator) VerifyTokenRequestFromRawCallCount ¶
func (*Validator) VerifyTokenRequestFromRawCalls ¶
func (*Validator) VerifyTokenRequestFromRawReturns ¶
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 Verifier ¶
type Verifier struct { VerifyStub func([]byte, []byte) error // contains filtered or unexported fields }
func (*Verifier) Invocations ¶
func (*Verifier) VerifyArgsForCall ¶
func (*Verifier) VerifyCallCount ¶
func (*Verifier) VerifyReturns ¶
func (*Verifier) VerifyReturnsOnCall ¶
type WalletService ¶
type WalletService struct { AuditorWalletStub func(any) (driver.AuditorWallet, error) CertifierWalletStub func(any) (driver.CertifierWallet, error) GetAuditInfoStub func(view.Identity) ([]byte, error) GetEIDAndRHStub func(view.Identity, []byte) (string, string, error) GetEnrollmentIDStub func(view.Identity, []byte) (string, error) GetRevocationHandleStub func(view.Identity, []byte) (string, error) IssuerWalletStub func(any) (driver.IssuerWallet, error) OwnerWalletStub func(any) (driver.OwnerWallet, error) OwnerWalletIDsStub func() ([]string, error) RegisterIssuerIdentityStub func(driver.IdentityConfiguration) error RegisterOwnerIdentityStub func(driver.IdentityConfiguration) error RegisterRecipientIdentityStub func(*driver.RecipientData) error SpentIDsStub func(...*token.ID) ([]string, error) WalletStub func(view.Identity) driver.Wallet // contains filtered or unexported fields }
func (*WalletService) AuditorWallet ¶
func (fake *WalletService) AuditorWallet(arg1 any) (driver.AuditorWallet, error)
func (*WalletService) AuditorWalletArgsForCall ¶
func (fake *WalletService) AuditorWalletArgsForCall(i int) any
func (*WalletService) AuditorWalletCallCount ¶
func (fake *WalletService) AuditorWalletCallCount() int
func (*WalletService) AuditorWalletCalls ¶
func (fake *WalletService) AuditorWalletCalls(stub func(any) (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 any) (driver.CertifierWallet, error)
func (*WalletService) CertifierWalletArgsForCall ¶
func (fake *WalletService) CertifierWalletArgsForCall(i int) any
func (*WalletService) CertifierWalletCallCount ¶
func (fake *WalletService) CertifierWalletCallCount() int
func (*WalletService) CertifierWalletCalls ¶
func (fake *WalletService) CertifierWalletCalls(stub func(any) (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 view.Identity) ([]byte, error)
func (*WalletService) GetAuditInfoArgsForCall ¶
func (fake *WalletService) GetAuditInfoArgsForCall(i int) view.Identity
func (*WalletService) GetAuditInfoCallCount ¶
func (fake *WalletService) GetAuditInfoCallCount() int
func (*WalletService) GetAuditInfoCalls ¶
func (fake *WalletService) GetAuditInfoCalls(stub func(view.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 (*WalletService) GetEIDAndRHArgsForCall ¶
func (fake *WalletService) GetEIDAndRHArgsForCall(i int) (view.Identity, []byte)
func (*WalletService) GetEIDAndRHCallCount ¶
func (fake *WalletService) GetEIDAndRHCallCount() int
func (*WalletService) GetEIDAndRHCalls ¶
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 (*WalletService) GetEnrollmentIDArgsForCall ¶
func (fake *WalletService) GetEnrollmentIDArgsForCall(i int) (view.Identity, []byte)
func (*WalletService) GetEnrollmentIDCallCount ¶
func (fake *WalletService) GetEnrollmentIDCallCount() int
func (*WalletService) GetEnrollmentIDCalls ¶
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 (*WalletService) GetRevocationHandleArgsForCall ¶
func (fake *WalletService) GetRevocationHandleArgsForCall(i int) (view.Identity, []byte)
func (*WalletService) GetRevocationHandleCallCount ¶
func (fake *WalletService) GetRevocationHandleCallCount() int
func (*WalletService) GetRevocationHandleCalls ¶
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 any) (driver.IssuerWallet, error)
func (*WalletService) IssuerWalletArgsForCall ¶
func (fake *WalletService) IssuerWalletArgsForCall(i int) any
func (*WalletService) IssuerWalletCallCount ¶
func (fake *WalletService) IssuerWalletCallCount() int
func (*WalletService) IssuerWalletCalls ¶
func (fake *WalletService) IssuerWalletCalls(stub func(any) (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 any) (driver.OwnerWallet, error)
func (*WalletService) OwnerWalletArgsForCall ¶
func (fake *WalletService) OwnerWalletArgsForCall(i int) any
func (*WalletService) OwnerWalletCallCount ¶
func (fake *WalletService) OwnerWalletCallCount() int
func (*WalletService) OwnerWalletCalls ¶
func (fake *WalletService) OwnerWalletCalls(stub func(any) (driver.OwnerWallet, error))
func (*WalletService) OwnerWalletIDs ¶
func (fake *WalletService) OwnerWalletIDs() ([]string, error)
func (*WalletService) OwnerWalletIDsCallCount ¶
func (fake *WalletService) OwnerWalletIDsCallCount() int
func (*WalletService) OwnerWalletIDsCalls ¶
func (fake *WalletService) OwnerWalletIDsCalls(stub func() ([]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 driver.IdentityConfiguration) error
func (*WalletService) RegisterIssuerIdentityArgsForCall ¶
func (fake *WalletService) RegisterIssuerIdentityArgsForCall(i int) driver.IdentityConfiguration
func (*WalletService) RegisterIssuerIdentityCallCount ¶
func (fake *WalletService) RegisterIssuerIdentityCallCount() int
func (*WalletService) RegisterIssuerIdentityCalls ¶
func (fake *WalletService) RegisterIssuerIdentityCalls(stub func(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 driver.IdentityConfiguration) error
func (*WalletService) RegisterOwnerIdentityArgsForCall ¶
func (fake *WalletService) RegisterOwnerIdentityArgsForCall(i int) driver.IdentityConfiguration
func (*WalletService) RegisterOwnerIdentityCallCount ¶
func (fake *WalletService) RegisterOwnerIdentityCallCount() int
func (*WalletService) RegisterOwnerIdentityCalls ¶
func (fake *WalletService) RegisterOwnerIdentityCalls(stub func(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 *driver.RecipientData) error
func (*WalletService) RegisterRecipientIdentityArgsForCall ¶
func (fake *WalletService) RegisterRecipientIdentityArgsForCall(i int) *driver.RecipientData
func (*WalletService) RegisterRecipientIdentityCallCount ¶
func (fake *WalletService) RegisterRecipientIdentityCallCount() int
func (*WalletService) RegisterRecipientIdentityCalls ¶
func (fake *WalletService) RegisterRecipientIdentityCalls(stub func(*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) SpentIDs ¶
func (fake *WalletService) SpentIDs(arg1 ...*token.ID) ([]string, error)
func (*WalletService) SpentIDsArgsForCall ¶
func (fake *WalletService) SpentIDsArgsForCall(i int) []*token.ID
func (*WalletService) SpentIDsCallCount ¶
func (fake *WalletService) SpentIDsCallCount() int
func (*WalletService) SpentIDsCalls ¶
func (fake *WalletService) SpentIDsCalls(stub func(...*token.ID) ([]string, error))
func (*WalletService) SpentIDsReturns ¶
func (fake *WalletService) SpentIDsReturns(result1 []string, result2 error)
func (*WalletService) SpentIDsReturnsOnCall ¶
func (fake *WalletService) SpentIDsReturnsOnCall(i int, result1 []string, result2 error)
func (*WalletService) WalletArgsForCall ¶
func (fake *WalletService) WalletArgsForCall(i int) view.Identity
func (*WalletService) WalletCallCount ¶
func (fake *WalletService) WalletCallCount() int
func (*WalletService) WalletCalls ¶
func (fake *WalletService) WalletCalls(stub func(view.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)