Versions in this module Expand all Collapse all v1 v1.4.4 Nov 14, 2019 Changes in this version + type Signer struct + AnonymousStub func() bool + ExpiresAtStub func() time.Time + GetIdentifierStub func() *msp.IdentityIdentifier + GetMSPIdentifierStub func() string + GetOrganizationalUnitsStub func() []*msp.OUIdentifier + GetPublicVersionStub func() msp.Identity + SatisfiesPrincipalStub func(principal *mspprotos.MSPPrincipal) error + SerializeStub func() ([]byte, error) + SignStub func(msg []byte) ([]byte, error) + ValidateStub func() error + VerifyStub func(msg []byte, sig []byte) error + func (fake *Signer) Anonymous() bool + func (fake *Signer) AnonymousCallCount() int + func (fake *Signer) AnonymousReturns(result1 bool) + func (fake *Signer) AnonymousReturnsOnCall(i int, result1 bool) + func (fake *Signer) ExpiresAt() time.Time + func (fake *Signer) ExpiresAtCallCount() int + func (fake *Signer) ExpiresAtReturns(result1 time.Time) + func (fake *Signer) ExpiresAtReturnsOnCall(i int, result1 time.Time) + func (fake *Signer) GetIdentifier() *msp.IdentityIdentifier + func (fake *Signer) GetIdentifierCallCount() int + func (fake *Signer) GetIdentifierReturns(result1 *msp.IdentityIdentifier) + func (fake *Signer) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier) + func (fake *Signer) GetMSPIdentifier() string + func (fake *Signer) GetMSPIdentifierCallCount() int + func (fake *Signer) GetMSPIdentifierReturns(result1 string) + func (fake *Signer) GetMSPIdentifierReturnsOnCall(i int, result1 string) + func (fake *Signer) GetOrganizationalUnits() []*msp.OUIdentifier + func (fake *Signer) GetOrganizationalUnitsCallCount() int + func (fake *Signer) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier) + func (fake *Signer) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier) + func (fake *Signer) GetPublicVersion() msp.Identity + func (fake *Signer) GetPublicVersionCallCount() int + func (fake *Signer) GetPublicVersionReturns(result1 msp.Identity) + func (fake *Signer) GetPublicVersionReturnsOnCall(i int, result1 msp.Identity) + func (fake *Signer) Invocations() map[string][][]interface{} + func (fake *Signer) SatisfiesPrincipal(principal *mspprotos.MSPPrincipal) error + func (fake *Signer) SatisfiesPrincipalArgsForCall(i int) *mspprotos.MSPPrincipal + func (fake *Signer) SatisfiesPrincipalCallCount() int + func (fake *Signer) SatisfiesPrincipalReturns(result1 error) + func (fake *Signer) SatisfiesPrincipalReturnsOnCall(i int, result1 error) + func (fake *Signer) Serialize() ([]byte, error) + func (fake *Signer) SerializeCallCount() int + func (fake *Signer) SerializeReturns(result1 []byte, result2 error) + func (fake *Signer) SerializeReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *Signer) Sign(msg []byte) ([]byte, error) + func (fake *Signer) SignArgsForCall(i int) []byte + func (fake *Signer) SignCallCount() int + func (fake *Signer) SignReturns(result1 []byte, result2 error) + func (fake *Signer) SignReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *Signer) Validate() error + func (fake *Signer) ValidateCallCount() int + func (fake *Signer) ValidateReturns(result1 error) + func (fake *Signer) ValidateReturnsOnCall(i int, result1 error) + func (fake *Signer) Verify(msg []byte, sig []byte) error + func (fake *Signer) VerifyArgsForCall(i int) ([]byte, []byte) + func (fake *Signer) VerifyCallCount() int + func (fake *Signer) VerifyReturns(result1 error) + func (fake *Signer) VerifyReturnsOnCall(i int, result1 error)