Versions in this module Expand all Collapse all v0 v0.3.5 Dec 30, 2021 v0.3.4 Dec 28, 2021 Changes in this version + type MockStateManager struct + func NewMockStateManager(ctrl *gomock.Controller) *MockStateManager + func (m *MockStateManager) AddCosignature(arg0 context.Context, arg1 *types.PublicKey, arg2 *types.Signature) error + func (m *MockStateManager) Cosigned(arg0 context.Context) (*types.CosignedTreeHead, error) + func (m *MockStateManager) EXPECT() *MockStateManagerMockRecorder + func (m *MockStateManager) Latest(arg0 context.Context) (*types.SignedTreeHead, error) + func (m *MockStateManager) Run(arg0 context.Context) + func (m *MockStateManager) ToSign(arg0 context.Context) (*types.SignedTreeHead, error) + type MockStateManagerMockRecorder struct + func (mr *MockStateManagerMockRecorder) AddCosignature(arg0, arg1, arg2 interface{}) *gomock.Call + func (mr *MockStateManagerMockRecorder) Cosigned(arg0 interface{}) *gomock.Call + func (mr *MockStateManagerMockRecorder) Latest(arg0 interface{}) *gomock.Call + func (mr *MockStateManagerMockRecorder) Run(arg0 interface{}) *gomock.Call + func (mr *MockStateManagerMockRecorder) ToSign(arg0 interface{}) *gomock.Call + type TestSigner struct + Error error + PublicKey [ed25519.PublicKeySize]byte + Signature [ed25519.SignatureSize]byte + func (ts *TestSigner) Public() crypto.PublicKey + func (ts *TestSigner) Sign(rand io.Reader, digest []byte, opts crypto.SignerOpts) ([]byte, error)