Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type SigningIdentity
- func (fake *SigningIdentity) Anonymous() bool
- func (fake *SigningIdentity) AnonymousCallCount() int
- func (fake *SigningIdentity) AnonymousCalls(stub func() bool)
- func (fake *SigningIdentity) AnonymousReturns(result1 bool)
- func (fake *SigningIdentity) AnonymousReturnsOnCall(i int, result1 bool)
- func (fake *SigningIdentity) ExpiresAt() time.Time
- func (fake *SigningIdentity) ExpiresAtCallCount() int
- func (fake *SigningIdentity) ExpiresAtCalls(stub func() time.Time)
- func (fake *SigningIdentity) ExpiresAtReturns(result1 time.Time)
- func (fake *SigningIdentity) ExpiresAtReturnsOnCall(i int, result1 time.Time)
- func (fake *SigningIdentity) GetIdentifier() *msp.IdentityIdentifier
- func (fake *SigningIdentity) GetIdentifierCallCount() int
- func (fake *SigningIdentity) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)
- func (fake *SigningIdentity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
- func (fake *SigningIdentity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
- func (fake *SigningIdentity) GetMSPIdentifier() string
- func (fake *SigningIdentity) GetMSPIdentifierCallCount() int
- func (fake *SigningIdentity) GetMSPIdentifierCalls(stub func() string)
- func (fake *SigningIdentity) GetMSPIdentifierReturns(result1 string)
- func (fake *SigningIdentity) GetMSPIdentifierReturnsOnCall(i int, result1 string)
- func (fake *SigningIdentity) GetOrganizationalUnits() []*msp.OUIdentifier
- func (fake *SigningIdentity) GetOrganizationalUnitsCallCount() int
- func (fake *SigningIdentity) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)
- func (fake *SigningIdentity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
- func (fake *SigningIdentity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
- func (fake *SigningIdentity) GetPublicVersion() msp.Identity
- func (fake *SigningIdentity) GetPublicVersionCallCount() int
- func (fake *SigningIdentity) GetPublicVersionCalls(stub func() msp.Identity)
- func (fake *SigningIdentity) GetPublicVersionReturns(result1 msp.Identity)
- func (fake *SigningIdentity) GetPublicVersionReturnsOnCall(i int, result1 msp.Identity)
- func (fake *SigningIdentity) Invocations() map[string][][]interface{}
- func (fake *SigningIdentity) SatisfiesPrincipal(arg1 *mspa.MSPPrincipal) error
- func (fake *SigningIdentity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal
- func (fake *SigningIdentity) SatisfiesPrincipalCallCount() int
- func (fake *SigningIdentity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)
- func (fake *SigningIdentity) SatisfiesPrincipalReturns(result1 error)
- func (fake *SigningIdentity) SatisfiesPrincipalReturnsOnCall(i int, result1 error)
- func (fake *SigningIdentity) Serialize() ([]byte, error)
- func (fake *SigningIdentity) SerializeCallCount() int
- func (fake *SigningIdentity) SerializeCalls(stub func() ([]byte, error))
- func (fake *SigningIdentity) SerializeReturns(result1 []byte, result2 error)
- func (fake *SigningIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SigningIdentity) Sign(arg1 []byte) ([]byte, error)
- func (fake *SigningIdentity) SignArgsForCall(i int) []byte
- func (fake *SigningIdentity) SignCallCount() int
- func (fake *SigningIdentity) SignCalls(stub func([]byte) ([]byte, error))
- func (fake *SigningIdentity) SignReturns(result1 []byte, result2 error)
- func (fake *SigningIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *SigningIdentity) Validate() error
- func (fake *SigningIdentity) ValidateCallCount() int
- func (fake *SigningIdentity) ValidateCalls(stub func() error)
- func (fake *SigningIdentity) ValidateReturns(result1 error)
- func (fake *SigningIdentity) ValidateReturnsOnCall(i int, result1 error)
- func (fake *SigningIdentity) Verify(arg1 []byte, arg2 []byte) error
- func (fake *SigningIdentity) VerifyArgsForCall(i int) ([]byte, []byte)
- func (fake *SigningIdentity) VerifyCallCount() int
- func (fake *SigningIdentity) VerifyCalls(stub func([]byte, []byte) error)
- func (fake *SigningIdentity) VerifyReturns(result1 error)
- func (fake *SigningIdentity) VerifyReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SigningIdentity ¶
type SigningIdentity 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(*mspa.MSPPrincipal) error SerializeStub func() ([]byte, error) SignStub func([]byte) ([]byte, error) ValidateStub func() error VerifyStub func([]byte, []byte) error // contains filtered or unexported fields }
func (*SigningIdentity) Anonymous ¶
func (fake *SigningIdentity) Anonymous() bool
func (*SigningIdentity) AnonymousCallCount ¶
func (fake *SigningIdentity) AnonymousCallCount() int
func (*SigningIdentity) AnonymousCalls ¶
func (fake *SigningIdentity) AnonymousCalls(stub func() bool)
func (*SigningIdentity) AnonymousReturns ¶
func (fake *SigningIdentity) AnonymousReturns(result1 bool)
func (*SigningIdentity) AnonymousReturnsOnCall ¶
func (fake *SigningIdentity) AnonymousReturnsOnCall(i int, result1 bool)
func (*SigningIdentity) ExpiresAt ¶
func (fake *SigningIdentity) ExpiresAt() time.Time
func (*SigningIdentity) ExpiresAtCallCount ¶
func (fake *SigningIdentity) ExpiresAtCallCount() int
func (*SigningIdentity) ExpiresAtCalls ¶
func (fake *SigningIdentity) ExpiresAtCalls(stub func() time.Time)
func (*SigningIdentity) ExpiresAtReturns ¶
func (fake *SigningIdentity) ExpiresAtReturns(result1 time.Time)
func (*SigningIdentity) ExpiresAtReturnsOnCall ¶
func (fake *SigningIdentity) ExpiresAtReturnsOnCall(i int, result1 time.Time)
func (*SigningIdentity) GetIdentifier ¶
func (fake *SigningIdentity) GetIdentifier() *msp.IdentityIdentifier
func (*SigningIdentity) GetIdentifierCallCount ¶
func (fake *SigningIdentity) GetIdentifierCallCount() int
func (*SigningIdentity) GetIdentifierCalls ¶
func (fake *SigningIdentity) GetIdentifierCalls(stub func() *msp.IdentityIdentifier)
func (*SigningIdentity) GetIdentifierReturns ¶
func (fake *SigningIdentity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
func (*SigningIdentity) GetIdentifierReturnsOnCall ¶
func (fake *SigningIdentity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
func (*SigningIdentity) GetMSPIdentifier ¶
func (fake *SigningIdentity) GetMSPIdentifier() string
func (*SigningIdentity) GetMSPIdentifierCallCount ¶
func (fake *SigningIdentity) GetMSPIdentifierCallCount() int
func (*SigningIdentity) GetMSPIdentifierCalls ¶
func (fake *SigningIdentity) GetMSPIdentifierCalls(stub func() string)
func (*SigningIdentity) GetMSPIdentifierReturns ¶
func (fake *SigningIdentity) GetMSPIdentifierReturns(result1 string)
func (*SigningIdentity) GetMSPIdentifierReturnsOnCall ¶
func (fake *SigningIdentity) GetMSPIdentifierReturnsOnCall(i int, result1 string)
func (*SigningIdentity) GetOrganizationalUnits ¶
func (fake *SigningIdentity) GetOrganizationalUnits() []*msp.OUIdentifier
func (*SigningIdentity) GetOrganizationalUnitsCallCount ¶
func (fake *SigningIdentity) GetOrganizationalUnitsCallCount() int
func (*SigningIdentity) GetOrganizationalUnitsCalls ¶
func (fake *SigningIdentity) GetOrganizationalUnitsCalls(stub func() []*msp.OUIdentifier)
func (*SigningIdentity) GetOrganizationalUnitsReturns ¶
func (fake *SigningIdentity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
func (*SigningIdentity) GetOrganizationalUnitsReturnsOnCall ¶
func (fake *SigningIdentity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
func (*SigningIdentity) GetPublicVersion ¶
func (fake *SigningIdentity) GetPublicVersion() msp.Identity
func (*SigningIdentity) GetPublicVersionCallCount ¶
func (fake *SigningIdentity) GetPublicVersionCallCount() int
func (*SigningIdentity) GetPublicVersionCalls ¶
func (fake *SigningIdentity) GetPublicVersionCalls(stub func() msp.Identity)
func (*SigningIdentity) GetPublicVersionReturns ¶
func (fake *SigningIdentity) GetPublicVersionReturns(result1 msp.Identity)
func (*SigningIdentity) GetPublicVersionReturnsOnCall ¶
func (fake *SigningIdentity) GetPublicVersionReturnsOnCall(i int, result1 msp.Identity)
func (*SigningIdentity) Invocations ¶
func (fake *SigningIdentity) Invocations() map[string][][]interface{}
func (*SigningIdentity) SatisfiesPrincipal ¶
func (fake *SigningIdentity) SatisfiesPrincipal(arg1 *mspa.MSPPrincipal) error
func (*SigningIdentity) SatisfiesPrincipalArgsForCall ¶
func (fake *SigningIdentity) SatisfiesPrincipalArgsForCall(i int) *mspa.MSPPrincipal
func (*SigningIdentity) SatisfiesPrincipalCallCount ¶
func (fake *SigningIdentity) SatisfiesPrincipalCallCount() int
func (*SigningIdentity) SatisfiesPrincipalCalls ¶
func (fake *SigningIdentity) SatisfiesPrincipalCalls(stub func(*mspa.MSPPrincipal) error)
func (*SigningIdentity) SatisfiesPrincipalReturns ¶
func (fake *SigningIdentity) SatisfiesPrincipalReturns(result1 error)
func (*SigningIdentity) SatisfiesPrincipalReturnsOnCall ¶
func (fake *SigningIdentity) SatisfiesPrincipalReturnsOnCall(i int, result1 error)
func (*SigningIdentity) Serialize ¶
func (fake *SigningIdentity) Serialize() ([]byte, error)
func (*SigningIdentity) SerializeCallCount ¶
func (fake *SigningIdentity) SerializeCallCount() int
func (*SigningIdentity) SerializeCalls ¶
func (fake *SigningIdentity) SerializeCalls(stub func() ([]byte, error))
func (*SigningIdentity) SerializeReturns ¶
func (fake *SigningIdentity) SerializeReturns(result1 []byte, result2 error)
func (*SigningIdentity) SerializeReturnsOnCall ¶
func (fake *SigningIdentity) SerializeReturnsOnCall(i int, result1 []byte, result2 error)
func (*SigningIdentity) Sign ¶
func (fake *SigningIdentity) Sign(arg1 []byte) ([]byte, error)
func (*SigningIdentity) SignArgsForCall ¶
func (fake *SigningIdentity) SignArgsForCall(i int) []byte
func (*SigningIdentity) SignCallCount ¶
func (fake *SigningIdentity) SignCallCount() int
func (*SigningIdentity) SignCalls ¶
func (fake *SigningIdentity) SignCalls(stub func([]byte) ([]byte, error))
func (*SigningIdentity) SignReturns ¶
func (fake *SigningIdentity) SignReturns(result1 []byte, result2 error)
func (*SigningIdentity) SignReturnsOnCall ¶
func (fake *SigningIdentity) SignReturnsOnCall(i int, result1 []byte, result2 error)
func (*SigningIdentity) Validate ¶
func (fake *SigningIdentity) Validate() error
func (*SigningIdentity) ValidateCallCount ¶
func (fake *SigningIdentity) ValidateCallCount() int
func (*SigningIdentity) ValidateCalls ¶
func (fake *SigningIdentity) ValidateCalls(stub func() error)
func (*SigningIdentity) ValidateReturns ¶
func (fake *SigningIdentity) ValidateReturns(result1 error)
func (*SigningIdentity) ValidateReturnsOnCall ¶
func (fake *SigningIdentity) ValidateReturnsOnCall(i int, result1 error)
func (*SigningIdentity) Verify ¶
func (fake *SigningIdentity) Verify(arg1 []byte, arg2 []byte) error
func (*SigningIdentity) VerifyArgsForCall ¶
func (fake *SigningIdentity) VerifyArgsForCall(i int) ([]byte, []byte)
func (*SigningIdentity) VerifyCallCount ¶
func (fake *SigningIdentity) VerifyCallCount() int
func (*SigningIdentity) VerifyCalls ¶
func (fake *SigningIdentity) VerifyCalls(stub func([]byte, []byte) error)
func (*SigningIdentity) VerifyReturns ¶
func (fake *SigningIdentity) VerifyReturns(result1 error)
func (*SigningIdentity) VerifyReturnsOnCall ¶
func (fake *SigningIdentity) VerifyReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.