Versions in this module Expand all Collapse all v1 v1.4.10 Dec 9, 2020 Changes in this version + type Deserializer struct + DeserializeIdentityStub func(serializedIdentity []byte) (msp.Identity, error) + func (fake *Deserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error) + func (fake *Deserializer) DeserializeIdentityArgsForCall(i int) []byte + func (fake *Deserializer) DeserializeIdentityCallCount() int + func (fake *Deserializer) DeserializeIdentityReturns(result1 msp.Identity, result2 error) + func (fake *Deserializer) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error) + func (fake *Deserializer) Invocations() map[string][][]interface{} + type DeserializerManager struct + DeserializerStub func(channel string) (identity.Deserializer, error) + func (fake *DeserializerManager) Deserializer(channel string) (identity.Deserializer, error) + func (fake *DeserializerManager) DeserializerArgsForCall(i int) string + func (fake *DeserializerManager) DeserializerCallCount() int + func (fake *DeserializerManager) DeserializerReturns(result1 identity.Deserializer, result2 error) + func (fake *DeserializerManager) DeserializerReturnsOnCall(i int, result1 identity.Deserializer, result2 error) + func (fake *DeserializerManager) Invocations() map[string][][]interface{} + type Identity struct + AnonymousStub func() bool + ExpiresAtStub func() time.Time + GetIdentifierStub func() *msp.IdentityIdentifier + GetMSPIdentifierStub func() string + GetOrganizationalUnitsStub func() []*msp.OUIdentifier + SatisfiesPrincipalStub func(principal *mspprotos.MSPPrincipal) error + SerializeStub func() ([]byte, error) + ValidateStub func() error + VerifyStub func(msg []byte, sig []byte) error + func (fake *Identity) Anonymous() bool + func (fake *Identity) AnonymousCallCount() int + func (fake *Identity) AnonymousReturns(result1 bool) + func (fake *Identity) AnonymousReturnsOnCall(i int, result1 bool) + func (fake *Identity) ExpiresAt() time.Time + func (fake *Identity) ExpiresAtCallCount() int + func (fake *Identity) ExpiresAtReturns(result1 time.Time) + func (fake *Identity) ExpiresAtReturnsOnCall(i int, result1 time.Time) + func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier + func (fake *Identity) GetIdentifierCallCount() int + func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier) + func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier) + func (fake *Identity) GetMSPIdentifier() string + func (fake *Identity) GetMSPIdentifierCallCount() int + func (fake *Identity) GetMSPIdentifierReturns(result1 string) + func (fake *Identity) GetMSPIdentifierReturnsOnCall(i int, result1 string) + func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier + func (fake *Identity) GetOrganizationalUnitsCallCount() int + func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier) + func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier) + func (fake *Identity) Invocations() map[string][][]interface{} + func (fake *Identity) SatisfiesPrincipal(principal *mspprotos.MSPPrincipal) error + func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspprotos.MSPPrincipal + func (fake *Identity) SatisfiesPrincipalCallCount() int + func (fake *Identity) SatisfiesPrincipalReturns(result1 error) + func (fake *Identity) SatisfiesPrincipalReturnsOnCall(i int, result1 error) + func (fake *Identity) Serialize() ([]byte, error) + func (fake *Identity) SerializeCallCount() int + func (fake *Identity) SerializeReturns(result1 []byte, result2 error) + func (fake *Identity) SerializeReturnsOnCall(i int, result1 []byte, result2 error) + func (fake *Identity) Validate() error + func (fake *Identity) ValidateCallCount() int + func (fake *Identity) ValidateReturns(result1 error) + func (fake *Identity) ValidateReturnsOnCall(i int, result1 error) + func (fake *Identity) Verify(msg []byte, sig []byte) error + func (fake *Identity) VerifyArgsForCall(i int) ([]byte, []byte) + func (fake *Identity) VerifyCallCount() int + func (fake *Identity) VerifyReturns(result1 error) + func (fake *Identity) VerifyReturnsOnCall(i int, result1 error) + type IssuingValidator struct + ValidateStub func(creator identity.PublicInfo, tokenType string) error + func (fake *IssuingValidator) Invocations() map[string][][]interface{} + func (fake *IssuingValidator) Validate(creator identity.PublicInfo, tokenType string) error + func (fake *IssuingValidator) ValidateArgsForCall(i int) (identity.PublicInfo, string) + func (fake *IssuingValidator) ValidateCallCount() int + func (fake *IssuingValidator) ValidateReturns(result1 error) + func (fake *IssuingValidator) ValidateReturnsOnCall(i int, result1 error) + type PublicInfo struct + PublicStub func() []byte + func (fake *PublicInfo) Invocations() map[string][][]interface{} + func (fake *PublicInfo) Public() []byte + func (fake *PublicInfo) PublicCallCount() int + func (fake *PublicInfo) PublicReturns(result1 []byte) + func (fake *PublicInfo) PublicReturnsOnCall(i int, result1 []byte)