Versions in this module Expand all Collapse all v0 v0.1.0 Jul 7, 2016 Changes in this version + const Md5 + const PemCertRequest + const PemDhParams + const PemDsaParams + const PemDsaPrivate + const PemEcParams + const PemEcPrivate + const PemPkcs7 + const PemPkcs8 + const PemPkcs8Info + const PemRsaPrivate + const PemSslParams + const PemX509 + const PemX509Pair + const PemX509Trusted + const Sha256 + const Sha256WithRsa + func MustGenerateRsaKey(size int) *rsa.PrivateKey + func SignSha256(key PrivateKey, msg []byte) (signature []byte, err error) + type Certificate *x509.Certificate + func LoadCertificate(path string) (Certificate, error) + func MustLoadCertificate(path string) Certificate + type KeyTypeError struct + Key PrivateKey + func (err *KeyTypeError) Error() string + type PemType string + type PemTypeError struct + Expected PemType + Received PemType + func (err *PemTypeError) Error() string + type PrivateKey builtin.PrivateKey + func LoadPrivateKey(path string) (PrivateKey, error) + func MustLoadPrivateKey(path string) PrivateKey