Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureTLS ¶
func ConfigureTLS() (err error)
ConfigureTLS is the principal entry point into the TLS library, and is responsible for the entire TLS security workflow
func GetTLSRootDir ¶
func GetTLSRootDir() string
GetTLSRootDir - Get the TLS root dir conditionally of users' OS.
func SignCertificate ¶
SignCertificate creates a singular certificate request based only on the CN supplied it then saves the key and certificate to disk at ~/.tok/tls/{project}/{cn}.[crt|key] while also returning both as byte slices
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.