Documentation
¶
Index ¶
- func EncodePrivateKey(private *rsa.PrivateKey) []byte
- func EncodePublicKey(public *rsa.PublicKey) ([]byte, error)
- func EncodeSSHKey(public *rsa.PublicKey) ([]byte, error)
- func GenerateKey(bits int) (*rsa.PrivateKey, *rsa.PublicKey, error)
- func MakeSSHKeyPair() (prvKeyContent string, pubKeyContent string, err error)
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodePrivateKey ¶
func EncodePrivateKey(private *rsa.PrivateKey) []byte
func GenerateKey ¶
func MakeSSHKeyPair ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.