Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CertOpt ¶
type CertOpt func(g *Generator)
CertOpt is used to configure different options for the Generator.
func WithKeySize ¶
WithKeySize configures the Generator to generate keys with `keySize` bits.
func WithOrgName ¶
WithOrgName configures the Generator to use the given orgName when generating certificates.
func WithValidityInDays ¶
WithValidityInDays configures the Generator to generate certificates that are valid for `validityInDays` days.
Click to show internal directories.
Click to hide internal directories.