Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
func GeneratePrivateKey() ([]byte, *rsa.PrivateKey, error)
GeneratePrivateKey will a pem encoded private key and an rsa private key object
func GeneratePublicKey ¶
func GeneratePublicKey(privateKey *rsa.PrivateKey) ([]byte, error)
GeneratePublicKey will create a pem encoded cert
func TestCertValidity ¶
TestCertValidity will check if the cert defined in the conf is not past its not after date
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.