Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "signatures", Short: "Signature verification and creation", TraverseChildren: true, }
View Source
var GenerateCommand = &command.Command{ Cmd: &cobra.Command{ Use: "generate <message>", Short: "Generate the message signature", Example: "flow signatures generate 'The quick brown fox jumps over the lazy dog' --signer alice", Args: cobra.ExactArgs(1), }, Flags: &generateFlags, RunS: sign, }
View Source
var VerifyCommand = &command.Command{ Cmd: &cobra.Command{ Use: "verify <message> <signature> <public key>", Short: "Verify the signature", Example: "flow signatures verify 'The quick brown fox jumps over the lazy dog' 99fa...25b af3...52d", Args: cobra.ExactArgs(3), }, Flags: &verifyFlags, RunS: verify, }
Functions ¶
This section is empty.
Types ¶
type SignatureResult ¶
type SignatureResult struct {
// contains filtered or unexported fields
}
func (*SignatureResult) JSON ¶
func (s *SignatureResult) JSON() interface{}
func (*SignatureResult) Oneliner ¶
func (s *SignatureResult) Oneliner() string
func (*SignatureResult) String ¶
func (s *SignatureResult) String() string
type VerificationResult ¶
type VerificationResult struct {
// contains filtered or unexported fields
}
func (*VerificationResult) JSON ¶
func (s *VerificationResult) JSON() interface{}
func (*VerificationResult) Oneliner ¶
func (s *VerificationResult) Oneliner() string
func (*VerificationResult) String ¶
func (s *VerificationResult) String() string
Click to show internal directories.
Click to hide internal directories.