cmd

package
v0.0.0-...-3b0b990 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 10, 2019 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FlagAddr                   = "addr"
	FlagChainId                = "chain-id"
	FlagKeyLabel               = "key-label"
	FlagTokenLabel             = "token-label"
	FlagPassword               = "password"
	FlagHsmSolib               = "hsm-solib"
	FlagDialerConnRetries      = "dialer-conn-retries"
	FlagDialerReadWriteTimeout = "dialer-rw-timeout"
	FlagLogLevel               = "log-level"
	FlagMaxSessions            = "max-sessions"
)
View Source
const (
	DefaultKeyLabel               = "default"
	DefaultTokenLabel             = "default"
	DefaultPassword               = "password"
	DefaultLogLevel               = "info"
	DefaultMaxSessions            = 512
	DefaultDialerConnRetries      = 1000
	DefaultDialerReadWriteTimeout = 3000
)

Variables

This section is empty.

Functions

func CreateEcdsaPV

func CreateEcdsaPV(context *crypto11.Context, label []byte) (types.PrivValidator, error)

func Execute

func Execute()

func MarshalPKCS8PrivateKey

func MarshalPKCS8PrivateKey(key interface{}) ([]byte, error)

func PublicKeyToPubKeySecp256k1

func PublicKeyToPubKeySecp256k1(pubKey0 *ecdsa.PublicKey) secp256k1.PubKeySecp256k1

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL