Documentation ¶
Index ¶
Constants ¶
View Source
const ( // PrefixDriectory Directory Prefix where certs are generated PrefixDriectory = "/tmp" // PublicKeyNameSuffix is the name of the public key file to be generated PublicKeyNameSuffix = ".CAcert.pem" // PrivateKeyNameSuffix is the name of the private key file to be generated PrivateKeyNameSuffix = ".CAkey.pem" // CAName is the name of the CA and host for the generated key pair CommonName = "0.0.0.0" // Years for CA cert to be valid Years = 4 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Certificate ¶
Certificate contains information
Click to show internal directories.
Click to hide internal directories.