Documentation ¶
Index ¶
- func CreateCA() (*x509.Certificate, *ecdsa.PrivateKey, error)
- func CreateCertificate(rootCert *x509.Certificate, caPriv *ecdsa.PrivateKey, certType CertType) (tls.Certificate, error)
- func CreateExpiredCertificate(rootCert *x509.Certificate, caPriv *ecdsa.PrivateKey, certType CertType) (tls.Certificate, error)
- func NextAvailPort() uint16
- type CertType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateCA ¶
func CreateCA() (*x509.Certificate, *ecdsa.PrivateKey, error)
func CreateCertificate ¶
func CreateCertificate(rootCert *x509.Certificate, caPriv *ecdsa.PrivateKey, certType CertType) (tls.Certificate, error)
func CreateExpiredCertificate ¶
func CreateExpiredCertificate(rootCert *x509.Certificate, caPriv *ecdsa.PrivateKey, certType CertType) (tls.Certificate, error)
func NextAvailPort ¶
func NextAvailPort() uint16
Types ¶
Click to show internal directories.
Click to hide internal directories.