Documentation
¶
Overview ¶
Package keygen contains the keygen functions
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeRSAPrivateKeyToPEM ¶
func EncodeRSAPrivateKeyToPEM(privateKey *rsa.PrivateKey) []byte
EncodeRSAPrivateKeyToPEM encodes Private Key from RSA to PEM format
func GenerateRSAPrivateKey ¶
func GenerateRSAPrivateKey(bitSize int) (*rsa.PrivateKey, error)
GenerateRSAPrivateKey creates a RSA Private Key of specified byte size
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.