Documentation ¶
Index ¶
- func GenerateCA(subjectOrg string, subjectCN string, bits int) (*x509.Certificate, *rsa.PrivateKey, error)
- func GenerateCert(serverName string, altnames []string, caCert *x509.Certificate, ...) (*x509.Certificate, *rsa.PrivateKey, error)
- func GenerateFPCA(subjectOrg string, subjectCN string, caCert *x509.Certificate, ...) (*x509.Certificate, *rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCA ¶
func GenerateCA(subjectOrg string, subjectCN string, bits int) (*x509.Certificate, *rsa.PrivateKey, error)
Generate 4k Root CA key.
func GenerateCert ¶
func GenerateCert(serverName string, altnames []string, caCert *x509.Certificate, caKey *rsa.PrivateKey, bits int) (*x509.Certificate, *rsa.PrivateKey, error)
create plain old https server certificates doesn't have to be too strong.
func GenerateFPCA ¶
func GenerateFPCA(subjectOrg string, subjectCN string, caCert *x509.Certificate, caKey *rsa.PrivateKey, bits int) (*x509.Certificate, *rsa.PrivateKey, error)
generate 3k FPCA key.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.