Documentation
¶
Overview ¶
Package crypto provides methods for generating and processing x509 public and private keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateKeyPair ¶
GenerateKeyPair generates a new public and private x509 key of size 'sz'.
func RSAPrivateKeyFromPEM ¶
func RSAPrivateKeyFromPEM(str_pem string) (*rsa.PrivateKey, error)
RSAPrivateKeyFromPEM returns a new `rsa.PrivateKey` instance derived from 'str_pem'.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.