Common functions for tool scripts.
|
VerifyOptions(parser,
opts,
args)
Verifies options and arguments for correctness. |
source code
|
|
string
|
_VerifyCertificate(cert_pem,
error_fn,
_check_fn=utils.CheckNodeCertificate)
Verifies a certificate against the local node daemon certificate. |
source code
|
|
string
|
|
|
|
dict
|
LoadData(raw,
data_check)
Parses and verifies input data. |
source code
|
|
|
GenerateClientCertificate(data,
error_fn,
client_cert=pathutils.NODED_CLIENT_CERT_FILE,
signing_cert=pathutils.NODED_CERT_FILE)
Regenerates the client certificate of the node. |
source code
|
|