Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockCredentialAdapterClient
- func (m *MockCredentialAdapterClient) Close() error
- func (m *MockCredentialAdapterClient) CreateIssuanceChallenge(cred_type, did string) (credential_adapter.IssuanceChallenge, error)
- func (m *MockCredentialAdapterClient) CreatePresentationChallenge(credTypes []string) (*credential_adapter.PresentationChallenge, error)
- func (m *MockCredentialAdapterClient) EXPECT() *MockCredentialAdapterClientMockRecorder
- func (m *MockCredentialAdapterClient) IssueVerifiableCredential(cred_type, did, nonce string, signature []byte) (credential_adapter.VerifiableCredential, error)
- func (m *MockCredentialAdapterClient) PresentVerifiableCredential(creds []model.SerializedDocument, proof model.Proof, did, nonce string, ...) error
- type MockCredentialAdapterClientMockRecorder
- func (mr *MockCredentialAdapterClientMockRecorder) Close() *gomock.Call
- func (mr *MockCredentialAdapterClientMockRecorder) CreateIssuanceChallenge(cred_type, did interface{}) *gomock.Call
- func (mr *MockCredentialAdapterClientMockRecorder) CreatePresentationChallenge(credTypes interface{}) *gomock.Call
- func (mr *MockCredentialAdapterClientMockRecorder) IssueVerifiableCredential(cred_type, did, nonce, signature interface{}) *gomock.Call
- func (mr *MockCredentialAdapterClientMockRecorder) PresentVerifiableCredential(creds, proof, did, nonce, signature interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockCredentialAdapterClient ¶
type MockCredentialAdapterClient struct {
// contains filtered or unexported fields
}
MockCredentialAdapterClient is a mock of CredentialAdapterClient interface.
func NewMockCredentialAdapterClient ¶
func NewMockCredentialAdapterClient(ctrl *gomock.Controller) *MockCredentialAdapterClient
NewMockCredentialAdapterClient creates a new mock instance.
func (*MockCredentialAdapterClient) Close ¶
func (m *MockCredentialAdapterClient) Close() error
Close mocks base method.
func (*MockCredentialAdapterClient) CreateIssuanceChallenge ¶
func (m *MockCredentialAdapterClient) CreateIssuanceChallenge(cred_type, did string) (credential_adapter.IssuanceChallenge, error)
CreateIssuanceChallenge mocks base method.
func (*MockCredentialAdapterClient) CreatePresentationChallenge ¶
func (m *MockCredentialAdapterClient) CreatePresentationChallenge(credTypes []string) (*credential_adapter.PresentationChallenge, error)
CreatePresentationChallenge mocks base method.
func (*MockCredentialAdapterClient) EXPECT ¶
func (m *MockCredentialAdapterClient) EXPECT() *MockCredentialAdapterClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockCredentialAdapterClient) IssueVerifiableCredential ¶
func (m *MockCredentialAdapterClient) IssueVerifiableCredential(cred_type, did, nonce string, signature []byte) (credential_adapter.VerifiableCredential, error)
IssueVerifiableCredential mocks base method.
func (*MockCredentialAdapterClient) PresentVerifiableCredential ¶
func (m *MockCredentialAdapterClient) PresentVerifiableCredential(creds []model.SerializedDocument, proof model.Proof, did, nonce string, signature []byte) error
PresentVerifiableCredential mocks base method.
type MockCredentialAdapterClientMockRecorder ¶
type MockCredentialAdapterClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCredentialAdapterClientMockRecorder is the mock recorder for MockCredentialAdapterClient.
func (*MockCredentialAdapterClientMockRecorder) Close ¶
func (mr *MockCredentialAdapterClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MockCredentialAdapterClientMockRecorder) CreateIssuanceChallenge ¶
func (mr *MockCredentialAdapterClientMockRecorder) CreateIssuanceChallenge(cred_type, did interface{}) *gomock.Call
CreateIssuanceChallenge indicates an expected call of CreateIssuanceChallenge.
func (*MockCredentialAdapterClientMockRecorder) CreatePresentationChallenge ¶
func (mr *MockCredentialAdapterClientMockRecorder) CreatePresentationChallenge(credTypes interface{}) *gomock.Call
CreatePresentationChallenge indicates an expected call of CreatePresentationChallenge.
func (*MockCredentialAdapterClientMockRecorder) IssueVerifiableCredential ¶
func (mr *MockCredentialAdapterClientMockRecorder) IssueVerifiableCredential(cred_type, did, nonce, signature interface{}) *gomock.Call
IssueVerifiableCredential indicates an expected call of IssueVerifiableCredential.
func (*MockCredentialAdapterClientMockRecorder) PresentVerifiableCredential ¶
func (mr *MockCredentialAdapterClientMockRecorder) PresentVerifiableCredential(creds, proof, did, nonce, signature interface{}) *gomock.Call
PresentVerifiableCredential indicates an expected call of PresentVerifiableCredential.