Versions in this module Expand all Collapse all v1 v1.2.0 Aug 30, 2023 Changes in this version + type MockFabricCAServer struct + func (s *MockFabricCAServer) Running() bool + func (s *MockFabricCAServer) Start(lis net.Listener, cryptoSuite core.CryptoSuite) + type MockKey struct + func (m *MockKey) Bytes() ([]byte, error) + func (m *MockKey) Private() bool + func (m *MockKey) PublicKey() (bccsp.Key, error) + func (m *MockKey) SKI() []byte + func (m *MockKey) Symmetric() bool + type MockSigningIdentity struct + func NewMockSigningIdentity(id string, mspid string) *MockSigningIdentity + func (m *MockSigningIdentity) EnrollmentCertificate() []byte + func (m *MockSigningIdentity) Identifier() *msp.IdentityIdentifier + func (m *MockSigningIdentity) PrivateKey() core.Key + func (m *MockSigningIdentity) PublicVersion() msp.Identity + func (m *MockSigningIdentity) Serialize() ([]byte, error) + func (m *MockSigningIdentity) SetEnrollmentCertificate(cert []byte) + func (m *MockSigningIdentity) SetPrivateKey(key core.Key) + func (m *MockSigningIdentity) Sign(msg []byte) ([]byte, error) + func (m *MockSigningIdentity) Verify(msg []byte, sig []byte) error + type MockUserStore struct + func (m *MockUserStore) Load(identifier msp.IdentityIdentifier) (*msp.UserData, error) + func (m *MockUserStore) Store(*msp.UserData) error