mocks

package
v0.2.11-beta.0 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSigner

type MockSigner struct {
	// contains filtered or unexported fields
}

MockSigner is a mock of Signer interface.

func NewMockSigner

func NewMockSigner(ctrl *gomock.Controller) *MockSigner

NewMockSigner creates a new mock instance.

func (*MockSigner) EXPECT

func (m *MockSigner) EXPECT() *MockSignerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSigner) LittleEndian

func (m *MockSigner) LittleEndian() bool

LittleEndian mocks base method.

func (*MockSigner) PublicKey

func (m *MockSigner) PublicKey() *signing.PublicKey

PublicKey mocks base method.

func (*MockSigner) Sign

func (m *MockSigner) Sign(arg0 []byte) []byte

Sign mocks base method.

type MockSignerMockRecorder

type MockSignerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSignerMockRecorder is the mock recorder for MockSigner.

func (*MockSignerMockRecorder) LittleEndian

func (mr *MockSignerMockRecorder) LittleEndian() *gomock.Call

LittleEndian indicates an expected call of LittleEndian.

func (*MockSignerMockRecorder) PublicKey

func (mr *MockSignerMockRecorder) PublicKey() *gomock.Call

PublicKey indicates an expected call of PublicKey.

func (*MockSignerMockRecorder) Sign

func (mr *MockSignerMockRecorder) Sign(arg0 interface{}) *gomock.Call

Sign indicates an expected call of Sign.

type MockVerifier

type MockVerifier struct {
	// contains filtered or unexported fields
}

MockVerifier is a mock of Verifier interface.

func NewMockVerifier

func NewMockVerifier(ctrl *gomock.Controller) *MockVerifier

NewMockVerifier creates a new mock instance.

func (*MockVerifier) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVerifier) Verify

func (m *MockVerifier) Verify(pub *signing.PublicKey, msg, sig []byte) bool

Verify mocks base method.

type MockVerifierMockRecorder

type MockVerifierMockRecorder struct {
	// contains filtered or unexported fields
}

MockVerifierMockRecorder is the mock recorder for MockVerifier.

func (*MockVerifierMockRecorder) Verify

func (mr *MockVerifierMockRecorder) Verify(pub, msg, sig interface{}) *gomock.Call

Verify indicates an expected call of Verify.

type MockVerifyExtractor

type MockVerifyExtractor struct {
	// contains filtered or unexported fields
}

MockVerifyExtractor is a mock of VerifyExtractor interface.

func NewMockVerifyExtractor

func NewMockVerifyExtractor(ctrl *gomock.Controller) *MockVerifyExtractor

NewMockVerifyExtractor creates a new mock instance.

func (*MockVerifyExtractor) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockVerifyExtractor) Extract

func (m *MockVerifyExtractor) Extract(msg, sig []byte) (*signing.PublicKey, error)

Extract mocks base method.

func (*MockVerifyExtractor) Verify

func (m *MockVerifyExtractor) Verify(pub *signing.PublicKey, msg, sig []byte) bool

Verify mocks base method.

type MockVerifyExtractorMockRecorder

type MockVerifyExtractorMockRecorder struct {
	// contains filtered or unexported fields
}

MockVerifyExtractorMockRecorder is the mock recorder for MockVerifyExtractor.

func (*MockVerifyExtractorMockRecorder) Extract

func (mr *MockVerifyExtractorMockRecorder) Extract(msg, sig interface{}) *gomock.Call

Extract indicates an expected call of Extract.

func (*MockVerifyExtractorMockRecorder) Verify

func (mr *MockVerifyExtractorMockRecorder) Verify(pub, msg, sig interface{}) *gomock.Call

Verify indicates an expected call of Verify.

Jump to

Keyboard shortcuts

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