Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultValidityYears is the duration for regular certificates, SSL etc. 2 years. ServerValidityYears = 2 // CaValidityYears is the duration for CA certificates. 30 years. CaValidityYears = 30 // ClockSkewDuration is the allowed clock skews. ClockSkewDuration = time.Minute * 10 // KeyRetryCount is the number of retries for certificate generation. KeyRetryCount = 3 KeyRetryInterval = time.Microsecond * 5 KeyRetryTimeout = time.Second * 10 )
Variables ¶
This section is empty.
Functions ¶
func GetPEMCertificateString ¶
Types ¶
type PemTrasformer ¶
type PemTrasformer interface {
// contains filtered or unexported methods
}
Directories
¶
Path | Synopsis |
---|---|
mock_cert_creator
Package mock_cert_creator is a generated GoMock package.
|
Package mock_cert_creator is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.