Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type Signer
- 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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Signer ¶
type Signer struct { ExpiresAtStub func() time.Time GetIdentifierStub func() *msp.IdentityIdentifier GetMSPIdentifierStub func() string ValidateStub func() error GetOrganizationalUnitsStub func() []*msp.OUIdentifier AnonymousStub func() bool VerifyStub func(msg []byte, sig []byte) error SerializeStub func() ([]byte, error) SatisfiesPrincipalStub func(principal *mspprotos.MSPPrincipal) error SignStub func(msg []byte) ([]byte, error) GetPublicVersionStub func() msp.Identity // contains filtered or unexported fields }
func (*Signer) AnonymousReturnsOnCall ¶
func (*Signer) ExpiresAtReturnsOnCall ¶
func (*Signer) GetIdentifier ¶
func (fake *Signer) GetIdentifier() *msp.IdentityIdentifier
func (*Signer) GetIdentifierReturns ¶
func (fake *Signer) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
func (*Signer) GetIdentifierReturnsOnCall ¶
func (fake *Signer) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
func (*Signer) GetMSPIdentifierReturns ¶
func (*Signer) GetMSPIdentifierReturnsOnCall ¶
func (*Signer) GetOrganizationalUnits ¶
func (fake *Signer) GetOrganizationalUnits() []*msp.OUIdentifier
func (*Signer) GetOrganizationalUnitsCallCount ¶
func (*Signer) GetOrganizationalUnitsReturns ¶
func (fake *Signer) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
func (*Signer) GetOrganizationalUnitsReturnsOnCall ¶
func (fake *Signer) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
func (*Signer) GetPublicVersionReturns ¶
func (*Signer) GetPublicVersionReturnsOnCall ¶
func (*Signer) SatisfiesPrincipal ¶
func (fake *Signer) SatisfiesPrincipal(principal *mspprotos.MSPPrincipal) error
func (*Signer) SatisfiesPrincipalArgsForCall ¶
func (fake *Signer) SatisfiesPrincipalArgsForCall(i int) *mspprotos.MSPPrincipal
func (*Signer) SatisfiesPrincipalReturns ¶
func (*Signer) SatisfiesPrincipalReturnsOnCall ¶
func (*Signer) SerializeReturns ¶
func (*Signer) SerializeReturnsOnCall ¶
func (*Signer) SignReturnsOnCall ¶
func (*Signer) ValidateReturnsOnCall ¶
Click to show internal directories.
Click to hide internal directories.