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.
Click to show internal directories.
Click to hide internal directories.