Documentation
¶
Index ¶
- func GenerateEndEntityCertificate(subCert *x509.Certificate, subKey *rsa.PrivateKey, commonName string, ...) (*x509.Certificate, *rsa.PrivateKey, error)
- func GenerateRootCA() (*x509.Certificate, *rsa.PrivateKey, error)
- func GenerateSubCA(rootCert *x509.Certificate, rootKey *rsa.PrivateKey, path string) (*x509.Certificate, *rsa.PrivateKey, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateEndEntityCertificate ¶
func GenerateEndEntityCertificate(subCert *x509.Certificate, subKey *rsa.PrivateKey, commonName string, expiresAt *time.Time) (*x509.Certificate, *rsa.PrivateKey, error)
func GenerateRootCA ¶
func GenerateRootCA() (*x509.Certificate, *rsa.PrivateKey, error)
func GenerateSubCA ¶
func GenerateSubCA(rootCert *x509.Certificate, rootKey *rsa.PrivateKey, path string) (*x509.Certificate, *rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.