cryptotest

package
v0.0.0-...-72bc2f9 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package cryptotest is a generated GoMock package.

Package cryptotest is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPrivateKey

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

MockPrivateKey is a mock of PrivateKey interface.

func NewMockPrivateKey

func NewMockPrivateKey(ctrl *gomock.Controller) *MockPrivateKey

NewMockPrivateKey creates a new mock instance.

func (*MockPrivateKey) Bytes

func (m *MockPrivateKey) Bytes() []byte

Bytes mocks base method.

func (*MockPrivateKey) EXPECT

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

func (*MockPrivateKey) Kind

func (m *MockPrivateKey) Kind() string

Kind mocks base method.

func (*MockPrivateKey) PublicKey

func (m *MockPrivateKey) PublicKey() crypto.PublicKey

PublicKey mocks base method.

func (*MockPrivateKey) Sign

func (m *MockPrivateKey) Sign(message []byte) ([]byte, error)

Sign mocks base method.

type MockPrivateKeyMockRecorder

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

MockPrivateKeyMockRecorder is the mock recorder for MockPrivateKey.

func (*MockPrivateKeyMockRecorder) Bytes

func (mr *MockPrivateKeyMockRecorder) Bytes() *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockPrivateKeyMockRecorder) Kind

Kind indicates an expected call of Kind.

func (*MockPrivateKeyMockRecorder) PublicKey

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

PublicKey indicates an expected call of PublicKey.

func (*MockPrivateKeyMockRecorder) Sign

func (mr *MockPrivateKeyMockRecorder) Sign(message interface{}) *gomock.Call

Sign indicates an expected call of Sign.

type MockPublicKey

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

MockPublicKey is a mock of PublicKey interface.

func NewMockPublicKey

func NewMockPublicKey(ctrl *gomock.Controller) *MockPublicKey

NewMockPublicKey creates a new mock instance.

func (*MockPublicKey) Bytes

func (m *MockPublicKey) Bytes() []byte

Bytes mocks base method.

func (*MockPublicKey) EXPECT

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

func (*MockPublicKey) Kind

func (m *MockPublicKey) Kind() string

Kind mocks base method.

func (*MockPublicKey) Verify

func (m *MockPublicKey) Verify(message, sig []byte) bool

Verify mocks base method.

type MockPublicKeyMockRecorder

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

MockPublicKeyMockRecorder is the mock recorder for MockPublicKey.

func (*MockPublicKeyMockRecorder) Bytes

func (mr *MockPublicKeyMockRecorder) Bytes() *gomock.Call

Bytes indicates an expected call of Bytes.

func (*MockPublicKeyMockRecorder) Kind

Kind indicates an expected call of Kind.

func (*MockPublicKeyMockRecorder) Verify

func (mr *MockPublicKeyMockRecorder) Verify(message, 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