Documentation ¶
Index ¶
- func GenerateCA(rsaBits int, domain string) (*x509.Certificate, *rsa.PrivateKey, []byte, error)
- func GenerateSelfSignedCert(caCert *x509.Certificate, caPriv interface{}, rsaBits int, domain string) (*x509.Certificate, *rsa.PrivateKey, []byte, error)
- func MarshalCert(cert []byte) ([]byte, error)
- func MarshalKey(priv interface{}) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateCA ¶
func GenerateCA(rsaBits int, domain string) (*x509.Certificate, *rsa.PrivateKey, []byte, error)
func GenerateSelfSignedCert ¶
func GenerateSelfSignedCert(caCert *x509.Certificate, caPriv interface{}, rsaBits int, domain string) (*x509.Certificate, *rsa.PrivateKey, []byte, error)
func MarshalCert ¶
func MarshalKey ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.