Documentation
¶
Index ¶
Constants ¶
View Source
const (
PEMArmorPKCS1RSAPrivateKey = "RSA PRIVATE KEY"
)
Variables ¶
View Source
var (
ErrGeneratePrivateKey = errors.New("generate private key error")
)
Functions ¶
func GeneratePrivateKey ¶
func GeneratePrivateKey(bitSize int) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.