{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package crypto\n\n## Variables\n\n```go\nvar FakeLocalSigner = \u0026LocalSigner{\n\tIdentity: []byte(\"IdentityBytes\"),\n\tNonce:    []byte(\"NonceValue\"),\n}\n```\nFakeLocalSigner is a signer which already has identity an nonce set to fake values\n\n## Types\n\n```go\ntype LocalSigner struct {\n\tIdentity []byte\n\tNonce    []byte\n}\n```\nLocalSigner is a mock implementation of crypto.LocalSigner\n\n```go\nfunc (ls *LocalSigner) NewSignatureHeader() (*cb.SignatureHeader, error)\n```\nNewSignatureHeader returns a new signature header, nil\n\n```go\nfunc (ls *LocalSigner) Sign(msg []byte) ([]byte, error)\n```\nSign returns the msg, nil\n\n","path":"github.com/eric-erki/https-hyperledger.org/common/mocks/crypto","name":"crypto","synopsis":"","isRedistributable":true}
