Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitNodeStakingKeyPair ¶
InitNodeStakingKeyPair generates a self-signed TLS key/cert pair to use in staking. The key and files will be placed at [keyPath] and [certPath], respectively. If there is already a file at [keyPath], returns nil.
func LoadTLSCert ¶
func LoadTLSCert(keyPath, certPath string) (*tls.Certificate, error)
func NewTLSCert ¶
func NewTLSCert() (*tls.Certificate, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.