Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertToPubKey ¶
CertToPubKey convert a X509 PEM encoded certicate to RSA PublicKey
func EnctoFile ¶
EnctoFile encrypts data using RSA + AES to the publickey of the server and writes the encrypted data to disk
func GetHostname ¶
GetHostname returns the encrypted Hostname if Hostname is not set a new Hostname is generated
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.