Documentation
¶
Overview ¶
Package parlca2 provides TLS credentials generation for parlca package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Credentials ¶
func Credentials() (x509Certificate *x509.Certificate, privateKey crypto.Signer, err error)
Credentials returns minimum credentials for TLS
- x509Certificate: IP-literal based certificate for “127.0.0.1” and “::1’
- — x509Certificate.Raw is binary certificate DER ASN.1
- — signed by the private key
- the private key is crypto.Signer: Public Sign methods
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.