Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FakeLocalSigner = &LocalSigner{ Identity: []byte("IdentityBytes"), Nonce: []byte("NonceValue"), }
FakeLocalSigner is a signer which already has identity an nonce set to fake values
Functions ¶
This section is empty.
Types ¶
type LocalSigner ¶
LocalSigner is a mock implementation of crypto.LocalSigner
func (*LocalSigner) NewSignatureHeader ¶
func (ls *LocalSigner) NewSignatureHeader() (*cb.SignatureHeader, error)
NewSignatureHeader returns a new signature header, nil
func (*LocalSigner) Serialize ¶
func (ls *LocalSigner) Serialize() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.