Documentation ¶
Overview ¶
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。不要编辑。
Index ¶
- type Deserializer
- 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
- 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
- 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
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deserializer ¶
type Deserializer struct { DeserializeIdentityStub func(serializedIdentity []byte) (msp.Identity, error) // contains filtered or unexported fields }
func (*Deserializer) DeserializeIdentity ¶
func (fake *Deserializer) DeserializeIdentity(serializedIdentity []byte) (msp.Identity, error)
func (*Deserializer) DeserializeIdentityArgsForCall ¶
func (fake *Deserializer) DeserializeIdentityArgsForCall(i int) []byte
func (*Deserializer) DeserializeIdentityCallCount ¶
func (fake *Deserializer) DeserializeIdentityCallCount() int
func (*Deserializer) DeserializeIdentityReturns ¶
func (fake *Deserializer) DeserializeIdentityReturns(result1 msp.Identity, result2 error)
func (*Deserializer) DeserializeIdentityReturnsOnCall ¶
func (fake *Deserializer) DeserializeIdentityReturnsOnCall(i int, result1 msp.Identity, result2 error)
func (*Deserializer) Invocations ¶
func (fake *Deserializer) Invocations() map[string][][]interface{}
type DeserializerManager ¶
type DeserializerManager struct { DeserializerStub func(channel string) (identity.Deserializer, error) // contains filtered or unexported fields }
func (*DeserializerManager) Deserializer ¶
func (fake *DeserializerManager) Deserializer(channel string) (identity.Deserializer, error)
func (*DeserializerManager) DeserializerArgsForCall ¶
func (fake *DeserializerManager) DeserializerArgsForCall(i int) string
func (*DeserializerManager) DeserializerCallCount ¶
func (fake *DeserializerManager) DeserializerCallCount() int
func (*DeserializerManager) DeserializerReturns ¶
func (fake *DeserializerManager) DeserializerReturns(result1 identity.Deserializer, result2 error)
func (*DeserializerManager) DeserializerReturnsOnCall ¶
func (fake *DeserializerManager) DeserializerReturnsOnCall(i int, result1 identity.Deserializer, result2 error)
func (*DeserializerManager) Invocations ¶
func (fake *DeserializerManager) Invocations() map[string][][]interface{}
type Identity ¶
type Identity 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 // contains filtered or unexported fields }
func (*Identity) AnonymousCallCount ¶
func (*Identity) AnonymousReturns ¶
func (*Identity) AnonymousReturnsOnCall ¶
func (*Identity) ExpiresAtCallCount ¶
func (*Identity) ExpiresAtReturns ¶
func (*Identity) ExpiresAtReturnsOnCall ¶
func (*Identity) GetIdentifier ¶
func (fake *Identity) GetIdentifier() *msp.IdentityIdentifier
func (*Identity) GetIdentifierCallCount ¶
func (*Identity) GetIdentifierReturns ¶
func (fake *Identity) GetIdentifierReturns(result1 *msp.IdentityIdentifier)
func (*Identity) GetIdentifierReturnsOnCall ¶
func (fake *Identity) GetIdentifierReturnsOnCall(i int, result1 *msp.IdentityIdentifier)
func (*Identity) GetMSPIdentifier ¶
func (*Identity) GetMSPIdentifierCallCount ¶
func (*Identity) GetMSPIdentifierReturns ¶
func (*Identity) GetMSPIdentifierReturnsOnCall ¶
func (*Identity) GetOrganizationalUnits ¶
func (fake *Identity) GetOrganizationalUnits() []*msp.OUIdentifier
func (*Identity) GetOrganizationalUnitsCallCount ¶
func (*Identity) GetOrganizationalUnitsReturns ¶
func (fake *Identity) GetOrganizationalUnitsReturns(result1 []*msp.OUIdentifier)
func (*Identity) GetOrganizationalUnitsReturnsOnCall ¶
func (fake *Identity) GetOrganizationalUnitsReturnsOnCall(i int, result1 []*msp.OUIdentifier)
func (*Identity) Invocations ¶
func (*Identity) SatisfiesPrincipal ¶
func (fake *Identity) SatisfiesPrincipal(principal *mspprotos.MSPPrincipal) error
func (*Identity) SatisfiesPrincipalArgsForCall ¶
func (fake *Identity) SatisfiesPrincipalArgsForCall(i int) *mspprotos.MSPPrincipal
func (*Identity) SatisfiesPrincipalCallCount ¶
func (*Identity) SatisfiesPrincipalReturns ¶
func (*Identity) SatisfiesPrincipalReturnsOnCall ¶
func (*Identity) SerializeCallCount ¶
func (*Identity) SerializeReturns ¶
func (*Identity) SerializeReturnsOnCall ¶
func (*Identity) ValidateCallCount ¶
func (*Identity) ValidateReturns ¶
func (*Identity) ValidateReturnsOnCall ¶
func (*Identity) VerifyArgsForCall ¶
func (*Identity) VerifyCallCount ¶
func (*Identity) VerifyReturns ¶
func (*Identity) VerifyReturnsOnCall ¶
type IssuingValidator ¶
type IssuingValidator struct { ValidateStub func(creator identity.PublicInfo, tokenType string) error // contains filtered or unexported fields }
func (*IssuingValidator) Invocations ¶
func (fake *IssuingValidator) Invocations() map[string][][]interface{}
func (*IssuingValidator) Validate ¶
func (fake *IssuingValidator) Validate(creator identity.PublicInfo, tokenType string) error
func (*IssuingValidator) ValidateArgsForCall ¶
func (fake *IssuingValidator) ValidateArgsForCall(i int) (identity.PublicInfo, string)
func (*IssuingValidator) ValidateCallCount ¶
func (fake *IssuingValidator) ValidateCallCount() int
func (*IssuingValidator) ValidateReturns ¶
func (fake *IssuingValidator) ValidateReturns(result1 error)
func (*IssuingValidator) ValidateReturnsOnCall ¶
func (fake *IssuingValidator) ValidateReturnsOnCall(i int, result1 error)
type PublicInfo ¶
type PublicInfo struct { PublicStub func() []byte // contains filtered or unexported fields }
func (*PublicInfo) Invocations ¶
func (fake *PublicInfo) Invocations() map[string][][]interface{}
func (*PublicInfo) Public ¶
func (fake *PublicInfo) Public() []byte
func (*PublicInfo) PublicCallCount ¶
func (fake *PublicInfo) PublicCallCount() int
func (*PublicInfo) PublicReturns ¶
func (fake *PublicInfo) PublicReturns(result1 []byte)
func (*PublicInfo) PublicReturnsOnCall ¶
func (fake *PublicInfo) PublicReturnsOnCall(i int, result1 []byte)