mailchain: github.com/mailchain/mailchain/crypto/cipher/ciphertest Index | Files

package ciphertest

import "github.com/mailchain/mailchain/crypto/cipher/ciphertest"

Package ciphertest is a generated GoMock package.

Package ciphertest is a generated GoMock package.

Index

Package Files

cipher_mock.go keyexchange_mock.go

type MockDecrypter Uses

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

MockDecrypter is a mock of Decrypter interface

func NewMockDecrypter Uses

func NewMockDecrypter(ctrl *gomock.Controller) *MockDecrypter

NewMockDecrypter creates a new mock instance

func (*MockDecrypter) Decrypt Uses

func (m *MockDecrypter) Decrypt(arg0 cipher.EncryptedContent) (cipher.PlainContent, error)

Decrypt mocks base method

func (*MockDecrypter) EXPECT Uses

func (m *MockDecrypter) EXPECT() *MockDecrypterMockRecorder

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

type MockDecrypterMockRecorder Uses

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

MockDecrypterMockRecorder is the mock recorder for MockDecrypter

func (*MockDecrypterMockRecorder) Decrypt Uses

func (mr *MockDecrypterMockRecorder) Decrypt(arg0 interface{}) *gomock.Call

Decrypt indicates an expected call of Decrypt

type MockEncrypter Uses

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

MockEncrypter is a mock of Encrypter interface

func NewMockEncrypter Uses

func NewMockEncrypter(ctrl *gomock.Controller) *MockEncrypter

NewMockEncrypter creates a new mock instance

func (*MockEncrypter) EXPECT Uses

func (m *MockEncrypter) EXPECT() *MockEncrypterMockRecorder

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

func (*MockEncrypter) Encrypt Uses

func (m *MockEncrypter) Encrypt(arg0 cipher.PlainContent) (cipher.EncryptedContent, error)

Encrypt mocks base method

type MockEncrypterMockRecorder Uses

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

MockEncrypterMockRecorder is the mock recorder for MockEncrypter

func (*MockEncrypterMockRecorder) Encrypt Uses

func (mr *MockEncrypterMockRecorder) Encrypt(arg0 interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt

type MockKeyExchange Uses

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

MockKeyExchange is a mock of KeyExchange interface

func NewMockKeyExchange Uses

func NewMockKeyExchange(ctrl *gomock.Controller) *MockKeyExchange

NewMockKeyExchange creates a new mock instance

func (*MockKeyExchange) EXPECT Uses

func (m *MockKeyExchange) EXPECT() *MockKeyExchangeMockRecorder

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

func (*MockKeyExchange) EphemeralKey Uses

func (m *MockKeyExchange) EphemeralKey() (crypto.PrivateKey, error)

EphemeralKey mocks base method

func (*MockKeyExchange) SharedSecret Uses

func (m *MockKeyExchange) SharedSecret(privateKey crypto.PrivateKey, publicKey crypto.PublicKey) ([]byte, error)

SharedSecret mocks base method

type MockKeyExchangeMockRecorder Uses

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

MockKeyExchangeMockRecorder is the mock recorder for MockKeyExchange

func (*MockKeyExchangeMockRecorder) EphemeralKey Uses

func (mr *MockKeyExchangeMockRecorder) EphemeralKey() *gomock.Call

EphemeralKey indicates an expected call of EphemeralKey

func (*MockKeyExchangeMockRecorder) SharedSecret Uses

func (mr *MockKeyExchangeMockRecorder) SharedSecret(privateKey, publicKey interface{}) *gomock.Call

SharedSecret indicates an expected call of SharedSecret

Package ciphertest imports 4 packages (graph). Updated 2020-03-29. Refresh now. Tools for package owners.