import "github.com/mailchain/mailchain/crypto/cipher/ciphertest"
Package ciphertest is a generated GoMock package.
type MockDecrypter struct {
// contains filtered or unexported fields
}
MockDecrypter is a mock of Decrypter interface
func NewMockDecrypter(ctrl *gomock.Controller) *MockDecrypter
NewMockDecrypter creates a new mock instance
func (m *MockDecrypter) Decrypt(arg0 cipher.EncryptedContent) (cipher.PlainContent, error)
Decrypt mocks base method
func (m *MockDecrypter) EXPECT() *MockDecrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockDecrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockDecrypterMockRecorder is the mock recorder for MockDecrypter
func (mr *MockDecrypterMockRecorder) Decrypt(arg0 interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt
type MockEncrypter struct {
// contains filtered or unexported fields
}
MockEncrypter is a mock of Encrypter interface
func NewMockEncrypter(ctrl *gomock.Controller) *MockEncrypter
NewMockEncrypter creates a new mock instance
func (m *MockEncrypter) EXPECT() *MockEncrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (m *MockEncrypter) Encrypt(pub crypto.PublicKey, plain cipher.PlainContent) (cipher.EncryptedContent, error)
Encrypt mocks base method
type MockEncrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockEncrypterMockRecorder is the mock recorder for MockEncrypter
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.