Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockKeyManager
- func (m *MockKeyManager) CreateNewED25519Key(arg0 int64) ([]byte, []byte, int64, uint32, error)
- func (m *MockKeyManager) CreateNewP384Key(arg0 int64) (*ecdsa.PrivateKey, int64, uint32, error)
- func (m *MockKeyManager) CreateNewSECP256K1Key(arg0 int64) (*ecdsa.PrivateKey, int64, uint32, error)
- func (m *MockKeyManager) Decrypt(arg0, arg1, arg2, arg3 string) ([]byte, error)
- func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder
- func (m *MockKeyManager) GetChildKey(arg0 int64) ([]byte, error)
- func (m *MockKeyManager) GetChildrenKeys(arg0 int64) ([][]byte, []uint32, error)
- func (m *MockKeyManager) GetIndex(arg0 int64) (uint32, error)
- func (m *MockKeyManager) GetSeed() (string, error)
- func (m *MockKeyManager) InitSeed(arg0, arg1 string) (string, error)
- func (m *MockKeyManager) IsLocked() bool
- func (m *MockKeyManager) NewChild(arg0 int64, arg1 uint32) (int64, []byte, uint32, error)
- func (m *MockKeyManager) UnlockSeed(arg0 string) error
- type MockKeyManagerMockRecorder
- func (mr *MockKeyManagerMockRecorder) CreateNewED25519Key(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) CreateNewP384Key(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) CreateNewSECP256K1Key(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) Decrypt(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) GetChildKey(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) GetChildrenKeys(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) GetIndex(arg0 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) GetSeed() *gomock.Call
- func (mr *MockKeyManagerMockRecorder) InitSeed(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) IsLocked() *gomock.Call
- func (mr *MockKeyManagerMockRecorder) NewChild(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockKeyManagerMockRecorder) UnlockSeed(arg0 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockKeyManager ¶
type MockKeyManager struct {
// contains filtered or unexported fields
}
MockKeyManager is a mock of KeyManager interface.
func NewMockKeyManager ¶
func NewMockKeyManager(ctrl *gomock.Controller) *MockKeyManager
NewMockKeyManager creates a new mock instance.
func (*MockKeyManager) CreateNewED25519Key ¶
CreateNewED25519Key mocks base method.
func (*MockKeyManager) CreateNewP384Key ¶
func (m *MockKeyManager) CreateNewP384Key(arg0 int64) (*ecdsa.PrivateKey, int64, uint32, error)
CreateNewP384Key mocks base method.
func (*MockKeyManager) CreateNewSECP256K1Key ¶
func (m *MockKeyManager) CreateNewSECP256K1Key(arg0 int64) (*ecdsa.PrivateKey, int64, uint32, error)
CreateNewSECP256K1Key mocks base method.
func (*MockKeyManager) Decrypt ¶
func (m *MockKeyManager) Decrypt(arg0, arg1, arg2, arg3 string) ([]byte, error)
Decrypt mocks base method.
func (*MockKeyManager) EXPECT ¶
func (m *MockKeyManager) EXPECT() *MockKeyManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockKeyManager) GetChildKey ¶
func (m *MockKeyManager) GetChildKey(arg0 int64) ([]byte, error)
GetChildKey mocks base method.
func (*MockKeyManager) GetChildrenKeys ¶
func (m *MockKeyManager) GetChildrenKeys(arg0 int64) ([][]byte, []uint32, error)
GetChildrenKeys mocks base method.
func (*MockKeyManager) GetIndex ¶
func (m *MockKeyManager) GetIndex(arg0 int64) (uint32, error)
GetIndex mocks base method.
func (*MockKeyManager) GetSeed ¶
func (m *MockKeyManager) GetSeed() (string, error)
GetSeed mocks base method.
func (*MockKeyManager) InitSeed ¶
func (m *MockKeyManager) InitSeed(arg0, arg1 string) (string, error)
InitSeed mocks base method.
func (*MockKeyManager) IsLocked ¶
func (m *MockKeyManager) IsLocked() bool
IsLocked mocks base method.
func (*MockKeyManager) UnlockSeed ¶
func (m *MockKeyManager) UnlockSeed(arg0 string) error
UnlockSeed mocks base method.
type MockKeyManagerMockRecorder ¶
type MockKeyManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockKeyManagerMockRecorder is the mock recorder for MockKeyManager.
func (*MockKeyManagerMockRecorder) CreateNewED25519Key ¶
func (mr *MockKeyManagerMockRecorder) CreateNewED25519Key(arg0 interface{}) *gomock.Call
CreateNewED25519Key indicates an expected call of CreateNewED25519Key.
func (*MockKeyManagerMockRecorder) CreateNewP384Key ¶
func (mr *MockKeyManagerMockRecorder) CreateNewP384Key(arg0 interface{}) *gomock.Call
CreateNewP384Key indicates an expected call of CreateNewP384Key.
func (*MockKeyManagerMockRecorder) CreateNewSECP256K1Key ¶
func (mr *MockKeyManagerMockRecorder) CreateNewSECP256K1Key(arg0 interface{}) *gomock.Call
CreateNewSECP256K1Key indicates an expected call of CreateNewSECP256K1Key.
func (*MockKeyManagerMockRecorder) Decrypt ¶
func (mr *MockKeyManagerMockRecorder) Decrypt(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Decrypt indicates an expected call of Decrypt.
func (*MockKeyManagerMockRecorder) GetChildKey ¶
func (mr *MockKeyManagerMockRecorder) GetChildKey(arg0 interface{}) *gomock.Call
GetChildKey indicates an expected call of GetChildKey.
func (*MockKeyManagerMockRecorder) GetChildrenKeys ¶
func (mr *MockKeyManagerMockRecorder) GetChildrenKeys(arg0 interface{}) *gomock.Call
GetChildrenKeys indicates an expected call of GetChildrenKeys.
func (*MockKeyManagerMockRecorder) GetIndex ¶
func (mr *MockKeyManagerMockRecorder) GetIndex(arg0 interface{}) *gomock.Call
GetIndex indicates an expected call of GetIndex.
func (*MockKeyManagerMockRecorder) GetSeed ¶
func (mr *MockKeyManagerMockRecorder) GetSeed() *gomock.Call
GetSeed indicates an expected call of GetSeed.
func (*MockKeyManagerMockRecorder) InitSeed ¶
func (mr *MockKeyManagerMockRecorder) InitSeed(arg0, arg1 interface{}) *gomock.Call
InitSeed indicates an expected call of InitSeed.
func (*MockKeyManagerMockRecorder) IsLocked ¶
func (mr *MockKeyManagerMockRecorder) IsLocked() *gomock.Call
IsLocked indicates an expected call of IsLocked.
func (*MockKeyManagerMockRecorder) NewChild ¶
func (mr *MockKeyManagerMockRecorder) NewChild(arg0, arg1 interface{}) *gomock.Call
NewChild indicates an expected call of NewChild.
func (*MockKeyManagerMockRecorder) UnlockSeed ¶
func (mr *MockKeyManagerMockRecorder) UnlockSeed(arg0 interface{}) *gomock.Call
UnlockSeed indicates an expected call of UnlockSeed.