示例#1
0
func init() {
	register_flags.IntVar(&rsabits, "rsa-bits", 2048, "Number of bits to generate the RSA key with (if selected)")
	register_flags.Var(&curve, "curve", "Elliptic curve to generate ECDSA key with (if selected), one of P-256, P-384, P-521")
	register_flags.Var(&keyType, "key-type", "Key type to generate, RSA or ECDSA")
	command_base.AddStorageFlags(register_flags)
	utils.AddLogFlags(register_flags)
}
示例#2
0
func init() {
	register_flags.IntVar(&rsabits, "rsa-bits", 2048, "Number of bits to generate the RSA key with (if selected)")
	register_flags.Var(&curve, "curve", "Elliptic curve to generate ECDSA key with (if selected), one of P-256, P-384, P-521")
	register_flags.Var(&keyType, "key-type", "Key type to generate, RSA or ECDSA")
	register_flags.StringVar(&directoryURL, "url", demoDirectoryURL, "ACME Directory URL")
	register_flags.BoolVar(&no_refresh, "no-refresh", false, "Disable automatically fetching an updated registration")
	register_flags.BoolVar(&show_tos, "show-tos", false, "Show Terms of service if available, even when already agreed to something")
	register_flags.BoolVar(&agree_tos, "agree-tos", false, "Automatically agree to terms of service")
	register_flags.BoolVar(&modify, "modify", false, "Modify contact information")
	command_base.AddStorageFlags(register_flags)
	utils.AddLogFlags(register_flags)
}
func init() {
	command_base.AddStorageFlags(register_flags)
	utils.AddLogFlags(register_flags)
}