mockcrypto

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockAEAD

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

MockAEAD is a mock of AEAD interface

func NewMockAEAD

func NewMockAEAD(ctrl *gomock.Controller) *MockAEAD

NewMockAEAD creates a new mock instance

func (*MockAEAD) EXPECT

func (_m *MockAEAD) EXPECT() *MockAEADMockRecorder

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

func (*MockAEAD) Open

func (_m *MockAEAD) Open(_param0 []byte, _param1 []byte, _param2 protocol.PacketNumber, _param3 []byte) ([]byte, error)

Open mocks base method

func (*MockAEAD) Overhead

func (_m *MockAEAD) Overhead() int

Overhead mocks base method

func (*MockAEAD) Seal

func (_m *MockAEAD) Seal(_param0 []byte, _param1 []byte, _param2 protocol.PacketNumber, _param3 []byte) []byte

Seal mocks base method

type MockAEADMockRecorder

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

MockAEADMockRecorder is the mock recorder for MockAEAD

func (*MockAEADMockRecorder) Open

func (_mr *MockAEADMockRecorder) Open(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Open indicates an expected call of Open

func (*MockAEADMockRecorder) Overhead

func (_mr *MockAEADMockRecorder) Overhead() *gomock.Call

Overhead indicates an expected call of Overhead

func (*MockAEADMockRecorder) Seal

func (_mr *MockAEADMockRecorder) Seal(arg0, arg1, arg2, arg3 interface{}) *gomock.Call

Seal indicates an expected call of Seal

Jump to

Keyboard shortcuts

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