コード例 #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
ファイル: register.go プロジェクト: NeuralSpaz/go-acme-client
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)
}
コード例 #3
0
func init() {
	command_base.AddStorageFlags(register_flags)
	utils.AddLogFlags(register_flags)
}