Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type P2PSignerStub ¶ added in v1.6.0
type P2PSignerStub struct { SignCalled func(payload []byte) ([]byte, error) VerifyCalled func(payload []byte, pid core.PeerID, signature []byte) error SignUsingPrivateKeyCalled func(skBytes []byte, payload []byte) ([]byte, error) }
P2PSignerStub -
func (*P2PSignerStub) IsInterfaceNil ¶ added in v1.6.0
func (stub *P2PSignerStub) IsInterfaceNil() bool
IsInterfaceNil -
func (*P2PSignerStub) Sign ¶ added in v1.6.0
func (stub *P2PSignerStub) Sign(payload []byte) ([]byte, error)
Sign -
func (*P2PSignerStub) SignUsingPrivateKey ¶ added in v1.6.0
func (stub *P2PSignerStub) SignUsingPrivateKey(skBytes []byte, payload []byte) ([]byte, error)
SignUsingPrivateKey -
Click to show internal directories.
Click to hide internal directories.