Versions in this module Expand all Collapse all v0 v0.1.0 Dec 29, 2018 Changes in this version + var ErrInsecureKeyBitSize = errors.New("too few bits when generating key") + func AddToCRL(crlPath, certPath, justification string) error + func CheckCRL(cert *x509.Certificate) error + func GenerateRSA(bitSize int) (*rsa.PrivateKey, error) + func InitCRL(path string) error + func IssueClientCert(CACertPath, CAKeyPath, clientCertPath, clientKeyPath string) error + func LoadPrivateCertFromFilePEM(certPath, keyPath string) (*x509.Certificate, *rsa.PrivateKey, error) + func LoadPrivateCertPEM(bytesCert []byte, keyBytes []byte) (*x509.Certificate, *rsa.PrivateKey, error) + func MakeServerCert(serverCertPath, serverKeyPath, CACertPath, CAKeyPath string) error