Versions in this module Expand all Collapse all v0 v0.0.1 Apr 24, 2022 v0.0.0 Apr 22, 2022 Changes in this version + const DefaultRSAKeySize + func DecodeCertPEM(encoded []byte) (*x509.Certificate, error) + func DecodePrivateKeyPEM(encoded []byte) (crypto.Signer, error) + func EncodeCertPEM(cert *x509.Certificate) []byte + func EncodePrivateKeyPEM(key *rsa.PrivateKey) []byte + func EncodePublicKeyPEM(key *rsa.PublicKey) ([]byte, error) + func NewCA(config *certutil.Config) (*x509.Certificate, *rsa.PrivateKey, error) + func NewCertAndKey(caCert *x509.Certificate, caKey crypto.Signer, config *certutil.Config) (*x509.Certificate, *rsa.PrivateKey, error) + func NewPrivateKey() (*rsa.PrivateKey, error) + func NewPubAndKey() (*rsa.PublicKey, *rsa.PrivateKey, error)