Documentation ¶
Index ¶
Constants ¶
View Source
const ( KEYBLOCK = "RSA PRIVATE KEY" CERTBLOCK = "CERTIFICATE" )
Variables ¶
View Source
var (
NoSuchBlock = errors.New("No such PEM block")
)
Functions ¶
func GenerateCertificate ¶
func ReadCertificates ¶
func ReadCertificates(certfile, keyfile string) (cert *x509.Certificate, key *rsa.PrivateKey)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.