Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RSAPrivateFromPen ¶
func RSAPrivateFromPen(data []byte) (*rsa.PrivateKey, error)
RSAPrivateFromPen decodes a private key from a PEM file
func RSAPrivateToPem ¶
func RSAPrivateToPem(privateKey *rsa.PrivateKey) []byte
RSAPrivateToPem converts rsa private key into a PEM block
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.