Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { CommonName string `yaml:"commonName" flags:"common-name,set cert subject CommonName,cn"` Organization string `yaml:"organization" flags:"organization,set cert subject Organization,org"` OrganizationalUnit string `yaml:"organizationalUnit" flags:"organizational-unit,set cert subject OrganizationalUnit,ou"` Country string `yaml:"country" flags:"country,set cert subject Country,c"` Locality string `yaml:"locality" flags:"locality,set cert subject Locality"` Province string `yaml:"province" flags:"province,set cert subject Province"` StreetAddress string `yaml:"streetAddress" flags:"street-address,set cert subject StreetAddress"` PostalCode string `yaml:"postalCode" flags:"postal-code,set cert subject PostalCode"` }
func DefaultConfig ¶
func FromPkixName ¶
func FromProtoStruct ¶
func FromProtoStruct(s *pb.DistinguishedName) *Config
func (*Config) CompatibleWith ¶ added in v0.1.0
func (*Config) ToPkixName ¶
func (*Config) ToProtoStruct ¶
func (c *Config) ToProtoStruct() *pb.DistinguishedName
Click to show internal directories.
Click to hide internal directories.