Versions in this module Expand all Collapse all v1 v1.4.9 Jul 22, 2021 Changes in this version + type MockIdentity struct + ID string + func (*MockIdentity) GetMSPIdentifier() string + func (*MockIdentity) GetOrganizationalUnits() []*msp.OUIdentifier + func (*MockIdentity) Serialize() ([]byte, error) + func (*MockIdentity) Verify(msg []byte, sig []byte) error + func (m *MockIdentity) Anonymous() bool + func (m *MockIdentity) ExpiresAt() time.Time + func (m *MockIdentity) GetIdentifier() *msp.IdentityIdentifier + func (m *MockIdentity) SatisfiesPrincipal(principal *pmsp.MSPPrincipal) error + func (m *MockIdentity) Validate() error + type MockMSP struct + func (m *MockMSP) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) + func (m *MockMSP) GetDefaultSigningIdentity() (msp.SigningIdentity, error) + func (m *MockMSP) GetIdentifier() (string, error) + func (m *MockMSP) GetSigningIdentity(identifier *msp.IdentityIdentifier) (msp.SigningIdentity, error) + func (m *MockMSP) GetTLSIntermediateCerts() [][]byte + func (m *MockMSP) GetTLSRootCerts() [][]byte + func (m *MockMSP) GetType() msp.ProviderType + func (m *MockMSP) GetVersion() msp.MSPVersion + func (m *MockMSP) IsWellFormed(_ *pmsp.SerializedIdentity) error + func (m *MockMSP) SatisfiesPrincipal(id msp.Identity, principal *pmsp.MSPPrincipal) error + func (m *MockMSP) Setup(config *pmsp.MSPConfig) error + func (m *MockMSP) Validate(id msp.Identity) error + type MockSigningIdentity struct + func (*MockSigningIdentity) GetPublicVersion() msp.Identity + func (*MockSigningIdentity) Sign(msg []byte) ([]byte, error)