Documentation ¶
Overview ¶
Package ciphertest is a generated GoMock package.
Package ciphertest is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockDecrypter ¶
type MockDecrypter struct {
// contains filtered or unexported fields
}
MockDecrypter is a mock of Decrypter interface.
func NewMockDecrypter ¶
func NewMockDecrypter(ctrl *gomock.Controller) *MockDecrypter
NewMockDecrypter creates a new mock instance.
func (*MockDecrypter) Decrypt ¶
func (m *MockDecrypter) Decrypt(arg0 cipher.EncryptedContent) (cipher.PlainContent, error)
Decrypt mocks base method.
func (*MockDecrypter) EXPECT ¶
func (m *MockDecrypter) EXPECT() *MockDecrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockDecrypterMockRecorder ¶
type MockDecrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockDecrypterMockRecorder is the mock recorder for MockDecrypter.
func (*MockDecrypterMockRecorder) Decrypt ¶
func (mr *MockDecrypterMockRecorder) Decrypt(arg0 interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
type MockEncrypter ¶
type MockEncrypter struct {
// contains filtered or unexported fields
}
MockEncrypter is a mock of Encrypter interface.
func NewMockEncrypter ¶
func NewMockEncrypter(ctrl *gomock.Controller) *MockEncrypter
NewMockEncrypter creates a new mock instance.
func (*MockEncrypter) EXPECT ¶
func (m *MockEncrypter) EXPECT() *MockEncrypterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockEncrypter) Encrypt ¶
func (m *MockEncrypter) Encrypt(arg0 cipher.PlainContent) (cipher.EncryptedContent, error)
Encrypt mocks base method.
type MockEncrypterMockRecorder ¶
type MockEncrypterMockRecorder struct {
// contains filtered or unexported fields
}
MockEncrypterMockRecorder is the mock recorder for MockEncrypter.
func (*MockEncrypterMockRecorder) Encrypt ¶
func (mr *MockEncrypterMockRecorder) Encrypt(arg0 interface{}) *gomock.Call
Encrypt indicates an expected call of Encrypt.
type MockKeyExchange ¶
type MockKeyExchange struct {
// contains filtered or unexported fields
}
MockKeyExchange is a mock of KeyExchange interface.
func NewMockKeyExchange ¶
func NewMockKeyExchange(ctrl *gomock.Controller) *MockKeyExchange
NewMockKeyExchange creates a new mock instance.
func (*MockKeyExchange) EXPECT ¶
func (m *MockKeyExchange) EXPECT() *MockKeyExchangeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyExchange) EphemeralKey ¶
func (m *MockKeyExchange) EphemeralKey() (crypto.PrivateKey, error)
EphemeralKey mocks base method.
func (*MockKeyExchange) SharedSecret ¶
func (m *MockKeyExchange) SharedSecret(privateKey crypto.PrivateKey, publicKey crypto.PublicKey) ([]byte, error)
SharedSecret mocks base method.
type MockKeyExchangeMockRecorder ¶
type MockKeyExchangeMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyExchangeMockRecorder is the mock recorder for MockKeyExchange.
func (*MockKeyExchangeMockRecorder) EphemeralKey ¶
func (mr *MockKeyExchangeMockRecorder) EphemeralKey() *gomock.Call
EphemeralKey indicates an expected call of EphemeralKey.
func (*MockKeyExchangeMockRecorder) SharedSecret ¶
func (mr *MockKeyExchangeMockRecorder) SharedSecret(privateKey, publicKey interface{}) *gomock.Call
SharedSecret indicates an expected call of SharedSecret.