Documentation ¶
Index ¶
Constants ¶
View Source
const ( PriPemBegin = "-----BEGIN RSA PRIVATE KEY-----\n" PriPemEnd = "\n-----END RSA PRIVATE KEY-----" PubPemBegin = "-----BEGIN PUBLIC KEY-----\n" PubPemEnd = "\n-----END PUBLIC KEY-----" )
Variables ¶
This section is empty.
Functions ¶
func InitPrivateKey ¶
func InitPrivateKey(key string, isPath bool) (priKey *rsa.PrivateKey, err error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.