Versions in this module Expand all Collapse all v1 v1.3.1 Jul 11, 2018 v1.3.0 Jun 10, 2018 Changes in this version + func GenerateRandomCertificateSerialNumber() (*big.Int, error) + func ReadEncryptedPEMRSAKeyFile(path string, password []byte) (*rsa.PrivateKey, error) + func ReadPEMCertificateFile(path string) (*x509.Certificate, error) + func ReadPEMCertificatesFile(path string) ([]*x509.Certificate, error) + func ReadPEMRSAKeyFile(path string) (*rsa.PrivateKey, error) + func SimpleSelfSignedRSAKeypair(cn string, days int) (key *rsa.PrivateKey, cert *x509.Certificate, err error) + func TopicFromCert(cert *x509.Certificate) (string, error) + func VerifyFromAppleDeviceCA(c *x509.Certificate) error + func WriteEncryptedPEMRSAKeyFile(key *rsa.PrivateKey, password []byte, path string) error + func WritePEMCertificateFile(cert *x509.Certificate, path string) error + func WritePEMRSAKeyFile(key *rsa.PrivateKey, path string) error