Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config holds the configuration for creation of a Signer
type Signer ¶
type Signer struct { Creator []byte // contains filtered or unexported fields }
Signer signs messages. TODO: Ideally we'd use an MSP to be agnostic, but since it's impossible to initialize an MSP without a CA cert that signs the signing identity, this will do for now.
func NewSigner ¶
NewSigner creates a new Signer out of the given configuration
func (*Signer) NewSignatureHeader ¶ added in v1.4.3
func (si *Signer) NewSignatureHeader() (*common.SignatureHeader, error)
Click to show internal directories.
Click to hide internal directories.