Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BindCommonArgs ¶
func BindECDSAArgs ¶
func BindRSAArgs ¶
func TryPersistCommonArgs ¶
func TryPersistCommonArgs()
Types ¶
type Common ¶
type Common struct {
Key string `mapstructure:"key"`
Country string `mapstructure:"country"`
State string `mapstructure:"state"`
Locality string `mapstructure:"locality"`
Organization string `mapstructure:"org"`
OrganizationalUnit string `mapstructure:"ou"`
CommonName string `mapstructure:"common-name"`
Out string `mapstructure:"out"`
SignatureAlgorithmRaw string `mapstructure:"signature-algorithm"`
SignatureAlgorithm x509.SignatureAlgorithm `mapstructure:"-"`
SubjectAlternateNames []string `mapstructure:"san"`
}
Common houses args shared amongst all sub-commands
func CommonArgs ¶
func CommonArgs() *Common
func (*Common) BuildSubject ¶
func (*Common) DecodeECDSASigAlg ¶
func (*Common) DecodeRSASigAlg ¶
Click to show internal directories.
Click to hide internal directories.