Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( UnableToDecodePublicKey error = errors.New("failed to parse PEM block containing the public key") DecodedKeyForamIssue error = errors.New("decoded key is not *rsa.PublicKey") )
View Source
var ( PrivateKeyPath string = "" PubKeyPath string = "" )
Functions ¶
func GetPrivateKey ¶
func GetPrivateKey(path string) (*rsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.