Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyGenerator ¶
func (*KeyGenerator) GenerateRSAKeyPair ¶
func (k *KeyGenerator) GenerateRSAKeyPair(bits int) (pemEncodedPrivateKey string, authorizedKey string, err error)
func (*KeyGenerator) GenerateRSAPrivateKey ¶
func (k *KeyGenerator) GenerateRSAPrivateKey(bits int) (string, error)
Click to show internal directories.
Click to hide internal directories.