Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportPrivateKeyToPEM ¶
func ExportPrivateKeyToPEM(prv *rsa.PrivateKey) []byte
ExportPrivateKeyToPEM exports a RSA private key to its PEM string format
func ExportPublicKeyToPEM ¶
ExportPublicKeyToPEM exports a RSA public key to its PEM string format
func ImportPrivateKeyFromPEM ¶
func ImportPrivateKeyFromPEM(prvPem []byte) (*rsa.PrivateKey, error)
ImportPrivateKeyFromPEM imports a RSA prviate key from its PEM string format
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.