Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Certificate file names that will be generated by Dashboard DashboardCertName = "dashboard.crt" DashboardKeyName = "dashboard.key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Creator ¶
type Creator interface { // GenerateKey generates certificate key GenerateKey() interface{} // GenerateCertificate generates certificate GenerateCertificate(key interface{}) []byte // StoreCertificates saves certificates in a given path StoreCertificates(path string, key interface{}, certBytes []byte) // GetKeyFileName returns certificate key file name GetKeyFileName() string // GetCertFileName returns certificate file name GetCertFileName() string }
Creator is responsible for preparing and generating certificates.
Click to show internal directories.
Click to hide internal directories.