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.

Index

Package Files

cipher_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(pub crypto.PublicKey, plain 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(pub, plain interface{}) *gomock.Call

Encrypt indicates an expected call of Encrypt

Package ciphertest imports 4 packages (graph). Updated 2019-07-31. Refresh now. Tools for package owners.