Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParsePrivateKey ¶
func ParsePrivateKey(data []byte) (*rsa.PrivateKey, error)
ParsePrivateKey is a helper function that parses an RSA Private Key encoded in PEM format.
func ParsePrivateKeyFile ¶
func ParsePrivateKeyFile(path string) (*rsa.PrivateKey, error)
ParsePrivateKeyFile is a helper function that parses an RSA Private Key file encoded in PEM format.
Types ¶
Click to show internal directories.
Click to hide internal directories.